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
➜ SMAUG
➜ SMAUG coding
➜ Who and Area
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Alanya
(4 posts) Bio
|
| Date
| Sun 01 Dec 2002 07:35 PM (UTC) |
| Message
| How do I edit the data in the area command?
How do I change the command <Who 1> to <who>?
How do I costumise the 'who' data, to make it look how I want?
Thanks in advance for the help!
~Athayria | | Top |
|
| Posted by
| Meerclar
USA (733 posts) Bio
|
| Date
| Reply #1 on Sun 01 Dec 2002 08:38 PM (UTC) Amended on Sun 01 Dec 2002 08:39 PM (UTC) by Meerclar
|
| Message
| 1) The area command pulls its info directly from areas.txt, so unless you have some way of marking an area as hidden, there isn't a real practical way to modify the contents of the area command output.
2)<Who #> is typically an optional filter to display all chars of a certain level instead of the default <who> that displays everything.
3)Grep the SMAUG src for 'void do_who' and that will tell you where the output look is configured and changed. I would just give you the filename, but to be perfectly honest I don't remember and I'm too lazy to download the SMAUG src to find out. |
Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #2 on Sun 01 Dec 2002 09:24 PM (UTC) |
| Message
|
Quote:
How do I change the command <Who 1> to <who>?
There is one line to change to fix that. It is discussed on my page about "how to compile SMAUG". To save a bit of time search the forum, or the SMAUG source, for the word "REQWHOARG". |
- 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,890 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top