mIRC Home    About    Download    Register    News    Help

Print Thread
#31341 21/06/03 06:02 PM
Joined: Jan 2003
Posts: 96
J
Jesper Offline OP
Babel fish
OP Offline
Babel fish
J
Joined: Jan 2003
Posts: 96
Anyone knows how to script this ?
I dont mean like straight out of the help file, I mean:

if someone bans *!*identd@host.domain, then this script should kick that/those nicks that are in the banned address...
where as mircs help file says its not possible, but Im sure it can be scripted, right ? smile

Code:
Note: These events only work on nicknames because the IRC server only 
sends the nickname of the user being banned/unbanned
and not an address. Also, IP addresses will not be matched against named addresses.

#31342 21/06/03 06:15 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Something like this?
Code:
on @*:BAN:#:{
  var %i = 1
  while ( $ialchan($banmask,#,%i) ) {
    kick # $gettok($ialchan($banmask,#,%i),1,33) Banned by $nick
    inc %i
  }
}

#31343 21/06/03 06:37 PM
Joined: Jan 2003
Posts: 96
J
Jesper Offline OP
Babel fish
OP Offline
Babel fish
J
Joined: Jan 2003
Posts: 96
Many many thanks smile

#31344 21/06/03 07:05 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
That just abouts kills the "mute ban" possibility >:\


-KingTomato

Link Copied to Clipboard