on *:text:!settime *:#castlewars:{ if ($nick isop $chan) || ($nick ishop $chan { if ($2 != $null) { set %timer $calc($2 * 60) while (%timer > 0) { /timerone 1 60 /msg #CastleWars Game starts in %timer minutes! set %timer %timer - 1 } else { /notice $nick No time specified } } }