mIRC Home    About    Download    Register    News    Help

Print Thread
#90049 11/07/04 02:52 PM
Joined: Jul 2004
Posts: 2
H
Bowl of petunias
OP Offline
Bowl of petunias
H
Joined: Jul 2004
Posts: 2
I don´t know if this happens to everybody I´m using mIRC 6.16 and Windows 2000 Professional SP4, when I have the PC on more than one day, $ticks pluses 1 day and when 2 days pluses 4 days every time de double of the real $ticks.
I can see that by using for example:
$duration($calc($ticks / 1000)) or $uptime(system,1) is that a problem of mIRC?

another feature of mIRC that is strange is with $chr(32) I can´t //echo -s $chr(32) it returns: * /echo: insufficient parameters
and I can´t save it in variables correctly in some cases. for exmaple:
//set %var hi $+ $chr(32) > it doesn´t save the last $chr(32)

#90050 11/07/04 10:46 PM
Joined: Apr 2004
Posts: 66
C
Babel fish
Offline
Babel fish
C
Joined: Apr 2004
Posts: 66
That's very weird. I am also using Windows 2000 (Professional & Server) both with SP4 installed, and I am also using mIRC v6.16, and $ticks returns the correct value. I had my system running for 2 months with out rebooting.


Using $duration($calc($ticks / 1000)) returns the same value Microsoft's "Uptime.exe" returns.


About the $chr(32) issue... It's hard to say if it's a bug or by design. I would classify this behaviour as a bug.

If you do the following:

//echo -s $+(Hello,$chr(32),World)

mIRC inserts the space between the two words.

mIRC should echo a blank line to the screen when you do:

//echo -s $chr(32)

But instead of echoing a blank line, mIRC returns an error like you said.

#90051 12/07/04 01:09 AM
Joined: Dec 2002
Posts: 56
Babel fish
Offline
Babel fish
Joined: Dec 2002
Posts: 56
You can use $chr(160) for echoing blank lines smile


Link Copied to Clipboard