[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  trouble getting a trigger to trigger v4.61

trouble getting a trigger to trigger v4.61

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


Posted by Chichi   (2 posts)  [Biography] bio
Date Mon 07 Feb 2011 03:14 AM (UTC)
Message
m deb
A destination appears on the ship's navigation controls: Debris.
The deck beneath you vibrates slightly as the relativity drive begins accelerating the starship through space.
The sounds of the relativity drive slowly cease as the starship comes to a halt.
sal
You instruct the computer to begin scanning for debris.
You hear a thunk as a salvaging line is deployed into space. You watch as the line slowly winds its way to a piece of debris, projects an energy net around it and begins to slowly make its way back to the ship.
The computer announces, "Scans reveal the debris to be a disabled laser turret."
m deb
A destination appears on the ship's navigation controls: Debris.
The deck beneath you vibrates slightly as the relativity drive begins accelerating the starship through space.
The sounds of the relativity drive slowly cease as the starship comes to a halt.
sal
You instruct the computer to begin scanning for debris.
You hear a thunk as a salvaging line is deployed into space. You watch as the line slowly winds its way to a piece of debris, projects an energy net around it and begins to slowly make its way back to the ship.
The computer announces, "Scans reveal the debris to be a defunct satellite."

this is an example of the text i'm trying to get


<triggers>
  <trigger
   enabled="y"
   group="Multi Line"
   lines_to_match="2"
   keep_evaluating="y"
   match="You hear a thunk as a salvaging line is deployed into space\. You watch as the line slowly winds its way to a piece of debris\, projects an energy net around it and begins to slowly make its way back to the ship\.\nThe computer announces\, \&quot;Scans reveal \Z"
   multi_line="y"
   regexp="y"
   sequence="100"
  >
  <send>m deb</send>
  </trigger>
</triggers>

and here is what copy got me from the trigger i've set up so far
it isnt working (the other trigger to automaticly do the sal after the ship stops moving is working just fine but i can't get this one to work so far i'm doing this part manually (m deb is the command to move to the next debris field)
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Mon 07 Feb 2011 04:05 AM (UTC)
Message
Get rid of the final \Z.

That matches "end of subject" but the subject hasn't ended because there is more on the line.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Chichi   (2 posts)  [Biography] bio
Date Reply #2 on Mon 07 Feb 2011 06:11 PM (UTC)
Message
thanks!
[Go to top] 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.


8,630 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]