Paragon mIRC Stats Version 4.5

 

There's a few commands for you to use (which are also available through the pop-up menu's).
Now there are also two new identifiers, which you can use on the webpage, as well as in your own scripts.

Syntax: parameters in between [ ] are optional, when they're in between < > they are mandatory.

Commands



/stats [ config | been | have | seen | icons | color | help ]

    Use this command to open the script's dialogs.

Example:
/stats config

    Don't specify any parameter to open the main stats dialog.



/statsweb [ port ]

    Put your webpage online at the specified port (default is 80).
    Make sure the port is open.

Example:
/statsweb 8080


/statswebend

    This puts your webpage offline again.



/secho [ chan | query ] < servers | power | time | uptime | events | texts | been | have | seen | cpu | os | cache | hdd | gfx | con | eth | misc | custom >

    With this command you can message the desired data to a channel/query or yourself depending on the options selected on the echo tab in the main or configuration dialog.
    If you are offline, the command will automatically echo, instead of trying to message nothing. If you don't specify a channel or query, the active window will be message'd.

Example:
/secho custom
/secho #channel time


This would echo the custom line you specified to the active window.



/resetstats < all | events | been | have | seen >

    This is what you'll use when you want to reset all, or some, of your kept stats.

Example:
/resetstats all

    Warning: Once reset your stats can never be recovered again. If you wish to save your stats, make a backup of them.


Identifiers



$sinfo is a new identifier, which can return all of the addon's statistics, the only thing it cannot return is the servers data, but that can be handled through mIRC identifiers itself anyway.

Syntax: $sinfo(p|t|e|b|h|s|y|m,item,[N])

The first parameter tells the identifier which kind of information your want to retrieve, for example p will return webpage information. The reason this needs to be given is because of the various different ways the data is read, the way the data is grouped in the hash table, and to prevent collisions. You can only specify one at a time.

The second parameter is the name of the item you wish to retrieve. they are all given in the table below, in red and what the first parameter should before them.

The third parameter is only used for the cwords item, and is explained below.

A few examples:
//echo -a $sinfo(p,version)
//echo -a $sinfo(e,date)
//echo -a $sinfo(e,cwords,0)
//echo -a $sinfo(y,cpu)
//echo -a $sinfo(m,MMX)


All items are explained in the table below:

>ItemReturns
>pwebpage setting
pversionmIRC Stats' version
pwintitlethe window title
ppagetitlethe page title
pnickthe nickname given on the personal tab, not the current nickname in mIRC
panickthe given alternative nickname
pfullnamethe given full name
plocationthe given location
pagethe given age
pgendermale or female
phobbiesthe given hobbies
poccthe given occupation
pbiothe given bio
pemailthe given email address
pwebsitethe given website
pmsnthe given msn addy
paimthe given aim addy
picqthe given icq addy
pyahoothe given yahoo addy
pnetsthe given IRC networks
pchansthe given IRC channels
pnicksthe given IRC nicknames
pshowserv$true if the showing of server information is turned on, otherwise $false
pshowcountlike showserv, but for the counters
pshowsyslike showserv, but for the system stats
pshowtimelike showserv, but for the time data
pshowprivlike showserv, but for the private channels
pshowseclike showserv, but for the secret channels
>ttime setting
ttime$time ( $+ $time(z) GMT)
tdate$day $mdate ($mdate can return either $date or $udate)
ttotalonlinetotal time you've been online
tmircmIRC uptime ($uptime(mirc,1))
tsystemsystem uptime ($uptime(system,1))
>eevent counter value
edatethe date last time the events were reset
estartedtimes you've started mIRC
eviewedtimes you opened the stats dialog
eechotimes you've use /secho
ectcpstimes you've replied to a stats ctcp
epagehitsthe times your page has been viewed
edccsendtimes you've sent a dcc file
edccsendsizetotal size of sent dcc files (note, not in bytesize)
edccgettimes you've recieved a dcc file
edccgetsizetotal size of recieved dcc files (note, not in bytesize)
elinesnumber lines you've typed
ewordsnumber of words you've typed
echarsnumber of characters you've typed
epuncsnumber of punctuations you've typed
esmiliesnumber of smilies you've typed
ecwordsThis one works a bit different from the others, since it can return multiple values. When you use this, a third parameter will have to be used. This is a number which represents the Nth custom word, 0 returns the total words. For example:
$sinfo(e,cwords,0)
$sinfo(e,cwords,3)


