mIRC Home    About    Download    Register    News    Help

Print Thread
#96134 30/08/04 12:19 AM
Joined: Nov 2003
Posts: 257
A
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Nov 2003
Posts: 257
1)To auto ban a nickname when they sign on AND are on your notify list.

2) same thing but /auser instead of ban

#96135 30/08/04 12:57 AM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Sure
Code:
on *:notify:{
  if $nick == foe && $me isop [color:navy]#channel[/color] { ban $v2 $nick [color:red]3[/color] }
  elseif $nick == friend { guser -a [color:navy]level[/color] $nick [color:red]3[/color] }
}
The 3's are mask types, see /help $mask

Edit: Dependng on the IRCd you may be able to use $mask($fulladdress,type) Some send the address as well as nick.

Last edited by Iori; 30/08/04 01:12 AM.
#96136 30/08/04 03:36 AM
Joined: Nov 2003
Posts: 257
A
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Nov 2003
Posts: 257
what if they haven't joined the channel and they are on your notify list ?

#96137 30/08/04 03:37 AM
Joined: Nov 2003
Posts: 257
A
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Nov 2003
Posts: 257
oh i get it now, thanks


Link Copied to Clipboard