Oct 26th 2011, 21:16:52
THIS DOES NOT WORK AS EXPECTED... (and I've changed stuff for me to test like the sound file and channels/triggers, so look it over carefully!)
http://pastebin.com/UaDquC8e
I am running into problems when trying to close the file during the while loop and overwriting it when the action is supposed to fire. (not shown in this file)
THE ONLY THING THIS DOES IS TELL YOU WHEN IT *SHOULD* OR SHOULDNT FIRE... PROOF OF CONCEPT ONLY. You need to delete the #channel.tmp file manually. Right now it will always make a sound. The main thing is that with some minor modifications, you should be able to have the event fire properly and not fire again until after the timeout. Writing more subs inside the sub should help workaround the issues i'm having.
http://pastebin.com/UaDquC8e
I am running into problems when trying to close the file during the while loop and overwriting it when the action is supposed to fire. (not shown in this file)
THE ONLY THING THIS DOES IS TELL YOU WHEN IT *SHOULD* OR SHOULDNT FIRE... PROOF OF CONCEPT ONLY. You need to delete the #channel.tmp file manually. Right now it will always make a sound. The main thing is that with some minor modifications, you should be able to have the event fire properly and not fire again until after the timeout. Writing more subs inside the sub should help workaround the issues i'm having.