IMM_WHERE

Keywords: IMM_WHERE, WIZ_WHERE

Category: Admin

=== STAFF MANUAL === Usage: where where <keyword> where <vid> Description: Staff-level locator command. The two forms do very different things: where ............ With no argument, lists every online player and the room they are currently standing in. Switched staff show both their original character and the mob they are puppeting. where <term> .... With an argument, searches the world for mobs and objects (not players) that match the term, printing each instance with its location. The combined output is equivalent to running mwhere and owhere on the same term back to back. The argument is parsed first as a virtual ID; if it is a well-formed VID, matches are based on prototype VID equality. Otherwise the argument is treated as a keyword and matched against each mob's or object's keyword list via isname. No-Argument Output: A header "Players" followed by an underline, then one row per visible, in-room player: <Name> - [<room vid>] <room name> Staff currently switched into a mob are displayed with an extra suffix identifying the puppet body: <Name> - [<vid>] <room> (in <mob>) Players you cannot see are silently skipped. Targeted Output: Mob matches use the same row format as mwhere: M<n>. <name> - [<vid>] <room> Object matches use the full print_object_location family, so you see: O<n>. <name> - [<vid>] <room name> O<n>. <name> - carried by <holder> O<n>. <name> - worn by <wearer> O<n>. <name> - inside <container>, which is... O<n>. <name> - in an unknown location If neither the mob sweep nor the object sweep found anything, the command prints: Couldn't find any such thing. Restrictions: - Available to any immortal -- the command table sets the minimum level at LVL_IMMORT (level 1001). Mortals have no equivalent. - The search respects normal visibility. Hidden mobs and objects, and objects carried by invisible characters, are silently excluded. Notes: - where with an argument does not search for players. Use the no-argument form to find a player by scanning the full list. - For a mobs-only or objects-only listing, prefer the dedicated mwhere / owhere commands, which produce identical rows but without mixing the two searches. Related Helpfiles: WIZ_MWHERE, WIZ_OWHERE === END MANUAL ===