this should do the trick hopefully:
_______________________________________________________________
;this sets the vote, remeber to change
;#channel to your channel !vote nick
on *:TEXT:!vote*:#channel: {
set %vote $2
if (!%vote) { Halt }
else {
set %agree = 0
set %disagree = 0
//msg #channel Should %vote Be Banned?
//msg #channel Vote With !agree And !disagree
}
}
on *:TEXT:!agree:#channel:{
inc %agree 1
.notice $nick Thanks For Voting
}
}
on *:TEXT:!disagree:#channel:{
inc %disagree 1
.notice $nick Thanks For Voting
}
}
;This Stops The Vote And Gives The Result
;If Theres more !agrees Then The Nick Will
;Be Kicked From The Channel
on *:TEXT:!Stop:#channel:{
.msg #channel Vote Over
.msg #channel Should %vote Be Banned ?
.msg #channel Results:
.msg #channel YES: %agree ( $+ $calc(%agree / $calc(%agree + %disagree) * 100) $+ % $+ ) NO: %disagree ( $+ $calc(%diagree / $calc(%agree + %disagree) * 100) $+ % $+ )
if { (%disagree > %agree) { .msg #channel Answer: NO! }
elseif (%disagree < %agree) { msg #channel Answer: YES! | .kick #channel %vote Looks Like You Lost :P }
unset %vote
unset %agree
unset %disagree
}
}
______________________________________________________________
there might be a couple of bracket mistakes
sorry if there is