I have the following trigger pattern which works perfectly when I run it as just a trigger.
Pattern: %d%s&%dItem.Price%s&%dItem.AC%s%d%s&%wItem.Type%s(%w)%s&Item.Auto%s({ |*})%s(%w*)
However when I put the same trigger in a Trigger class, I get a syntax error here.
Pattern: %d%s&%dItem.Price%s&%dItem.AC%s%d%s&%wItem.Type%s(%w)%s&Item.Auto%s({ |*})%s(%w*)
However my original version, which doesn't quite do what I want it do doesn't throw a syntax error.
Pattern: %d%s&%dItem.Price%s&%dItem.AC%s%d%s&%wItem.Type%s(%w)%s&Item.Auto%s(?)%s(%w*)
Any suggestions as to what the problem is?
The pattern should match either of the following.
Text1: 9 7800 7 3 Shield Mithril Yes * Exotek riot shield
Text2: 13 190 2 3 Pants Coretex Yes Protex leggings
Asati di tempari!