Sephiroth
http://sephiroth.scifi-action.de/board/

$bestmask
http://sephiroth.scifi-action.de/board/viewtopic.php?f=4&t=52
Seite 1 von 1

Autor:  Sephiroth [ 18. März 2008 01:26 ]
Betreff des Beitrags:  $bestmask

;; Trys to find the best "banmask" or for whatever you need it
;; Usage: $bestmask(<nick>)

bestmask {
  var %x = $ial($$1),%y = $gettok(%x,2,64)
  if ($gettok(%y,1,46) !isalnum) {
    if ($ial($address($1,4),0) < 20) {
      %x = $address($1,3)
    }
    else { %x = $address($1,0) }
  }
  else { %x = $address($1,0) }
  return $replace(%x,~,?)
}

Seite 1 von 1 Alle Zeiten sind UTC + 1 Stunde
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/