zad0909 commented on a Page, vote script  -  Oct 01, 2007

on :text:!startvote:#: {
if ($nick == %vote.nick [ $+ [ $chan ] ]) && (%vote.setting [ $+ [ $chan ] ] == ON) {
msg $chan $c1 a vote has been set up for $c2 $chan $+ ! $c1 the vote is: $c2 %vote.question [ $+ [ $chan ] ]
the options for the vote are;
set %vote.1 [ $+ [ $chan ] ] 0
set %vote.2 [ $+ [ $chan ] ] 0
set %vote.3 [ $+ [ $chan ] ] 0
timer 1 1 msg $chan $c1 option one is: $c2 %vote.option1 [ $+ [ $chan ] ]
timer 1 3 msg $chan $c1 option two is: $c2 %vote.option2 [ $+ [ $chan ] ]
timer 1 2 msg $chan $c1 option three is: $c2 %vote.option3 [ $+ [ $chan ] ]
}
}

For here I suggest putting an if vote.question == $null it should notice the person that they must type !addvote first.

I was trying to do this myself but failed. I kept getting if insufficent peramiters. If you or someone else could do it that would be great.

Other then that great script I love it.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.