mIRC Home    About    Download    Register    News    Help

Print Thread
#20321 21/04/03 02:59 PM
J
Jay_T
Jay_T
J
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
T
theRat
theRat
T
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


Link Copied to Clipboard