mIRC Home    About    Download    Register    News    Help

Print Thread
#89467 07/07/04 02:42 PM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
alias kb {
if $nick == $Me return
if $nick isop return
.mode # +b $1 | kick # $1 $1-
}

Any sugestion?


mess with the best
#89468 07/07/04 03:17 PM
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
As you have been asked countless times before it would be really useful if you asked specific questions rather than let us do guess work smile

I would say the following is better, don't know if this is what you mean though:

Code:
alias kb {
  if ($1 == $me) || ($1 isop #) halt
  .ban -k # $1 3 $2-
}


Regards,


Mentality/Chris
#89469 07/07/04 07:34 PM
Joined: Dec 2002
Posts: 788
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 788
The 'halts' aren't required you can simply do the following:

alias kb {
if (($1 != $me) && ($1 !isop #) && ($me isop #)) {
ban -k # $1 2 $2-
}
}

/kb [nickname] [reason]

This wont kick if the username is you, or the user is op'd or you are not op'd in the channel.

Eamonn.


Link Copied to Clipboard