Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ VBscript ➜ Multi-Match

Multi-Match

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Hoss   USA  (48 posts)  Bio
Date Fri 08 Jul 2005 04:12 PM (UTC)
Message
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

Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #1 on Fri 08 Jul 2005 07:16 PM (UTC)
Message
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.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Larkin   (278 posts)  Bio
Date Reply #2 on Sat 09 Jul 2005 02:46 AM (UTC)
Message
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.
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #3 on Sat 09 Jul 2005 05:20 AM (UTC)
Message
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.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


18,243 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.