Multi-Match

Posted by Hoss on Fri 08 Jul 2005 04:12 PM — 4 posts, 22,752 views.

USA #0
Alright I'm making a channel capture system from my mud I play known as Achaea, well sometimes if someone types in something really long like

(Mhaldor): You say, "Ah but would you know what the Highest the Stats can go? 
I'm just wondering cause my Falcon is at a speed of 212 so I'm not sure if I 
should keep training speed or move over to stamina."


It won't match on my trigger of:
(*): * *, "*"

Because of the line breaks so how would I set up a trigger to match on a longer channel post like that? Or am I doomed? Any help will be appreciated

Thanks Again

Hoss

USA #1
Are you SURE they are hard coded line breaks (server side wrapping)? And not just client side wrapping? If they are only wrapped clientside, then you don't need a special trigger.

If not, theres a thread somewhere around here about matching multiple lines using the quotation mark.
#2
They are server-side line feeds. I am attempting to write a plugin for the same purpose, but I've only just begun to work on it. Basically, we need to trigger the end of the capture on the end of the buffer, or maybe on the next prompt.
USA #3
Finally found it.

Heres an example, just change the prefix and it should work.
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4313

Of course, it uses quotes, so someone could simply say 'something to be seen" something else that I don't want you to seee' And you would only see the 'something to be seen' bit. Of course, that could be tweaked around as well.