← Back to team overview

mudlet-makers team mailing list archive

[Bug 505664] Re: colors are not passed to filtered child triggers

 

well, it seems this is not a bug but the way it is meant to be. Have
suggested it be noted in the manual, closing bug report.

** Changed in: mudlet
       Status: New => Invalid

** Changed in: mudlet
     Assignee: (unassigned) => Demonnicus (demonnic-gmail)

-- 
colors are not passed to filtered child triggers
https://bugs.launchpad.net/bugs/505664
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.

Status in Mudlet the MUD client: Invalid

Bug description:
Say you have a prompt as follows:

2915h, 3780m, 3432e, 10p, 12000en, 12980w exdb-


and you match the prompt with regex as follows:

^(\d+)h, (\d+)m, (\d+)e, (\d+)p, (\d+)en, (\d+)w (.*)-$

This is a gate, with a child pattern of:

(\d+)w

which is a chainhead (filter is checked)

the child of -that- pattern is a color trigger to match FG7BG2 (light yellow on black) to test if your willpower is getting lowish (cuz when it gets below a certain threshold, it's sent in yellow) 

This deepest trigger, the color one, will not fire. The color is not passed down through the filter. It passes through gates, but not through filters.


I tested on 1.0.5 in Ubuntu 9.10 32bit, bit it was also tested on an osx using 1.0.5.1, I believe.





References