<triggers>
<trigger
enabled="y"
group="ReRoll"
match="^Str: (\d{1,2}) Int: (\d{1,2}) Wis: (\d{1,2}) Dex: (\d{1,2}) Con: (\d{1,2}) Cha: (\d{1,2}) Lck: (\d{1,2})$"
regexp="y"
send_to="10"
sequence="100"
>
<send>/SetVariable("stre",%1)
/SetVariable("inte",%2)
/SetVariable("wisd",%3)
/SetVariable("dext",%4)
/SetVariable("cons",%5)
/SetVariable("char",%6)
/SetVariable("luck",%7)</send>
</trigger>
</triggers>
It works GREAT when I only have one /SetVariable line--it copies the captured number to the appropriate variable. However, as soon as I add a second /SetVariable line, it stops working with an error.
I'm sure I'm doing something absolutely dumb here, so can someone tell me the one character I need to put in the right place to make this trigger work? :p
<trigger
enabled="y"
group="ReRoll"
match="^Str: (\d{1,2}) Int: (\d{1,2}) Wis: (\d{1,2}) Dex: (\d{1,2}) Con: (\d{1,2}) Cha: (\d{1,2}) Lck: (\d{1,2})$"
regexp="y"
send_to="10"
sequence="100"
>
<send>/SetVariable("stre",%1)
/SetVariable("inte",%2)
/SetVariable("wisd",%3)
/SetVariable("dext",%4)
/SetVariable("cons",%5)
/SetVariable("char",%6)
/SetVariable("luck",%7)</send>
</trigger>
</triggers>
It works GREAT when I only have one /SetVariable line--it copies the captured number to the appropriate variable. However, as soon as I add a second /SetVariable line, it stops working with an error.
I'm sure I'm doing something absolutely dumb here, so can someone tell me the one character I need to put in the right place to make this trigger work? :p