ULTIMATE Vote System

By SyntaxIRC on Nov 08, 2006

Miscellaneous Vote is a simple vote script that can be used in debates, miscellaneous chat and more, for example:

i think boys r better at soccer no girls r!!!!!!!!! >:< whoa, hey, lets have a vote then! .setvote Are boys better at soccer? 90 VOTE #92: Are boys better at soccer? (90 second vote) Yes ( .voteyes ) No ( .voteno ) .voteyes user has voted YES (1) .voteno .voteyes user2 has voted NO (1) user3 has voted YES (2) 90 seconds later.. Results: (Are boys better at soccer?) YES (2) NO (1) Now you got the idea ^_^ Recommended for seperate clients (You & Diff Client w/ script) ```mirc ; Ultimate Vote Script ; Do NOT remove this copyright and/or the server stated. ; godzilla.cyanide-x.net ; mothra.cyanide-x.net on *:TEXT:.setvote*:#: { set %voteyes 0 set %voteno 0 set %voteSnick $nick inc %vote.counter 1 on *:TEXT:.setvote*:#: { if ($$2- == $null) { msg $chan You must specify a time limit, $nick + ! } if ($$2- < 10) { msg $chan The vote time limit must be over or equal to 10, yours was set to $$2- } if ($$3- == $null) { msg $chan You must specify a topic to vote on, $nick $+ ! } if ($$2- && $$3- == $null) { msg $chan You must specify a time limit and topic to vote on, $nick + ! } if (%voteon == $true) { msg $chan A vote is already on! } else { msg $chan Setting up vote # $+ %vote.counter $+ . . . set -n %voteon set -n %votetopic $$3- timer 1 2 msg $chan VOTE # $+ %vote.counter $+ : ( $+ $$3- $+ ) has been activated, type .voteyes or .voteno to vote! ( $+ $$2- second vote) [ godzilla.cyanide-x.net ] timer 1 $$2- msg $chan Vote # $+ %vote.counter ENDED! | msg $chan Results: ( $+ $$3- $+ ) | msg $chan YES: ( $+ %voteyes $+ ) | msg $chan NO: ( $+ %voteno $+ ) | timer 1 5 unset $voteon | set %voteno 0 | set %voteyes 0 } on *:TEXT:.voteyes:#: { inc %voteyes 1 if (%voteon == $true) { msg $chan $nick voted YES on %votetopic $+ . ( $+ %voteyes $+ ) } else { msg $chan A vote has not yet been started! Type .setvote to begin a vote! } } on *:TEXT:.voteno:#: { inc %voteno 1 if (%voteon == $true) { msg $chan $nick voted YES on %votetopic $+ . ( $+ %voteno $+ ) } else { msg $chan A vote has not yet been started! Type .setvote to begin a vote! } } on *:TEXT:.endvote:#: { if ($nick == %voteSnick && %voteon == $true) { msg $chan Vote has been ended by $nick $+ ! msg $chan Results: ( $+ $$3- $+ ) msg $chan YES: ( $+ %voteyes $+ ) msg $chan NO: ( $+ %voteno $+ ) timer 1 5 unset $voteon set %voteno 0 set %voteyes 0 else { msg $chan Only the vote starter can end this vote! } } on *:TEXT:.suspend*:#: { if ($nick === YOURMAINUSERNAME && $$2- ison $chan) { msg $chan $$2- has been suspended! | /ignore $address($$2-,2) if ($nick != YOURMAINUSERNAME) { msg $chan You are not authorized to use this command! } else { halt } } on *:TEXT:.unsuspend*:#: { if ($nick === YOURMAINUSERNAME) { msg $chan $$2- has been unsuspended! | /ignore -r $address($$2-,2) if ($nick != YOURMAINUSERNAME) { msg $chan You are not authorized to use this command! } else { halt } } ```

Comments

Sign in to comment.
Jim1907   -  Mar 30, 2007

I have no idea how 2 really use this script...can u tell me wha commands are 2 be used when using dis scrip???? hankz in advance.

There also has been things popping out of my status windows:

  • Timer 1 activated
  • /timer: invalid parameters (line 20, script20.ini)
  • ON Unknown command

  • Timer 1 halted

I think there really has been a problem with your script.

 Respond  
Jim1907   -  Mar 30, 2007

I have no idea how 2 really use this script...can u tell me wha commands are 2 be used when using dis scrip???? hankz in advance.

 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.