Help setting timer triggers
Help setting timer triggers
Hey, I'm trying to set triggers to run a given number of seconds after text is recieved from the game. I got partial success by setting 'exact match' to the text I wanted and in the bottom text section of trigger setup placing tempTimer( 6.0, [[send("text")]] ) .. however the command is not executing once, as it should. It is spamming the server with the same command about 300+ times per second until I turn it off. If it helps, I am on a MAC, and I know absolutely nothing about scripting.
Re: Help setting timer triggers
Your trigger is matching multiple times, then.
Re: Help setting timer triggers
Is the text you are triggering on also coming back as a response to the command you are sending?
If this is what you need to trigger on, you could have the first line of the script disableTrigger('triggerName') so it doesn't fire again right away and have someplace in your script turn it back on. What are you "exact match"ing on?
If this is what you need to trigger on, you could have the first line of the script disableTrigger('triggerName') so it doesn't fire again right away and have someplace in your script turn it back on. What are you "exact match"ing on?