Im trying to make a script that auto rebans a certain hostmask that gets unbanned.
For example:
I have a hostmask banned called "@****.hsd1.fl.comcast.net"
And someone else in my channel unbans it "Person sets mode: -b *!*@****.hsd1.fl.comcast.net"
I want a script that will automatically reban that same isp.
on *:UNBAN:#: {
if ($banmask == @****.hsd1.fl.comcast.net)
mode $chan +b $banmask
}
I know something is wrong in the if statement but I can't figure out how to set it up properly.
Also is there a way to ban someone who is on my channel when I join? Say the persons in my channel and I'm not online. Then when I come online it will scan the users find the nickname and ban them?
Thanks alot and in advanced!