For real, kinda harsh there.
Jamz, you're looking for something like onCallVote, but I don't know for sure if its possible to do what you're looking for with it. I'll look into it more and report back.
Randum you're a bit off, that onNewMap alias is executed everytime the /newmap command is, not really what jamz is looking for here.
Edit:
Maybe try something like:
[cubescript]checkinit onCallVote [
btp = $arg1
bcn = $arg2
bmp = $arg3
if (&& (= $btp 7) (strcmp $bmp ac_douze)) [
say "lol no ty noobs"
sleep 1000 disconnect
]
][/cubescript]
Edit #2: Thats not at all on vote pass. I'm stupid. Maybe just change it to "onVoteEnd" ;)
Jamz, you're looking for something like onCallVote, but I don't know for sure if its possible to do what you're looking for with it. I'll look into it more and report back.
Randum you're a bit off, that onNewMap alias is executed everytime the /newmap command is, not really what jamz is looking for here.
Edit:
Maybe try something like:
[cubescript]checkinit onCallVote [
btp = $arg1
bcn = $arg2
bmp = $arg3
if (&& (= $btp 7) (strcmp $bmp ac_douze)) [
say "lol no ty noobs"
sleep 1000 disconnect
]
][/cubescript]
Edit #2: Thats not at all on vote pass. I'm stupid. Maybe just change it to "onVoteEnd" ;)