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 ➜ Tips and tricks ➜ Multiline triggers

Multiline triggers

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


Posted by Kaeltsw   (6 posts)  Bio
Date Thu 15 Sep 2011 10:16 PM (UTC)

Amended on Thu 15 Sep 2011 10:22 PM (UTC) by Kaeltsw

Message
I am trying to make my first multiline trigger and well, I am struggling, i have read on the forums and done what i can to figure out the regular expressions but I just dont get it. I have the lines i need to capture..

(M) (m) (Player) Samordeith is here.
!!YOUR WARD OF WARNING HAS BEEN TRIGGERED!!

I need the (M) and the (Player) to be noticed but the rest ignored and the !! YOUR WARD.... also because I am trying to make a gender specific trigger. The M is obviously a male, and well, the (m) is the consider code, as in moderate, but that part i dont need, and the name of player and the is here. dont need also. Sometime the players have stuff that is before the (M) also ....I tried to remove and or replace with wild card stuff and well, none of it worked.
ANY help?
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Fri 16 Sep 2011 01:49 AM (UTC)
Message
Post what you have tried, then we can help you with it.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
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.


11,988 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.