I'm trying to log something like the following to a file. however I never seem to get a successful match.
the match I have is:
In the end I plan to do something more elaborate with the information I'm pulling, but having a hard time getting started retrieving said information. I also tried copying the above example of what i'm trying to match into test trigger and still no luck. Has anyone else had this trouble before? (Tried searching the forae and didn't seem to have any luck)
You examine a scroll carefully.
Object 'scroll' is type scroll, extra flags magic.
Weight is 1, value is 0.
Level 13 spells of: 'armor'.
the match I have is:
<triggers>
<trigger
enabled="y"
group="Multi Line"
ignore_case="y"
lines_to_match="6"
keep_evaluating="y"
match="You examine * carefully.\nObject '*' is type *, extra flags *.\n*\nHas * charges of level * '*'.\n"
multi_line="y"
regexp="y"
send_to="2"
sequence="100"
lowercase_wildcard="y"
>
<send>world.note "%2, kwds:%3, type %4, extras %5, %7 x lvl %8 %9"</send>
</trigger>
</triggers>
In the end I plan to do something more elaborate with the information I'm pulling, but having a hard time getting started retrieving said information. I also tried copying the above example of what i'm trying to match into test trigger and still no luck. Has anyone else had this trouble before? (Tried searching the forae and didn't seem to have any luck)