How can I make an alias, or even a trigger, with more than one variable in the line. Such as,....
"shoot @target %1"
I had this set with the alias, "aa *" to "shoot badguy sw" and it would send it, but after the first variable (@target) it would end the line and send "sw" on the next line
I don't use command stacking and I've tried it before, I'm thinking I am missing to click one of the boxes or something...I have expand variables clicked.....
How are you setting your variable? you might have a carriage return afterwards in the variable, that seems like what it is. copy/paste your trigger/alias. (both to send the variable, and set the variable)
Thanks for the help everyone, but I got one more question....I need to have a line gagged, but it's random each time...such as,
You stare intently at Talinon, opening his mind to the unspeakable visions that spew from the bowels of hell.
Your head spins as your mind is drowned in chaos and confusion.
The second line **Your head spins as your mind is drowned in chaos and confusion.** needs to be gagged somehow, but it's always different...is there a way to set a trigegr off
"unspeakable visions that spew from the bowels of hell." to gag the next line to follow?
You stare intently at *, opening his mind to the unspeakable visions that spew from the bowels of hell.
Make it enable another trigger which then disables itself (upon firing) (or add a temporary trigger, either way, itll be send to script) and that trigger matches: ^.*$ (thats a regexp) and have it omit from output.
That will match the next line after your first trigger. (Itll match ANY one line, but since were only allowing it to be turned on after the first one, and then turning it off right away, Itll serve its purpose)
Copy between <triggers> and </triggers> then click "paste" in the trigger dialog.
<triggers>
<trigger
ignore_case="y"
match="^(.*)$"
name="RandomLineTrigger"
omit_from_output="y"
regexp="y"
send_to="12"
sequence="100"
>
<send>enabletrigger "RandomLineTrigger", 0</send>
</trigger>
<trigger
enabled="y"
ignore_case="y"
keep_evaluating="y"
match="^you stare intently at (.*?)\, opening his mind to the unspeakable visions that spew from the bowels of hell\.$"
regexp="y"
send_to="12"
sequence="100"
>
<send>enabletrigger "RandomLineTrigger", 1</send>
</trigger>
</triggers>
If you want to not only gag but also avoid matching any triggers on the second line, then you might want to set the sequence number for the RandomLineTrigger trigger to 1, instead of 100. Otherwise, there's a very good chance of your affliction triggers still matching on the second line.
hmmm, here's another one I'm trying to figure out...I'm trying to set a trigger that will enable another trigger to fire once. Like, I'd want this trigger
"Sticky strands entrap * and inhibit their movement"
to activate this trigger for one fire (fire once?)
"You have recovered balance on all limbs"
this second trigger will be sending a command...soooo, if anyone understood what I just said, thanks for any help