DataType:macroquest

From the wonderful RedGuides Wiki

Data types related to the current MacroQuest session. Inherits DataType:everquest


This Data Type is referenced in MacroQuest, and accessed by Top-Level Object(s): MacroQuest

Members

Type Member Description
bool Anonymize Is anonymized with Command:/mqanon?
int Build The client this build (or at least MQ2Main.dll) was made for.
  1. = Live
  2. = Test
  3. = Beta
  4. = Emu
Parser Which parser engine is currently active
string BuildDate Date that MQ2Main.dll was built
BuildName The name of the client this build was made for. (Live, Test, Beta, Emu)
Error Last normal error message
InternalName The internal name from MQ2Main.dll ("Next")
MQ2DataError Last MQ2Data parsing error message
Path[Option] Returns MacroQuest path on local drive. Returns specific path with available index options: root/config/crashdumps/logs/mqini/macros/plugins/resources
SyntaxError Last syntax error message
Version The full version of MQ2Main.dll

Inherits everquest

You may also use members of everquest, shown here: [ Toggle ]

Type Member Description
bool ChatChannel[name] Returns TRUE if name is joined
Foreground Returns TRUE if EverQuest is in Foreground
IsDefaultUILoaded returns a bool true or false if the "Default" UI skin is the one loaded
LayoutCopyInProgress Returns TRUE if a layoutcopy is in progress and FALSE if not.
LClickedObject Returns TRUE if an object has been left clicked
ValidLoc[X Y Z] returns true if the X Y Z location in the world is a valid player location.
charselectlist CharSelectList[#] Access the CharSelectList members. # is the index of the specific character.
float UiScale Returns current /ui scale
int ChatChannels Returns the number of channels currently joined
MouseX Mouse's X location
MouseY Mouse's Y location
PID The client's Process ID
Ping Your current ping
Running Running time of current session, in milliseconds
ScreenMode Returns the screenmode as an integer, 2 is Normal and 3 is No Windows
ViewportX EverQuest viewport upper left (X) position
ViewportXCenter EverQuest viewport center (X) position
ViewportXMax EverQuest viewport lower right (X) position
ViewportY EverQuest viewport upper left (Y) position
ViewportYCenter EverQuest viewport center (Y) position
ViewportYMax EverQuest viewport lower right (Y) position
int64 HWND Window handle.
string ChatChannel[#] Returns the name of chat channel #
CurrentUI return a string representing the currently loaded UI skin
GameState Returns one of the following: CHARSELECT INGAME PRECHARSELECT UNKNOWN
LastCommand Last command entered
LastTell Name of last person to send you a tell
LoginName Your station name
Path returns EverQuest's install path on the local drive
PPriority Returns the processor priority that Everquest is set to. Where 1 is Low 2 is below Normal 3 is Normal 4 is Above Normal 5 is High and 6 is RealTime
Server Short name of your server. Find a list here, Server short names
WinTitle Titlebar text of the Everquest window.
window LastMouseOver Returns information on the last window you moused over. Handy to add .Name

See also