mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2003
Posts: 2
N
nayrb Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
N
Joined: Jan 2003
Posts: 2
I was wondering if it was possible to kick a certain person under a certain nick if they said a word.

For instance, if someone under the nick "blueboy" said the word "sieve" they would be kicked from the channy.

Thanks for any help to a newbie!

Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
Quote:

I was wondering if it was possible to kick a certain person under a certain nick if they said a word.

Yes.

Quote:

For instance, if someone under the nick "blueboy" said the word "sieve" they would be kicked from the channy.

Code:
on @*:TEXT:*sieve*:#: if ($nick == blueboy) kick $chan $nick You said the magic word!
 
or
 
on @*:TEXT:*:#:{
  if (($nick == blueboy) && ($istok($strip($1-),sieve,32))) {
    kick $chan $nick You said the magic word!
  }
}


Quote:

Thanks for any help to a newbie!

You're quite welcome!


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C

Link Copied to Clipboard