IMM_TITLE

Keywords: IMM_TITLE, WIZ_TITLE

Category: Admin

=== STAFF MANUAL === Usage: title title <new title> Description: Set your own character's title -- the flavor text that appears after your name in who listings, score screens, and other places where your character is introduced. Running title with no argument clears the title. To set a mortal's title, use set <player> title <text> instead; this command only edits the caller's title. Titles on this MUD are staff-only. The command table gates title at LVL_IMMORT, which is level 1001 -- mortal characters cannot invoke it at all. Behavior: The new title is taken from the rest of the command line after the command name. Input is normalized as follows: Leading spaces .... Stripped via skip_spaces. Dollar signs ...... delete_doubledollar collapses $$ to $ so the title does not double- escape in act messages. Length cap ........ MAX_TITLE_LENGTH. A title longer than the cap is rejected with: "Sorry, titles can't be longer than <N> characters." Output: On success you see: Okay, you're now <YourName> <new title>. Restrictions: - Available to any immortal. No permission flag is checked; the level gate in the command table (LVL_IMMORT = level 1001) is the only guard. - NPCs are rejected with "Your title is fine... go away.". - Characters flagged PLR_NOTITLE by notitle are refused with: "You can't title yourself -- you shouldn't have abused it!" Notes: - Staff can rewrite another character's title with set <player> title <text> or string character <name> title <text>, regardless of the target's PLR_NOTITLE flag. - To flag another character NOTITLE so they can no longer retitle themselves, see the notitle staff command. Related Helpfiles: WIZ_SET === END MANUAL ===