mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline OP
Hoopy frood
OP Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
This is nothing i couldnt do myself, just thought it might be a nice addition.

add a switch to /TIMER maybe -v that appends a value to the end of the timername (obviously checking if that timer doesnt exists already) Like if u dont give the timer a name at all it uses a number.
So for example

//timerExample -v 1 10 echo The timer going of now is $!ctimer | timer
* Timer example1 activated
* Active timers:
* Timer example1 1 time(s) 10s delay echo The timer going of now is $ctimer
//timerExample -v 1 10 echo The timer going of now is $!ctimer | timer
* Timer example2 activated
* Active timers:
* Timer example1 1 time(s) 10s delay echo The timer going of now is $ctimer
* Timer example2 1 time(s) 10s delay echo The timer going of now is $ctimer

Just something nice which would allow a command like /TIMER example* OFF

* I dont need a work around or told how simple using $ticks and $rand this would be, i know its not overly hard to do

Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
what about -l for local to that alias only, in tandem or alone with -n numbered
.timerexample -lnm 1 250 echo -a four times a second
.timerexample -lnm 1 500 echo -a twice a second

something like that?

Joined: Sep 2003
Posts: 4,230
D
DaveC Offline OP
Hoopy frood
OP Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
I assume u ment -n in place of -v (i just choose -v for the word value -n for number sounds just as good if not better)

But I dont get the usage of a -l to make it "local" to an alias, It has to go off after the alias completes, so do u mean to the alias script? in which case im pretty sure that if the timer is calling any aliases it well use the copies in the local script first anyway (this actually seems to be the default behavour at all times, in /ALIAS -l this appears to only limit access to the alias to only that script)


Link Copied to Clipboard