mIRC Home    About    Download    Register    News    Help

Print Thread
#99193 29/09/04 05:38 PM
Joined: Aug 2004
Posts: 423
C
Fjord artisan
OP Offline
Fjord artisan
C
Joined: Aug 2004
Posts: 423
hello again,

i'm looking for some info on how to go about designing a ad delay timer for misc info ads in minuets instead of seconds. i have no clue on how to go about doing this. so i was wondering if you guys/gals would be able to give me some pointers??? that would be appreciated.

thanks in advance!

#99194 29/09/04 05:40 PM
Joined: Apr 2003
Posts: 42
E
Ameglian cow
Offline
Ameglian cow
E
Joined: Apr 2003
Posts: 42
You can only change timer to miliseconds with -m or -h.
just do 60 x minuts in a calculator;P


---
signatures own
#99195 30/09/04 09:12 AM
Joined: Apr 2004
Posts: 759
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
;Usage $min(minutes)
;Will return given minutes in seconds
alias min {
return $calc($1 * 60)
}



useless thing ive ever written hope it helps ya :tongue:


$maybe
#99196 30/09/04 04:38 PM
Joined: Aug 2004
Posts: 423
C
Fjord artisan
OP Offline
Fjord artisan
C
Joined: Aug 2004
Posts: 423
thanks for the replies guys,

i was wondering if i could use $calc to do that . now i have one final question on this..

$min( minutes )

the mins in red, does that need to a numeric value or can be in a var? because in the dialog i'm using it sets the # of delay mins. i know that might sound dumb to some, but the questions does it have to actual number like:$min(10), or will the variable name suffice since the %var represents a numer vaule?

#99197 30/09/04 04:44 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
As long as the %var is a number, it will work.


New username: hixxy
#99198 30/09/04 05:01 PM
Joined: Aug 2004
Posts: 423
C
Fjord artisan
OP Offline
Fjord artisan
C
Joined: Aug 2004
Posts: 423
okay,

thank you very much everyone!


Link Copied to Clipboard