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?
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.
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.
This page shows the SMAUG commands broken down into levels, if that helps:
http://www.gammon.com.au/forum/?wiki=index
There is a snippet for that. Let me see if I can find it.
http://www.afkmud.com/scripts/download.php?file=Sadiq/Wizhelp.txt
There you go zeno!
Thanks, this helps a lot. :)