Anonymous
public text v1 · immutable/away {
set %away $1-
timer.meaway 0 1 /inc %away.secs 1
amsg $+ 4 $+ I am now away. Reason: $+ $+ 12 $+ $1-
set %away.time $asctime
}
/back {
if (%away != no) {
amsg $+ 4 $+ I am now back from: 12 $+ %away $+ I was gone for: $duration(%away.secs,3) $+ $+
timer 1 4 /set %away no
timer 1 4 /unset %away.secs
timer 1 4 /unset %away.time
timer.meaway off
}
else {
echo -a You weren't away, silly!
}
}