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

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Plugins
. . -> [Subject]  Regexp trigger for Mapper
Home  |  Users  |  Search  |  FAQ
Register forum user name
Forgotten password?

Regexp trigger for Mapper

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

Posted by Lmclarke   (24 posts)  [Biography] bio
Date Tue 04 Oct 2016 04:10 PM (UTC)
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
  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.
[Go to top] top

Posted by Nick Gammon   Australia  (21,607 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Tue 04 Oct 2016 08:01 PM (UTC)
Check out this for getting started:


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

- Nick Gammon

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


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.


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 FutureQuest]