No, it works with the space too. All following formats work in events:
on *:event:#: command
on *:event:#:command
on *:event:#:{ command }
on *:event:#: { command }


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