NickServ Seen Script

By Siddhant on Dec 12, 2007

A simple NickServ seen script. Works only on registered nicks.

Syntax: .Seen

/*
NickServ Seen Script
Written by: Siddhant Sutar
Email: siddhantsutar@yahoo.com
IRC: irc.DuelZone.org/irc.netstable.net
*/

on *:TEXT:.Seen*:#:{
  unset %Line.*
  .enable #seen
  ns info $2
}

#seen on

on *:NOTICE:*:?: {
  if ($nick == NickServ) {
    inc %Line.Number
    set $+(%,Line,.,%Line.Number) $1-
    if (*isn't registered* iswm %Line.1) { halt }
    if (*currently online* iswm %Line.2) { 
      msg %chan $gettok(%Line.2,1,32) is currently online.  
      .disable #seen
    }
    if (%Line.Number == 5) {
      msg %chan %Line.1 $+ . $gettok(%Line.1,1,32) was last seen quiting IRC $duration($calc($ctime - $ctime($lst(4-5) $lst(7) $lst(6)))) ago, $&
        stating $qt($gettok($eval(%Line.4,2),4-,32)) $+ .
    }
  }
}

#seen end

alias -l lst { return $gettok(%Line.2,$1,32) }

Comments

Sign in to comment.
Maath   -  Dec 20, 2007

The script is good, i didn\'t see any bugs 5/10

 Respond  
Siddhant   -  Dec 12, 2007

Lol. >.>

 Respond  
F*U*R*B*Y*   -  Dec 12, 2007

-NickServ- The information for Example is private

^_^

 Respond  
Siddhant   -  Dec 12, 2007

Comments please. :D

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.