Autokick on certain word - 23/05/05 04:15 PM
I have a script that autokicks whenever someone says a specified word. It's pretty simple, and I got it most of it from the net somewhere.
It's ideal, but I'd like to add a few exempts determined by nicknames (ignore some people, even if they spam the word a billion times!).
The script kicks ops too, which is the idea
Could someone lend a hand and amend the above so I can include an ignore $nick or something please? I've tried the obvious ones (!= name after $nick etc), but my scripting ability is pretty limited...
Cheers
It's ideal, but I'd like to add a few exempts determined by nicknames (ignore some people, even if they spam the word a billion times!).
The script kicks ops too, which is the idea
Code:
On *@:text:*:#: { ;Start Insert if ($nick) { if (word isin $strip($1-)) { kick # $nick Stop talking about that bloody word! } } ;End Insert }
Could someone lend a hand and amend the above so I can include an ignore $nick or something please? I've tried the obvious ones (!= name after $nick etc), but my scripting ability is pretty limited...
Cheers