In this example the gate will open then close, the parameters for "toggle" are (identifier,entity1,entity2), a boolean is stored in identifier and will toggle either entity1 or entity2 depending on it's state.
You can also create your own functions within the script. (I'll make more and update it here, and you can suggest some :))
Current functions:
toggle(id,entity1,entity2)
Enjoy!
edited 1×, last 16.01.12 05:08:35 am
Approved by Seekay
Download
2 kb, 437 Downloads