mIRC Home    About    Download    Register    News    Help

Print Thread
#160979 02/10/06 12:14 PM
Joined: Jun 2006
Posts: 6
P
peachey Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
P
Joined: Jun 2006
Posts: 6
i wanna set a remote command up that kicks "userx" if either "usera", "userb", "userc" or "userd" use the !kickuserx.

How would i go about this?

#160980 02/10/06 01:02 PM
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
Code:
on *:TEXT:*:#:{ if ($nick == usera) || ($nick == userb) || ($nick == userc) || ($nick == userd) && ($1 == !kick) { kick $active userX } }


might or might not work :P


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
#160981 02/10/06 02:52 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
Code:
on *:TEXT:!kickuserx:#: {
  if (($nick == usera) || ($nick == userb) || ($nick == userc) || ($nick == userd)) { kick $active userX }
}


Another way to do this would be set a user level to users A, B, C, D and then you can do (for example):

on USERX:TEXT:!kickuserx:#:kick # userX

or

Code:
on *:TEXT:!kickuserx:#: {
  if ($ulevel == USERX) { kick # userX }
}


I believe that's the right identifyer for it


Those who fail history are doomed to repeat it

Link Copied to Clipboard