on *:text:*vote*:#: { if ($1 == %c $+ vote) && { if ($2 == $null) { .msg $nick $cl Command incomplete. Syntax: %c $+ vote . | halt } if %vote [ $+ [ $chan ] ] !== $null { msg $chan A vote is currently held. | halt } set %vote [ $+ [ $chan ] ] $2- msg $chan $chan vote! Question: $2- msg $chan To vote please use 3 $+ %c $+ Yes or 5 $+ %c $+ No. You have 2 minutes to do so. .timer 1 60 _vote $chan } }