if ($1 == timer) { if ($2 == add) { timer $+ $3 0 $5 msg $4 $6- notice $nick Timer $+ $3 added. } if ($2 == del) { timer $+ $3 off notice $nick Timer $+ $3 removed. } if ($2 == list) { if ($timer(0) > 0) { var %x = 1 while (%x <= $timer(0)) { notice $nick Timer %x $+ : Name: $timer(%x) $+ . Delay in seconds: $timer(%x).DELAY $+ . Command: $timer(%x).COM inc %x } } else { notice $nick No current timers are active. } } }