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 ➜ General ➜ mulitline trigger

mulitline trigger

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


Posted by Atheis   (3 posts)  Bio
Date Sat 06 Mar 2010 09:54 PM (UTC)
Message
im new to muding and want to create a trigger that matches 2 lines then send a command to the world. i have no experience in scripting so if you could explain what you are doing that would be great.

what happens is i get knocked down by a monster and need to stand back up again. if you play iron realms game youll know about the equilibrium/balance thing.

1st line - the monster knocks me down:
* sending you sprawling to the floor.

then the trigger would send:
stand

sometimes you have just cast a spell, etc... and have not revovered equilibrium so you must wait until you have in order to stand

2nd line would read:
you have recovered equilibrium

trigger would send:
stand

so i need a trigger that will make you stand if you have equilibrium and wait if you dont have equilibrium
Top

Posted by Dacrian   Australia  (18 posts)  Bio
Date Reply #1 on Sun 07 Mar 2010 12:22 AM (UTC)
Message
That's not a multi line trigger, that's two separate ones.

Paste your messages you want to match into the trigger match box in a new trigger, and put your command you want to send (stand) in the box below. Make sure your capitalization etc matches what you'll see on the screen.

This topic: http://www.gammon.com.au/forum/?id=9626 may help you.
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.


12,123 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.