mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 109
T
Vogon poet
OP Offline
Vogon poet
T
Joined: Dec 2002
Posts: 109
here's a question for y'all.... is there anything in $timer which can return whether a .delay value is in seconds or ms?


<Ingo> I can't uninstall it, there seems to be some kind of "Uninstall Shield"
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
If a timer was created with -h or -m specified, then $timer(N).mmt returns $true. This indicates that the delay is in milliseconds. If it returns $false, then the delay is in seconds.

Joined: Dec 2002
Posts: 191
N
Vogon poet
Offline
Vogon poet
N
Joined: Dec 2002
Posts: 191
Did you bother to test that, from testing only a timer started using the -h switch returns $true when using the .mmt property.

Joined: Dec 2002
Posts: 109
T
Vogon poet
OP Offline
Vogon poet
T
Joined: Dec 2002
Posts: 109
Wrong. .mmt tells you if the timer is multimedia or not. This is accomplished with the -h switch, which happens to force millisecond timing, but under normal circumstances you'd get millisecond timing from -m, which does not create a multimedia timer. This is what I want to test for.


<Ingo> I can't uninstall it, there seems to be some kind of "Uninstall Shield"
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Well then it would appear that it can't be done.


Link Copied to Clipboard