mIRC Home    About    Download    Register    News    Help

Print Thread
#20321 21/04/03 02:59 PM
Joined: Jan 2003
Posts: 21
J
Jay_T Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Jan 2003
Posts: 21
hi i have one question, if i set a IP ban on someone then they will echo to me the nick with that IP is being banned?
for example
[10:52] * Join: test (~shirin@203.125.55.64)
***Clones from *!*@203.125.55.64 :+ test, test2, test3 +
[10:52]* Me sets mode to: +b *!*@203.125.55.64
*** [Banned]: test, test2, test3

anyone has code for that? thanks in advance

#20322 21/04/03 04:09 PM
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
Code:
 
on @*:ban:#: {
  if ( $nick == $me ) {
    var %outvar, %i = 1, %j = $ialchan($banmask,$chan,0)
    while ( %i <= %j ) {
      %outvar = %outvar $gettok($ialchan($banmask,$chan,%i),1,33)
      inc %i
    }
    echo $color(info2) -tr $chan *** Banned: %outvar
  }
}
 


I created this though it wouldn't have been too hard to implement from the Clone code


Code:
//if ( khaled isgod ) echo yes | else echo no

Link Copied to Clipboard