Where (command)

Syntax

  • Where [options]

Optional Parameters

  • ByName|ByDist|ByType|ByLevel
    • By using the where command with one of these options, you will get all of the entities surrounding the character sorted by either Name, Distance, Type, or Level.
      • Note:  If you use Where without any argument, you will get the same list as if you had used ByLevel.
  • Distance #
    • This command will use the number given a 'maximum distance' and return any entities within that radius.
  • Type [level] or [LowLevel] [HighLevel]
    • This command, if used with the type alone, will return all of the entities surrounding the character that match the type given.
    • If used with a single number ([level]), it will return all of the entities surrounding the character which match that level exactly.
    • If used with with two numbers ([LowLevel] [HighLevel], it will return all of the entities surrounding the character which fall into the given level range.
    • "Type" names are as follows

pc
npc
nokillnpc
resource
tradeskillunit
special

  • <Level> [HighLevel]
    • If used with one numerical argument, this command will return any entity surrounding the character which matches the level given exactly.
    • If used with two numerical arguments, this command will return any entity surrounding the character which fall into the given level range.
  • Name
    • If the command is used with any character string which is not one of the 'types' listed above, it will assume that you are searching for a specific entity and will return any entities that are either a partial or exact match for the 'Name' given.

Description

This command gives you a listing of the current entities within a radius around your character. It works in a similar fashion to the 'superwho' function found in the MacroQuest project.

Examples

  • where byDist
    • lists the entities sorted by distance
  • where npc 21 50
    • lists the entities around you that are killable NPCs and between levels 21 and 50
  • where resource
    • lists all of the resource nodes close to where you are standing
  • where vulr
    • lists all of the entities around you that contain 'vulr' somewhere in the name.

Technical Notes

  • This command is not an active hack except in the method by which it sends the information to the player (The data being displayed is just sitting in memory). However, even that is only a detouring of a function which should not send up any red flags. The function used is identical to the one used in the 'EQ2Echo' command.
  • The radius from your character for which entities are listed in the /where command varies. The average that I have seen is 100-150.
  • The Heading and Distance values listed do not account for movement of the entity and/or server wonkiness. I've found that it is generally correct; however, when the data is updated in memory, you might find things shifting slightly as the server corrects itself.
Add picture from clipboard (Maximum size: 95.4 GB)