Ban Protection - 05/03/05 10:55 AM
Hey,
I'm pretty new to this whole scripting thing... I've done a ban protection type script but, it works to an extent but there's somethin it's doin that it shouldn't.
If I'm not opped, the script halts as it should and echo's a message saying it won't work. But if I am opped my script works as it should but still echoes the message about it not working, even tho it does?
Any ideas?
Thanks
I'm pretty new to this whole scripting thing... I've done a ban protection type script but, it works to an extent but there's somethin it's doin that it shouldn't.
If I'm not opped, the script halts as it should and echo's a message saying it won't work. But if I am opped my script works as it should but still echoes the message about it not working, even tho it does?
Code:
on *:BAN:#: { if ($me isop $chan ) && ($banmask iswm $address($me,5)) { mode $chan -ob+b $nick $banmask $address($nick,3) | kick $chan $nick I think not. Try again. } else { echo -at Protection shizzle wont work } | halt }
Any ideas?
Thanks