Is it possible to create an alias that both sets a target and alters the match text of a trigger?
Let's just say I had an alias like this one:
Alias: huntx *
Send to: World
Send Line 1: settarget x %1
Send Line 2: [bash alias]
And I had a trigger like this one (relying off the info here command for the matched output):
Trigger Line: *"Serpent*"*
Send to: World
Send Line 1: [bash alias]
Could I add code to the alias so that it changes the trigger's match text from 'Serpent' to whatever else I decided to hunt: rats, grubs, etc., while still retaining the quotes and asterisks? In other words, I'd set a target critter and be able to hunt just that for as long as I felt like in an area, then I could switch to another target critter any time I felt like, and would auto-bash only on that one type of mob, with just one trigger and one alias.
0
Comments