I'm trying to create an autorescue throughout multiple worlds that can be toggled on/off through any world.
I think I could do this with just a handful of variables/triggs/aliases but I'm having a hard time.
I'm stuck on something like this right now.
<triggers>
<trigger
enabled="y"
expand_variables="y"
match="(?U)^(?!You)(.*), fighting (?!you)(@to_rescue).$"
regexp="y"
send_to="12"
sequence="100"
>
<send>Send ("rescue %2")</send>
</trigger>
</triggers>
The small spider is standing here, fighting Warrior.
rescue Warrior
Warrior the Male Human is standing here, fighting the small spider.
This is fine for auto rescuing 1 person. But if I want an auto rescue list with dozens of names I can't seem to do that with a variable.
If I change the variable 'to_rescue' to Warrior|Druid|Cleric for example, the trigger doesn't work.
Any ideas?
I think I could do this with just a handful of variables/triggs/aliases but I'm having a hard time.
I'm stuck on something like this right now.
<triggers>
<trigger
enabled="y"
expand_variables="y"
match="(?U)^(?!You)(.*), fighting (?!you)(@to_rescue).$"
regexp="y"
send_to="12"
sequence="100"
>
<send>Send ("rescue %2")</send>
</trigger>
</triggers>
The small spider is standing here, fighting Warrior.
rescue Warrior
Warrior the Male Human is standing here, fighting the small spider.
This is fine for auto rescuing 1 person. But if I want an auto rescue list with dozens of names I can't seem to do that with a variable.
If I change the variable 'to_rescue' to Warrior|Druid|Cleric for example, the trigger doesn't work.
Any ideas?