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

!authnick
http://sephiroth.scifi-action.de/board/viewtopic.php?f=4&t=49
Seite 1 von 1

Autor:  Sephiroth [ 18. März 2008 00:31 ]
Betreff des Beitrags:  !authnick

;; !authnick [nick]
;; look what happens

on *:text:!authnick*:#:{
  if (!%auth [ $+ [ $iif($2,$2,$nick) ] ]) {
    set %auth [ $+ [ $iif($2,$2,$nick) ] ] #
    whois $iif($2,$2,$nick)
  }
}
raw *:*:{
  if (%auth [ $+ [ $2 ] ]) { haltdef }
  if (($numeric == 330) && (%auth [ $+ [ $2 ] ])) { msg %auth [ $+ [ $2 ] ] $2 is authed as $chr(35) $+ $3 | set %auth [ $+ [ $2 ] ] %auth [ $+ [ $2 ] ] $2 }
  if (($numeric == 401) && (%auth [ $+ [ $2 ] ])) { msg %auth [ $+ [ $2 ] ] $2 is not online. | set %auth [ $+ [ $2 ] ] %auth [ $+ [ $2 ] ] $2 }
  if (($numeric == 318) && (%auth [ $+ [ $2 ] ])) { if ($gettok(%auth [ $+ [ $2 ] ],2,32) != $2) { msg %auth [ $+ [ $2 ] ] $2 is not authed. } | unset %auth [ $+ [ $2 ] ] }
}

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