Closed TAHuntling closed 2 months ago
Performed tests after merging with main and the previous sorting changes. Running /help
will show the list of help terms, alphabetically, and currently is configured to 10 commands at a time to be shown. Running /help 2
will show page 2 etc. If the user doesnt have a high enough gm, it will alert them that those commands dont exist.
Reverted code and reimplemented /help
feat: Help Command Pagination
Description: Changed HelpCommand to now be sorted into different pages for commands, which should help to further help users to find the correct commands they are looking for without having to scroll through a list of 92 commands.
Motivation and Context: Recommendation from Aron, and my own experience reading through the /help command list.
How Has This Been Tested?: Running my server and using the /help command will return page 1 of the command list. Running /help 1 will as well, but /help 2 and so forth will return that respective page number of commands (currently 10 commands per page). If a user tries to enter a command higher than the number of pages, it will say it is an invalid page number. Additionally, commands will only show up given the user has the proper GMLevel to use that command.