Wizhelp replacement.

Installation Instructions
-------------------------

1. Open act_wiz.c, find do_wizhelp, comment that function out, and then
copy this one into the file below the old one.

void do_wizhelp( CHAR_DATA *ch, char *argument )
{
     CMDTYPE * cmd;
     int col, hash;
     int curr_lvl;
     col = 0;
     set_pager_color( AT_WHITE, ch );

     for ( curr_lvl = LEVEL_AVATAR; curr_lvl <= get_trust( ch );
           curr_lvl++)
     {
         send_to_pager( "\n\r\n\r", ch);
         col = 1;
         pager_printf( ch, "[LEVEL %-2d]  ", curr_lvl);
         for (hash = 0; hash < 126; hash++ )
             for ( cmd = command_hash[hash]; cmd; cmd = cmd->next )
                 if (( cmd->level == curr_lvl)
                 &&   cmd->level <= get_trust( ch ) )
                 {
                    pager_printf( ch, "%-12s", cmd->name );
                    if ( ++col % 6 == 0 )
                    send_to_pager( "\n\r", ch );
                 }
     }
     if ( col % 6 != 0 )
     send_to_pager( "\n\r", ch );
     return;
}

2. Compile :)

Thus quoth Sadiq:

That will organize, by level....the output looks something like this:

[Level 50]      command1        command2        etc.

[Level 51]      command1        command2        command3	commad4 etc.