I am trying to make a small game for people in the chat to play. I made a pretty useful script:
on *:TEXT:!paintball *:#: {
if ($2 == mark_paintball) {
var %mark = $rand(1,3)
if (%mark == 1) { msg # $$2 slaughters $$3 in a paintball battle! }
elseif (%mark == 2) { msg # $$3 has been shot between the eyes by $$2 $+ ! }
elseif (%mark == 3) { msg # Paintball match! $$2 wins by a landslide against $$3 $+ ! }
}
else {
var %others = $rand(1,6)
if (%others == 1) { msg # $$2 slaughters $$3 in a paintball battle! }
elseif (%others == 2) { msg # $$3 has been shot between the eyes by $$2 $+ ! }
elseif (%others == 3) { msg # Paintball match! $$2 wins by a landslide against $$3 $+ ! }
elseif (%others == 4) { msg # $$3 slaughters $$2 in a paintball battle! }
elseif (%others == 5) { msg # $$2 has been shot between the eyes by $$3 $+ ! }
elseif (%others == 6) { msg # Paintball match! $$3 wins by a landslide against $$2 $+ ! }
}
}
But when i issue the !paintball command it doesn't work. Any help?
If needed, my full remote is here
http://pastebin.com/iQxvGrQQAlso wanted this guy mark to always win if he was put in the duel, so you can see that