I recently read every single entry in the release notes section for MUSHclient. And yes, it took a while, but it was worth it. For one thing it gave me a good idea of what the client is capable of and gave me a few ideas for suggestions. I'm glad to see telnet subnegotiation was simplified since I was here last. (More on that in a different post.) Ultimately I discovered the reason that something I was trying to do wasn't working. MUSHclient allows a trigger to match the same pattern more than once on the same line of text from a MUD. What it will -not- do is send the contents of the Send box or parse a script in the Script box more than once on the same line. This is very annoying when I am trying to make one trigger to capture the contents of my rift on achaea and I have to make a seperate trigger for each herb/item to do so.
For example:
I was wondering if a flag could be added to the triggers that allows one to send for -each- match on a trigger that repeats on same line.
For example:
[ 90] prickly ash bark [ 100] sileris [2050] skullcap--the line coming from the MUD might look like this
"[\s*(\d+)]\s(prickly ash bark|sileris|skullcap)"--I was planning to use a trigger like this with all the herbs in the list
print ("%2", %1)--This is just an example, I actually was trying to do something like inr["%2"]=%1
I was wondering if a flag could be added to the triggers that allows one to send for -each- match on a trigger that repeats on same line.