IMM_WIZHELP

Keywords: IMM_WIZHELP, WIZ_WIZHELP

Category: Admin

=== STAFF MANUAL === Usage: wizhelp wizhelp <player> Description: Display the staff commands available to you (or to another staff member), grouped by the permission flag that unlocks each one. Use it to check which commands your current permission set gives you access to, to verify a permission change you just applied with allow / deny, or to audit what another staff member can currently do. Target: wizhelp ......... List the commands available to you. wizhelp <name> .. List the commands available to the named player. Resolves with normal staff visibility; unknown targets or NPCs return "Who is that?". Non-staff invokers are refused with "You can't see the commands of other people.". Output: The listing opens with a header: The following privileged commands are available to <you | name>: It then walks each permission flag the target holds, printing a section header for the flag followed by the matching commands in 5-column rows of 15-character cells: <PERMISSION>: cmd1 cmd2 cmd3 ... After the permission-grouped sections, a final LEVEL: section lists any staff commands that are gated purely by minimum level (not by a permission flag) and reachable by the target's level. The listing closes with a reminder on how to drill into a specific command: Type help wiz_<command> for more information on a command. Permission Groups: The command iterates the first 17 permission bits on StaffPermissions, skipping bit 13 (STAFF_UNUSED). Each row shown under a permission header is filtered to commands whose staffcmd mask includes that bit and whose full mask is covered by the target's flags -- so commands that require a combination of two or more bits only appear once the target actually holds all of them. Restrictions: - Available to any immortal -- the command table sets the minimum level at LVL_IMMORT (level 1001). - Viewing another character's commands requires that you be staff yourself. Mortal invokers get refused even if they pass a name argument. - The target of an argument form must resolve to a visible player character; NPCs and unknown targets are rejected. Notes: - The section is paged via SendPaged, so long listings break across screens. - Use allow / deny after scanning a target's wizhelp to make precise permission changes rather than blanket flag toggles. - Related listing views for mortals and socials are available through the commands and socials commands, which share the same dispatcher under different subcmds. === END MANUAL ===