mIRC Home    About    Download    Register    News    Help

Print Thread
C
crazy0ne
crazy0ne
C
script:


menu channel {
God Settings
.Full Enable:/enable #god
.Full Disable:/disable #god
}
#god off
on *:text:*name*:#:{
kb $chan $nick Don't Say God Names!
}
#god end

ok well, i need help make it do it only kb's non ops that say the god name.. please help, thanks.

Joined: Feb 2004
Posts: 2,013
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Feb 2004
Posts: 2,013
on @*:text:*names*:#channels:{
if ($nick !isop #) ban -k # $nick 2 Don't Say God Names!
}

Btw, like you can see I've changed # to #channels (you should put your own channel in there), because this woudl trigger on any channel you are in. If you want it to trigger on multiple channels you can put them there, sperated by commas like: #chan1,#chan2,#chan3 etc.

Also added @ so that it only triggers if you have operator status in the channel.

I seriously advise you to make the matching criteria (*names*) stricter, as that would be plain cruel to ban someone for saying the word "names" but I suppose you will put your own "swear" words there later.

B
Bundy
Bundy
B
Now why can't they say God? What if I'm a Sex God? Well, let me not state the obvious ne :P


Link Copied to Clipboard