Sample Script to turn on/off the pyrotechnic device at 10 second intervals

Place the device in sapien
name the device pyro1
copy/paste this script into your script
compile your scripts in sapien, save.

------------ script follows:

(script continuous pyro-on-off
(begin
(device_set_power pyro1 0)
(sleep 1000)
(device_set_power pyro1 1)
(sleep 1000)
)
)