
having a problem with setEventTrigger
I am having a problem with setEventTrigger command. I have it set to go to the next part of the script after the include script I am using terminates. Unfortunately, I am not getting a message from TWX Proxy in SWATH when it terminates. Kind of odd. They are a couple of simple scripts I wrote, just for trying to see if you could use this command to pause a script while an include script was running and then restart it once it stopped. I'll include the code for both scripts
Code:
#test to see if I can get includes to work for me
:begin
setEventTrigger done :next "SCRIPT STOPPED" "C:\Program Files\Programs 1\TWX Proxy 2_04\Scripts\include\test_include.ts"
include \include\test_include.ts
pause
:next
clientmessage "made it to next"
killAllTriggers
setDelayTrigger delay :end 10000
pause
:end
halt
This one is the include script
Code:
clientmessage "test for include working"
Why isn't TWX Proxy sending a terminated message when the include script terminates? I tried the include script with a HALT command in it, but that just stopped the main script instead. Thanks for any help you can give.
P.S. The main script is in the script directory and the include script is in the include directory if this might have any effect on things, I wouldn't think it should though