mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2006
Posts: 3,968
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,968
/timername -e is executing the associated command of the timer by actually triggering the timer, changing the setting of the timer. It 'sets' the number of second left before the timer triggers to 0 which as a result decrease the number of repetition of the timer.
This behavior came as a surprise to me, the help file is also not mentioning this.

If this is a bug but can't be fixed because of backward comp, please consider adding /timer -eN with N = 0 (default) for the current behavior and N = 1 for just executing the command without changing the settings of the timer. Please also update the help file to be explicit about this.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Dec 2002
Posts: 5,243
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,243
Thanks for your bug report. This is behaving as it should. The purpose of -e is to execute the timer. The help file description has been changed to match versions.txt:

Quote:
153.Aded /timer -e switch which executes the specified timer name immediately if it exists.

Joined: Jul 2006
Posts: 3,968
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,968
Ok, thanks.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard