mIRC Home    About    Download    Register    News    Help

Print Thread
#161873 12/10/06 04:46 AM
Joined: Oct 2006
Posts: 342
L
learn3r Offline OP
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Oct 2006
Posts: 342
on ^*:kick:#: {
if ($nick == %nick1) && ($knick != %nick1) { inc %knick1
}
}

on ^*:kick:#: {
if ($nick == %nick2) && ($knick != %nick2) { inc %knick2
}
}



%nick1 == nick
%nick2 == nick

is this right guys?

#161874 12/10/06 04:59 AM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
try this:

Code:
on ^*:kick:#: {
  if (($nick == %nick1) && ($knick != %nick1)) { inc %knick1 }
  if (($nick == %nick2) && ($knick != %nick2)) { inc %knick2 }
}


If you use two of the same types of events, only ONE will work. Also, if you want it to trigger on more than two nicknames, you might want to use a variable, or a user level, or mirc's internal lists somehow or a hash table (some I know nothing about)


Those who fail history are doomed to repeat it

Link Copied to Clipboard