mIRC Home    About    Download    Register    News    Help

Topic Options
#27435 - 01/06/03 04:08 PM Online Timer - Redundant Feature?
Devo Offline
Bowl of petunias

Registered: 31/05/03
Posts: 2
Loc: England
mIRC has a feature called the "online time". It is the 9th button along (I believe), and it can be set to either show "Time since last manual reset" or "Time since last connection". Origanally, $online used to contain the time depening on which option you chose. However, 6.03 has $online now fixed as a variable which tells you how long you have been connected to the specific server.

Does anyone know of the replacement variable which allows you to access the online time? I have mine set to show the amount of time spent on IRC in total, which at the moment is some 4700 hours, but there is no way I know of to get access to this number.

A search of the forums showed that one other person noticed the same problem, but peoples replys were no use as they seem to misunderstand the problem. Any help would be appreciated, although it looks like this feature could be on the way out frown

Top
#27436 - 01/06/03 05:22 PM Re: Online Timer - Redundant Feature?
Nimue Offline
Hoopy frood

Registered: 08/12/02
Posts: 699
Loc: Sunshine, Oz.
Code:
alias totalonline1 {
  saveini
  tokenize 44 $readini($mircini,options,n1)
  echo -a $duration($calc((3600 * $5) + (60 * $6) + $7))
}

Code:
alias totalonline2 {
  saveini
  echo -a $replace($gettok($readini($mircini,options,n1),5-7,44),$chr(44),:)
}

Top