I think he meant

.timer 1 0 if $!input(1) { code }

The -m and $({,0)'s are unnecessary.