Code: Select all
^You still have to kill \* (.*) \((.*)\)$
aard.qTarget = matches[2]
aard.qLocation = matches[3]
In cMud you would specify the ansi color '%e[1;36m as part of the pattern directly into the pattern field such as:
*group-*'%e[1;36mI've rolled a 100 sided dice 1 times, the total result is: %e[1;34m(%d)%e[0m'$
Here is what I have so far:
The problem is it matches the entire line, I expected multimatches[4][2] to only match the Green Mob name:
Also I could not find the documentations or examples for creating a complex ANSI trigger like this, I was working from this as a reference: https://forums.mudlet.org/viewtopic.php?t=4771
If I can manage to get this working I would be happy to add some examples to the wiki.