I'm having a hard time getting the following timer to work:

//timer $+ %timernr 1 %time //writeini filename.ini %id %res 1 | //writeini filename.ini %id status 0

It's the two seperate commands that mIRC doesn't seem to handle very well. It executes the first command "//writeini filename.ini %id %res 1" beautifully when the timer expires, but the part after the "|" gets executed right away.

I know that having two timers would be a solution, but I'm keeping that as a last resort.

Can anyone help me out here?