Alternatively, change the | to $chr(124) (the ascii value of it).

//timer $+ %timernr 1 %time //writeini filename.ini %id %res 1 $chr(124) //writeini filename.ini %id status 0

Eamonn.