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 ➜ Getting Started ➜ 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 page


Posted by Nick Gammon   Australia  (23,158 posts)  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
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.


10,316 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.