IMM_MWHERE

Keywords: IMM_MWHERE, WIZ_MWHERE

Category: Admin

=== STAFF MANUAL === Usage: mwhere <keyword> mwhere <vid> Description: Find every live mob instance in the world that matches a search term, showing each instance's current room. Use it to track a specific mob across the game, to verify that a reset actually spawned what the zone file says it should, or to chase down a stray instance that has wandered away from its usual spawn point. Search Modes: The argument is parsed first as a virtual ID; if it is a well-formed VID, the search matches mobs whose prototype VID is exactly equal. Otherwise the argument is treated as a keyword and matched against each mob's keyword list via isname. Short-form VIDs (:<number>) inherit the current room's zone, so searching for a mob in the zone you are standing in does not require repeating the zone tag. Output: Each matching instance produces a numbered row: M<n>. <name> - [<room vid>] <room name> Where <n> is the match number, <name> is the mob's short description, and the bracketed pair is the room the mob currently occupies. If no matches are found, the command prints: Couldn't find any such thing. Visibility: The search honors normal staff visibility -- mobs you cannot see are silently skipped. Mobs not currently in a room (for example, sitting in a reset queue) are also skipped, since the command can only print live, placed instances. Restrictions: - Available to any immortal. No permission flag is checked; the level gate in the command table is the only guard. - An empty argument prints the usage block and performs no search. - Results are paged inline; there is no filter for capping the number of hits, so a broad keyword on a heavily populated world can produce a long list. Notes: - For objects, see owhere. For a player-name search, see where. - mindex <zone> gives a zone-scoped view of mob prototype counts; mwhere is the complementary live instance locator. Related Helpfiles: WIZ_OWHERE, WIZ_WHERE === END MANUAL ===