alias enable/disable timer help

Posted by Rasha_z on Sun 04 May 2003 12:01 AM — 3 posts, 13,525 views.

#0
Looking to be able to enable and disable a timer with an alias. Dont know anything about scripting so any help at all if this is possible would be great!
Australia Forum Administrator #1
Something like this would do the trick - you can copy and paste it straight into the alias configuration window (the one with the list). It needs a fairly recent version to work ...


<aliases>
  <alias
   match="dt"
   enabled="y"
   send_to="12"
   sequence="100"
  >
  <send>EnableTimer &quot;mytimer&quot;, 0
Note &quot;Timer disabled&quot;</send>
  </alias>
  <alias
   match="et"
   enabled="y"
   send_to="12"
   sequence="100"
  >
  <send>EnableTimer &quot;mytimer&quot;, 1
Note &quot;Timer enabled&quot;</send>
  </alias>
</aliases>

#2
nick

thanks it works great!