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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Getting Started
. . -> [Subject]  How to show the current exits on your status line

How to show the current exits on your status line

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


Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Sat 26 Apr 2008 12:40 AM (UTC)
Message

It can be handy to see what the current exits from your room are, even though the room description (and list of exits) might have scrolled off the screen during some lengthy chats.

To do this, let's look at an example MUD, where the exits line looks like this:

Example exits line

To get the exact format right, Shift+Double-Click on the "exits" line to select it, and then Right-Click to bring up the context menu. Select "copy" from that:

Copy the exits line

Open the world configuration dialog, and select "triggers" (Shift+Ctrl+8 is one way of doing this). Then click "Add" to add a new trigger:

Add a trigger

Paste in the copied Exits line, and then replace the actual exits with an asterisk (as the exits will be different each time). We also need to send "%0" (the entire matching line) to the Status line, like this:

Configure exits trigger

We can click OK to save the trigger, and "Close" to close the Triggers configuration list. Now we can test it by doing a "look". You can see that the Exits line also appears in the Status bar at the bottom of the screen, ready to be consulted at any time. As you move from room to room the status line updates.

Exits in status line


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


9,387 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]