&quot: is a special entity for "
and & is a special entity for &
thanks for that catch twisol
<send>addtriggerex ""&getvariable ("asv1")&"3", ""&getvariable ("asv4")&"",
"enabletrigger &quot;"&getvariable("asv1")&"1&quot;, 1", 1, -1, 0, "", "", 12, 100
addtriggerex ""&getvariable ("asv1")&"2", ""&getvariable ("asv3")&"",
addtriggerex ""&getvariable ("asv1")&"1", "^You flex your muscles proudly\!$", "send
&quot;c "&getvariable("asv2")&"&quot;", 1, -1, 0, "", "", 12, 100
addtriggerex ""&getvariable ("asv1")&"4", ""&getvariable ("asv5")&"", "send
&quot;c "&getvariable("asv2")&"&quot;", 1, -1, 0, "", "", 12, 100
ok asuming the other triggers function correctly
and set values to the variables to
asv1="manna"
asv2="123"
asv3="you feel a surge of power."
asv4="you feel you extra power drain."
asv5="you fail at casting manna."
my code should output
<send>addtriggerex "manna3", "you feel a surge of power.", "enabletrigger "manna1", 1", 1, -1, 0, "", "", 12, 100
addtriggerex "manna1", "^You flex your muscles proudly\!$", "send "c 123"", 1, -1, 0, "", "", 12, 100
addtriggerex "manna4", "you fail at casting manna.", "send "c 123"", 1, -1, 0, "", "", 12, 100
|