Trigger with punctuation.
Posted: Thu Jan 09, 2020 4:47 pm
My trigger text is perl regex:
^You receive (.*) experience.
So, when I kill an enemy and receive this line, it does things like look in the corpse, get gold, etc.
You receive 288 experience.
However, GNS Mud where I just started playing also awards skill experience so we get this line:
You receive 100 experience points for your successful use of skills.
My trigger is also firing on this line. Why is that happening? There's a period punctuation mark in the trigger text so I don't understand why it's triggering on the MUD line without the period.
^You receive (.*) experience.
So, when I kill an enemy and receive this line, it does things like look in the corpse, get gold, etc.
You receive 288 experience.
However, GNS Mud where I just started playing also awards skill experience so we get this line:
You receive 100 experience points for your successful use of skills.
My trigger is also firing on this line. Why is that happening? There's a period punctuation mark in the trigger text so I don't understand why it's triggering on the MUD line without the period.