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.
I cant get it to work maybe I am doing it wrong.
I amde a file and inputed it into your code with the \"file name here.\"
And copied all the joins and welcomeing stuff etc into the file. I placed all the stuff above it into remote. when i tried it I got:
What Am i doing wrong?