Unknown2005-05-03 15:10:24
You can use a timer's name to change the time on it, check the time left, delete it, etc. For example, to make an alarm and then change the time...
If you really want to use wait to do something, like disable a trigger for a period of time, you can use multi-state conditional triggers.
This will only try to stand up when you receive the symptom message, but no more than once per second. It can be a nice, easy, way of limiting your trigger spam and controlling lag from parsing of triggers too often.
CODE
#ALARM "mytimer" +5 {say blah}
#NOOP %alarm("mytimer", 8000)
#NOOP %alarm("mytimer", 8000)
If you really want to use wait to do something, like disable a trigger for a period of time, you can use multi-state conditional triggers.
CODE
#TRIGGER {You must first stand up.} {stand}
#COND {} {} {wait|param=1000}
#COND {} {} {wait|param=1000}
This will only try to stand up when you receive the symptom message, but no more than once per second. It can be a nice, easy, way of limiting your trigger spam and controlling lag from parsing of triggers too often.