on *:TEXT:!poll*:#:{ set %yes [ $+ [ $chan ] ] 0 set %no [ $+ [ $chan ] ] 0 set %poll [ $+ [ $chan ] ] $2- msg $chan 14[[7- Poll - 14]]12 A new poll has been started by4 $nick $+ 12! $2- $+ . Please use !yes and !no to vote. } on *:TEXT:!no:#:{ inc %no notice $nick You have voted no, thankyou for voting in this poll. } on *:TEXT:!yes:#:{ inc %yes notice $nick You have voted yes, thankyou for voting in this poll. } on *:TEXT:!endpoll:#:{ msg $chan 14[[7- Poll - 14]]12 The poll has just ended. Results are: Yes:4 %yes [ $+ [ $chan ] ] 12and No:4 %no [ $+ [ $chan ] ] unset %yes unset %no unset %poll }