I have a timer and i would like to start and stop it by typing commands in the input.
How? I know nothing about scripting
How? I know nothing about scripting
This forum is a read-only archive of the Gammon Software forum (2000–2026). No new posts can be made. Search the archive.
Posted by Helium on Tue 05 Jul 2005 04:40 PM — 4 posts, 20,042 views.
<aliases>
<alias
match="^enabletimer (on|off)$"
enabled="y"
regexp="y"
send_to="12"
ignore_case="y"
sequence="100"
>
<send>if (StrComp("%1","on",1)) then
EnableTimer "timername", 1
ResetTimer "timername"
Note "timername enabled."
else
EnableTimer "timername", 0
note "timername disabled."
end if</send>
</alias>
</aliases>