All pastes #768241 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-11-10 12:48 UTC
rendered paste body
on *:TEXT:!poll*:#:{ if ($nick !isin %pollnicks) { set %pollnicks %pollnicks $nick | if ($2 = wc) { $iif(%matt,inc %matt,set %matt 1) } | if ($2 == fletch) { $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: 04Wc 02 $+ %matt - 02 $+ %light 04Fletch. | unset %matt %light %pollnicks } }