Or if the %result doesn't need to be only 0 or 1 but 0 or <any non-zero number>, one could do:
Code:
alias check %result = $regex($1,/(footext.[123])/i)
Btw, I optimized the regex a bit.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com