The first one could return 3, meaning you are keeping track of 3 words.
The second example could return something like custom.moo. In this moo is the word, you can use the entire value in $sinfo() on it's own to get it's count, see the next item.
ecustom.*the value for the specified custom word, in the custom.word format, as shown above.
>bbeen event counter value
bopedtimes you were oped
bdeopedtimes you were deoped
bhalfopedtimes you were halfoped
bdehalfopedtimes you were dehalfoped
bvoicedtimes you were voiced
bdevoicedtimes you were devoiced
bkickedtimes you were kicked
bbannedtimes you were banned
>hhave event counter value
hopedtimes you've oped someone
hdeopedtimes you've deoped someone
hhalfopedtimes you've halfoped someone
hdehalfopedtimes you've dehalfoped someone
hvoicedtimes you've voiced someone
hdevoicedtimes you've devoiced someone
hkickedtimes you've kicked someone
hbannedtimes you've banned someone
hnicktimes you've changed your nick
htopictimes you've changed a topic
hquittimes you've quit a server
hjoinedtimes you've joined a channel
hpartedtimes you've parted a channel
hquerytimes you've opened a query window
hconnectedtimes you've connected to a server
>sseen event counter value
sopedtimes you've seen someone get oped
sdeopedtimes you've seen someone get deoped
shalfopedtimes you've seen someone get halfoped
sdehalfopedtimes you've seen someone get dehalfoped
svoicedtimes you've seen someone get voiced
sdevoicedtimes you've seen someone get devoiced
skickedtimes you've seen someone get kicked
sbannedtimes you've seen someone get banned
snicktimes you've seen someone change his/her nick
stopictimes you've seen someone change a topic
squittimes you've seen someone quit a server
sjoinedtimes you've seen someone join a channel
spartedtimes you've seen someone part a channel
>ysystem information
ycpuname and type of processor
ymanmanufacturer of processor
ymhzspeed of cpu, in megahertz
ycachecache of cpu, in kilobytes
yloadload on cpu, as percentage
yramammount of RAM
yramuseusage of ram, ie: 50% (257MB)
yosname and type of OS
yosverOS version
yosbuildOS build number
yosinstinstalled for number of years, months, weeks, days, etc..
yosupcurrent OS (system) uptime
ycachesizesize of cache, in bytesize
ycacheassoccache associativity
ycachelinescache lines
ycachelinesizecache line size
ycacheinstrsizeinstruction size, in bytesize
ycacheinstrassocinstruction associativity
ycacheinstrlinesinstruction lines
ycacheinstrlinesizeinstruction line size
ygfxname and type of GFX card
ygfxrescurrent resolution
ygfxrefcurrent refresh rate, in Hz
ygfxdepthcurrent depth, in bit
yconname and type of dail-up modem
yconspeedmaximum speed of dail-up modem
ycondowndownloaded so far
yconupuploaded so far
yconactivehas been active for
yethname and type of network card
yethspeedmaximum speed of network card
yethgetrecieved so far, in bytesize
yethsentsent so far, in bytesize
yipyour ip, same as $ip
yupstreamyour current upstream, in bytesize
ydownstreamyour current downstream, in bytesize
>mmisc system information, returns Yes or No
m3dNow3DNow! support
m3dNowExtExtended 3DNow! support
mMMXMMX support
mMMXextMMX Extensions
mCPUIDSupports CPUID instruction
mFPUFPU present
mVMEVirtual Mode Extensions
mDEBUGDebug Extensions
mPSEPage Size Extensions
mTSCTime Stamp Counter
mMSRModel Specific Registers
mPAEPage Address Extensions
mMCEMachine Check Extensions
mCMPXCHG8CMPXCHG8 instruction
mAPICAPIC
mSYSENTERSYSENTER/SYSEXIT instruction
mMTRRMemory Type Range Registers instruction
mGPEGlobal Paging Extensions
mMCAMachine Check Architecture
mCMOVCMOV instruction
mPATPage Attribute Table
mPSE36PSE36 (Page Size Extensions)
mFXSAVEFXSAVE/FXRSTOR instruction
mSSESSE
mSSEFPSSE FP support



$perday will return the values of event per day, in a number or a percentage.

Syntax: $perday(p|e|b|h|s,item)

It works almost the same as $sinfo, appart some these differences:
  • There are less options for the first parameter, this is because not all statistics are counters. ;)
  • All the parameters are the same as for $sinfo exept for the p parameter. Here, it doesn't mean you want to retrieve some webpage information, but that you want a percentage of the item.. per day.
  • Of e|b|h|s you can specify only one, but here you can also include p.
  • The items cwords and date don't work here here since they're not counters.
A few examples:
//echo -a $perday(e,started)
//echo -a $sinfo(ep,pagehits)
//echo -a $sinfo(b,oped)
//echo -a $sinfo(hp,topic)


All items are explained in the table under $sinfo.



Paragon mIRC Stats Contact