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
➜ Wizhelp on FUSS
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Firedraconian
USA (32 posts) Bio
|
Date
| Thu 06 Jul 2006 12:51 AM (UTC) |
Message
| How do I change wizhelp so that it displays the commands based on level, not just in a big lump? So that if you're level 52, you'd see like;
-- Level 51 --
Blah Blah Blah
-- Level 52 --
Blah Blah
And no more, but you'd see more if you're a higher level? |
X. D. Caeruleus
Draconian Industries | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #1 on Thu 06 Jul 2006 01:01 AM (UTC) |
Message
| A not very elegant but functioning solution would be to loop over every level between 51 and 65, and for each level, loop over all help files, printing out the ones for that level. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
Posted by
| Nick Gammon
Australia (23,162 posts) Bio
Forum Administrator |
Date
| Reply #2 on Thu 06 Jul 2006 01:54 AM (UTC) |
Message
| It's not the help file but the command_hash array. You are right though, an extra outer loop would do the job fairly simply. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Nick Gammon
Australia (23,162 posts) Bio
Forum Administrator |
Date
| Reply #3 on Thu 06 Jul 2006 01:55 AM (UTC) |
Message
| |
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #4 on Thu 06 Jul 2006 02:52 AM (UTC) |
Message
| There is a snippet for that. Let me see if I can find it. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Metsuro
USA (389 posts) Bio
|
Date
| Reply #5 on Thu 06 Jul 2006 03:06 AM (UTC) |
Message
| http://www.afkmud.com/scripts/download.php?file=Sadiq/Wizhelp.txt
There you go zeno! |
Everything turns around in the end | Top |
|
Posted by
| Firedraconian
USA (32 posts) Bio
|
Date
| Reply #6 on Thu 06 Jul 2006 03:17 AM (UTC) |
Message
| Thanks, this helps a lot. :) |
X. D. Caeruleus
Draconian Industries | 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.
25,097 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top