on *:text:!settime*:#:{
set %name $2
set %delay $3
set %message $4-
echo NAME is %name DELAY is %delay MESSAGE is %message
}
alias timestart {
Timer $+ %name 2 %delay msg $chan Wake up! The %name timer is up ( %message )
msg $chan timer has just been set for $timer(%name).secs seconds
}
alias timeleft {
msg $chan The %name timer has $timer(%name).secs seconds left on the clock.
}
alias timereset {
timestart
msg $chan The %name timer has been resetted to $timer(%name).secs seconds left.
}
on *:text:!start*:#:{ timestart }
on *:text:!timeleft*:#:{ timeleft }
on *:text:!timereset*:#:{ timereset }