/Stats G output questions

These are old archives. They are kept for historic purposes only.
Post Reply
DRam3500
Posts: 2
Joined: Sat Aug 20, 2005 11:57 am

/Stats G output questions

Post by DRam3500 »

Hello. I have a question regarding the /stats G outputs. When you perform a /stats G, you get something that looks like this:

Z *@xx.xxx.xxx.xxx 1600225 991775 SomeBot![email protected] User has been banned from YourIRCNetwork.net: Open proxy detected on your host; mass cloning. -- Ban ID: 986101070A-GZ. Please email [email protected] with the stated Ban ID for more information.
[End /STATS (G) report]

Well, my question is: What do the two numbers (1600225 and 991775 in the above example) represent, and how do you decode or simplify it so that it is readable (by using mIRC or an mIRC script).

Thanks
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

The first number says how long until it expires (in seconds) or 0 if it never expires.
The second number is how long the ban has been active (how long ago it was set) - again in seconds.
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
DRam3500
Posts: 2
Joined: Sat Aug 20, 2005 11:57 am

Re: /Stats G output questions

Post by DRam3500 »

Alright, thank you very much Dukat ;)... Now all I've gotta do is figure out how to get that into hours:minutes:seconds format.. hmmm... Should be easy.. Thanks again
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

mIRC?

//echo Banned for $duration(timehere)
Why the hell can't my signature be empty?
"Your message contains too few characters."
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

I use (for mIRC):

Code: Select all

raw 223:*:
  if ($2 isincs GZ) { inc %stats }
  if ($2 isin GZ) { 
    echo -s 4G $+ $iif($2 == Z,Z) $+ line: $3 by $iif($me isin $6,4) $+ $6 $+ 
    echo -s Set $duration($5) ago, $iif($4 == 0,never expires,expires in $duration($4)) 
    echo -s Reason: $7-
    linesep
    halt 
  }
  linesep
}
Typing "/help $duration" will get more options for $duration.
Post Reply