Help setting timer triggers

Post Reply
Juncubus
Posts: 1
Joined: Wed Mar 16, 2011 6:57 pm

Help setting timer triggers

Post by Juncubus »

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.

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: Help setting timer triggers

Post by Vadi »

Your trigger is matching multiple times, then.

Zenock
Posts: 10
Joined: Thu Feb 03, 2011 11:00 pm

Re: Help setting timer triggers

Post by Zenock »

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?

Post Reply