mIRC Home    About    Download    Register    News    Help

Topic Options
#115657 - 28/03/05 08:48 PM displaying uptime
state Offline
Vogon poet

Registered: 17/06/04
Posts: 133
ok displaying up time can be done as //echo #channel $uptime but how can i have it set to day/hour/min

Top
#115658 - 28/03/05 09:05 PM Re: displaying uptime
SladeKraven Offline
Planetary brain

Registered: 19/12/02
Posts: 3547
Loc: Kent, England
$duration($uptime)

returns 26mins 43secs for me.


Edited by SladeKraven (28/03/05 09:06 PM)

Top
#115659 - 28/03/05 09:09 PM Re: displaying uptime
state Offline
Vogon poet

Registered: 17/06/04
Posts: 133
and again you help me laugh it may help if i had mirc help on my pc. delete file ages ago by mistake frown


----------

edit

isnt that not how long i been on my mirc tho? how woyuld i display my pc uptime


Edited by state (28/03/05 09:13 PM)

Top
#115660 - 28/03/05 09:19 PM Re: displaying uptime
SladeKraven Offline
Planetary brain

Registered: 19/12/02
Posts: 3547
Loc: Kent, England
You really should get the help file. wink

mIRC Uptime = $uptime(mIRC,1)
Machine Uptime = $uptime(System,1)
IRC Server Uptime = $uptime(Server,1)

Top
#115661 - 28/03/05 10:11 PM Re: displaying uptime
state Offline
Vogon poet

Registered: 17/06/04
Posts: 133
grin no where to download?

Top
#115662 - 28/03/05 10:20 PM Re: displaying uptime
SladeKraven Offline
Planetary brain

Registered: 19/12/02
Posts: 3547
Loc: Kent, England
Sure I've put it on my website here.

Hope this helps.

-Andy

Top