mIRC Home    About    Download    Register    News    Help

Print Thread
#247500 05/08/14 06:59 PM
Joined: Aug 2013
Posts: 81
I
Iire Offline OP
Babel fish
OP Offline
Babel fish
I
Joined: Aug 2013
Posts: 81
I see that in v7.35, two new identifiers were introduced to return the server and total times from the online timer - $onlineserver and $onlinetotal - I also noticed, however, that $online is exactly the same as $onlinetotal, so I'm curious as to why $onlinetotal was added.

Joined: Dec 2002
Posts: 5,420
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,420
The $online identifier is an old identifier that returns either $onlinetotal or $onlineserver, depending on whether "show total time in status windows" is enabled or not. The new identifiers return the actual time for that type.

Joined: Aug 2013
Posts: 81
I
Iire Offline OP
Babel fish
OP Offline
Babel fish
I
Joined: Aug 2013
Posts: 81
Ah, I see. I never knew that the value of $online was dependent on whether "show total time in status windows" was checked, so thanks for pointing that out.


Link Copied to Clipboard