Someone
public text v1 · immutableon *:text:*vote*:#: {
if ($1 == %c $+ vote) && ($nick isop $chan || $level($address($nick,2)) >= 100) {
if ($2 == $null) { .msg $nick $cl Command incomplete. Syntax: %c $+ vote <question>. | 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
}
}