mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2005
Posts: 6
C
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Dec 2005
Posts: 6
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,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
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.


Gone.
Joined: Dec 2005
Posts: 54
B
Babel fish
Offline
Babel fish
B
Joined: Dec 2005
Posts: 54
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