All pastes #767467 Raw Edit

Something

public text v1 · immutable
·published 2007-11-09 19:51 UTC
rendered paste body
on $*:TEXT:/^[!@]laugh/Si:#:{ if ($2 < 101) { set %laugh $iif($2,$2,5) } | if ($2 >= 101) { notice $nick Too much of a laugh! | halt } | $iif($left($1,1) == @, msg $chan, notice $nick) I will own you! MWA $+ $upper($str(ha,%laugh)) $+ $str(!,%laugh) }

#Ignore that :P The below is what you want

on *:TEXT:!poll*:#:{ if ($nick !isin %pollnicks) { set %pollnicks %pollnicks $nick | if ($2 == matt) { $iif(%matt,inc %matt,set %matt 1) } | if ($2 == light) { $iif(%light,inc %light,set %light 1) } | notice $nick Thank you for your vote. } else { notice $nick You have already voted. } } 
on *:TEXT:!endpoll*:#:{ if ($nick == iConstruct) { msg $chan 02Votes have been counted: 04Matt 02 $+ %matt - 02 $+ %light 04Light. | unset %matt %light %pollnicks } }