Why isn't this trigger capturing my variables?
TRIGGER: ^You focus upon your pact and a terrifying visage of (.+) appears briefly in front of \w+, wreathed in flames\.$ if matches[2] == Skyrax then skyrax_balance = 1 elseif matches[2] == Rixil then rixil_balance = 1 elseif matches[2] == Eerion then eerion_balance = 1 elseif matches[2] == Arctar then arctar_balance = 1 elseif matches[2] == Scrag then scrag_balance = 1 elseif matches[2] == Pyradius then pyradius_balance = 1 elseif matches[2] == Palpatar then palpatar_balance = 1 elseif matches[2] == [[Nin'kharsag]] then ninkharsag_balance = 1 elseif matches[2] == Marduk then marduk_balance = 1 elseif matches[2] == Dameron then dameron_balance = 1 elseif matches[2] == Belial then belial_balance = 1 elseif matches[2] == Buul then buul_balance = 1 elseif matches[2] == "Cadmus" then cadmus_balance = 1 elseif matches[2] == Danaeus then danaeus_balance = 1 elseif matches[2] == Lyncantha then lyncantha_balance = 1 elseif matches[2] == Hecate then hecate_balance = 1 elseif matches[2] == [[Jy'barrak]]then golgotha_balance = 1 end
0
Comments
try this instead:
^You focus upon your pact and a terrifying visage of (\w+), .* appears briefly infront of \w+, wreathed in flames$
The difference between "general usage" and "carelessness" is thin with how you presented the information.