I'm part of a player killing clan. I'd like my trigger to fire only once, to alert the clan I'm being attacked and by whom.
I've got that down fine, but the problem is my trigger goes of when I shout that I'm being attacked, which can happen more than once in the span of 20 seconds or so.
Is there any way to get the trigger to only fire one time and then stop, but have it fire again should a DIFFERENT person attack later?
You'll have to figure out when you want it to turn itself back on though, whether you want to have an alias for it, or if there is something you can trigger on once you;re done being attacked.
(Assuming you're using VBscript:)
You need to change the "send to" box to script (its a pulldown menu) and then give your trigger a label (a unique name). Then in your send box, since youre already sending things to the world, youll have to change those lines to include quotes around what you want to send and a "send" at the beginning of the line.
If you wanted to send:
help help, I'm being attacked!
Your send box would now contain:
send "help help, I'm being attacked!"
For the turning itself off, you'll add a second to that send box:
EnableTrigger "[triggerlabel]", 0
where [triggerlabel] is the label you gave to your trigger.
If you don't mind turning your trigger back on after X seconds, you can simply use a DoAfter to turn it back on, this will create a timer that re-enables your trigger (after however long). So if you are still being attacked, it will trigger again, however it will cut down on your spam.
To use that, you will add a third line to your send box:
DoAfter 10, "EnableTrigger "[triggerlabel]", 12
Where 10 is the ammount of seconds (and [triggerlabel] is the same as above).