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 ➜ Plugins ➜ Regexp trigger for Mapper

Regexp trigger for Mapper

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


Posted by Lmclarke   (26 posts)  Bio
Date Tue 04 Oct 2016 04:10 PM (UTC)
Message
I'm struggling to wrap my mind around a trigger that will properly process the room display for the MUD I play.

Some background: I'm attempting to make the Mapper work with The Inquisition: Legacy. We sadly do not have room numbers available to work with.

I have read the information here http://mushclient.com/regexp, but it's just not sinking into my brain at all.

The way rooms display is as follows:


The Royal Parlour
[Chilly] 
  Polished rosewood paneling lines the walls of this spacious and elegant
parlour.  Though it is somewhat more modest than expected, particular
attention has been paid to the quality of materials in its decoration,
providing a rich, but subtle atmosphere that compliments the rest of the
Town Hall.  A large hearth occupies the room's eastern wall, while solid
bronze candle holders line the perimeter of the room at regular intervals. 
Along the south wall is a set of four large, floor-to-ceiling windows, each
curtained with silver-on-midnight brocade curtains.  On the room's western
wall, one single, large panel has been fitted into its centre and painted
the crest of House ab Samael: a silver-painted hawk displayed upon a
black-and-silver chequered field.  A single door leads back into the
central balcony. 

In the last year:
(The room is cool as befits the time of year and has the neatness of a place
only recently occuppied, rather any sense of being 'lived in'. )

[ Exits: north ] [ Air exits: none ]


Looking at that, I believe what I need is for the trigger to match: roomname, weather, roomdesc, moodtimer, mood, exits, airexits.

Airexits shouldn't be processed by the mapper -- they shouldn't be included in the map for display.

Any input on this would be wonderful.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 04 Oct 2016 08:01 PM (UTC)
Message
Check out this for getting started:

http://www.gammon.com.au/forum/?id=12635&reply=1#reply1

If that doesn't help please post what you have tried so far.

- 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.


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