|
Zhiroc Adept
Joined: 04 Feb 2005 Posts: 246
|
Posted: Tue Jun 05, 2007 12:14 am
#state trigger ID not optional? |
The zmud docs suggest that if you use #state 0 (note: no ID), then that trigger itself is set to that state. But that doesn't seem to work:
Code: |
#TRIGGER {^foo} {}
#COND {^bar} {#state 0}
#COND {^byfar} {}
|
Doing #sh foo, followed by #sh bar, leaves the trigger at state 2, not 0.
Is this a bug, or is the doc wrong? |
|
Last edited by Zhiroc on Tue Jun 05, 2007 12:33 am; edited 2 times in total |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Tue Jun 05, 2007 12:32 am |
Seems like a bug, but it's pretty trivial to add an ID to the trigger. This is a problem in CMUD as well, though, so you might want to post about it in the CMUD beta forum as well so it gets added to the CMUD buglist.
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|