Slash Commands¶
Base¶
/aa [list (all | timers)] [info <abilityname> ] [act <abilityname> ]
/advloot {personal | shared} {set | <"item name"> | <#index> } <loot option> [ <quantity> ]
- Extends EverQuest's
/advloot
command to allow control of the advloot window, including item-specific control.
/alert { add | remove | clear | list } <#list> [ <Spawn Search> ]
- Used to manipulate alert lists which "watch" for spawns. Uses Spawn Search.
/alias <aliasname> <command> | [list | reload | <aliasname> delete]
/altkey <command>
/banklist
-
Displays an inventory of the currently logged in character in this format:
Bankslot#:Typeofcontainer -ContainerSlot1:Item -Containerslot2:Item -etc
/beep [ <filename> ]
-
Invokes a system beep (beep from the built-in PC speaker).
Adding filename will play a .wav file located in your Everquest directory. This function uses the In-game sound so while a normal /beep will sound if you have EQ muted, this will not.
If you prefer you can play the sounds in the Everquest "sounds" directory by using something like
/beep sounds/filename
/beepontells [on|off]
- Beeps when you receive a tell from another player. If no parameter is provided, it toggles the current setting.
/benchmark [<command>]
/bind [~]<name> [ <keycombo> | clear] | [list | eqlist]
/buyitem [<quantity>]
- Purchases the currently selected item from a merchant window. You must have an item selected in the merchant window for this command to work.
/cachedbuffs [cleartarget|reset]
- Clear cached buffs for your current target (cleartarget) or all cached buffs (reset).
/caption list | update <#> | MQCaptions [on|off] | reload | <type> <value>
- Customize spawn captions (names, titles, linkdead, etc.). You can also limit how many captions are processed to improve performance.
/captioncolor list | <"name"> [ off | on | <r g b> ]
-
Allows you to change the color of the captions that appear above the heads of PCs and NPCs, based on various factors.
Note: raid class colors can only be set through the raid options window.
/cast [ list | <"spellname"> | item <"itemname"> ] [ loc <x y z> ]
- MacroQuest adds additional functionality to EverQuest's
/cast #
(gem number) command: cast by spell name, use items that have a "click" spell effect, and cast splash spells at a specific location.
/cecho <text>
- Echoes the provided text verbatim. Escape codes are not supported.
/char
- Extends EverQuest's
/charinfo
to display character bind points. The alias/char
must be used if you want MacroQuest's information included.
/cleanup
- Closes all open windows and then opens inventory window.
/click [ left | right ] [ target | item | door | switch | center | <x> <y> ]
/combine pack<#>
/convertitem <"item name">
/crash [force]
/ctrlkey <command>
-
Execute command while telling the window manager that the ctrl key is pressed. Can also be used together with /altkey , /shiftkey , or both in this format:
/destroy
- Destroys whatever you have on your cursor with no confirmation, even if you have "Destroy Confirmation" enabled in your EQ options. Use with care.
/doability [list | <ability>]
- Extends EverQuest's doability command (/doability 1-10) to list available abilities and perform them by name or ID.
/docommand <command>
- Executes command, parsing MQ2Data first. This is useful for executing commands using MQ2Data that do not parse immediately, as well as executing a command stored in a variable.
/doors [ <filter> ]
- Lists all doors in the zone, or those that match filter.
/doortarget [ clear | id <#> | <name> ]
- "Targets" a door or Switch for further manipulation (eg. /face door). The targeting of doors, switches will not show up in the target window, however MQ will show indication of your /doortarget. Can target by ID or name.
/dosocial [ list | <social name> ]
- This command allows you to list all your current socials, by name and number, or activate them by name.
It is useful in that you could activate a social by name as long as it is in your social window without having to change hotbar pages, or call a social by name from a macro.
/drop
- Drops the item currently on the cursor.
/dumpbinds [ <filename> ]
/dumpstack
- For debugging macroscript, outputs the current macro call stack
/echo <text>
/engine <type version> [noauto]
- Allows for switching engines. Full documentation at https://gitlab.com/Knightly1/mq2-parser-changes
/eqtarget <name> | group <1-6>
- Functions identically to how
/target
worked prior to loading MacroQuest, targets<name>
or group member<#>
.
/exec <command> [ <parameters> | bg] [bg]
-
Executes the specified command as if from the command line. If parameters are passed in, it will execute those parameters. If "bg" is passed as either the second or third parameter, it will execute the program in the background, otherwise it executes in the foreground.
The Application Paths section in the MacroQuest.ini file allows you to specify aliases for applications, but it's not necessary for usage.
/executelink <link text>
- Simulates clicking on formatted link text.
/face [predict] [fast] [nolook] [away] [ loc <y,x[,z]> | heading <angle> | item | door|switch | id <#> | <Spawn Search> ]
/filter [macros {all|enhanced|none}] [skills {all|increase|none}] [target|money|food|encumber|debug {on|off}] [name {add|remove} <text> ] [zrange <#> ] [mq {on|off}]
- Extends the EverQuest command to allow filtering many types of messages, such as the annoying "You are out of food and drink" alert.
/flashontells [on|off]
-
* You can use it to turn flashing of the eq window on or off when you recieve a tell. * On/Off enables or disables * using just "/flashontells" will toggle the setting * Or just set it in MacroQuest.ini to FlashOnTells=1 in the [MacroQuest] section.
NOTE: You have to have tell windows enabled in options for this to work.
/foreground
- Brings the EverQuest game window that entered the command to the front of your desktop. Useful when switching between multiple EQ windows or other applications.
/framelimiter [COMMAND] {OPTIONS}
/getwintitle
- Retrieves and displays the current window title of the EverQuest client window. This is useful for debugging title changes made with /setwintitle.
/help macro
- Extends the EverQuest command to add the "macro" parameter, which lists all MacroQuest commands available to the client.
/hotbutton <name> [<color>] [<line>:][<cursor>:][<text>]
- Extends the built in /hotbutton command with multiple lines support, cursor attachment, and "names with spaces" (in quotes) support.
/hud [ normal | underui | always ]
/identify
- Displays further information about the item on the cursor, similar to the spell Identify and item lore displayed by MQ in the item stats UI window.
/ini "filename" "keyname" "valuename" "value"
/insertaug [ <itemID> | <"Item Name"> | <slot1> <slot2> ]
- Inserts an augment from your cursor into a target item. Requires an augment item on cursor, and automatically finds first available valid augment slot. It will bypass confirmation dialogs for attuneable items and solvents.
/itemnotify [ <slotname> | <#> | in <bag> <slot#> | <itemname> ] <notification>
- Simulates inventory interactions. Similar to /click without the mouse click.
/items [<filter>]
- * Lists all ground spawns and environmental containers in the zone that match filter * All items will be listed if no filter is supplied
/itemslots
- Lists available item slots, including equipped, inventory, bank, shared, current container, and so on. Output is in the following format:
[index]: [container location] [slot numbers] [item name]
/itemtarget "<itemname>"
- "Targets" a ground spawn or environmental container. The item targeted will not show up in the target window.
/keepkeys [off|on]
- Keeps keys that were pressed with /keypress, in their current state when a macro ends. /keepkeys with no arguments displays the current on/off state.
/keypress <name> [hold|chat]
-
Simulates key presses for keybinds (e.g. "jump", "forward"), virtual keyboard (e.g. "shift+b"), or direct chat window input. Does not physically press keys, making it safe for background operation.
Note: /keypress usage outside of a script is not recommended nor consistent.
/loadcfg <filename>
- Loads the specified .cfg file. To use .cfg files, see this guide.
/loadspells [list|<"name">]
- Loads or lists saved spell sets. Similar to /memspellset, but it only memorizes the spellset if it's not already memorized. This command was part of MQ years before EQ was inspired to add /memspellset.
/location
- Extends the EverQuest Y, X, Z coordinates to add the direction you're facing from a 16-wind compass.
/loginname
- Displays the login name of the account you are currently logged into.
/look [<angle>]
- Changes the angle you are looking. Angle can be any value between -128 (directly down) and 128 (directly up). The default for angle is 0 (straight ahead).
/lootall
- Automatically loots all non-"No Trade" items from corpses. If EverQuest's
/lootnodrop
command is enabled, it will loot all items. Otherwise, single No Trade items leave others lootable, while multiple No Trade items disable auto-looting entirely, requiring manual collection of all items.
/makemevisible
/memspell <gem> "<spellname>"
- Attempts to memorize "spellname" into gem gem. Any spellname with more than one word must be surrounded by quotes.
/mercswitch <type>
- Extends the default EverQuest command to add the
<type>
option. Valid types are: Healer, Damage Caster, Melee Damage, Tank. A list of your mercenaries, their types and indices can be found in the "Switch" tab of your/mercwindows
.
/mouseto <X or X offset> [ <Y or Y offset> ]
- Moves the mouse to the specified location. When an absolute location is specified (a number from 0 through 9) the mouse is moved to the absolute position. When a relative position is specified (using - or + in front of the X or Y) the mouse is moved by that offset.
/mqanon [*command*] [*parameters*] [*strategy*]
- Anonymization tool that filters words in-game, designed for streaming and recording. It handles both the active player and any party/raid/fellowship members. It does not grant full-fledged anonymization, but is a tool to help with the process of anonymizing words (names, guilds, etc) in-game. For more (especially for plugin authors), see the Anonymize feature.
/mqconsole [clear | toggle | show | hide]
/mqcopylayout <charname> <server> [res:<W>x<H>] [nohot] [noload] [nosoc] [none]
- Intelligent copying of EverQuest's UI layout. By default copies all options (hotbuttons, loadouts, socials) using the windowed resolution.
/mqlistmodules [<name>]
- List loaded modules in the MQ directory to help with debugging stuck and/or broken dependencies/plugins.
<name>
is a filter.
/mqlistprocesses [<name>]
- List relevant processes to help debug stuck and/or broken dependencies/plugins.
<name>
is a filter.
/mqlog clear | <text>
- This will log text to a log file in the "Logs" directory. Clear will delete everything in the log file.
/mqoverlay [reload | resume | stop | start | cursor [on|off] debug [mouse|graphics|fonts|cursor]]
- Simple controls for the imgui overlay in MacroQuest. If imgui crashes, it can be resumed with this command.
/mqsettings [Section to Open]
/mqtarget <option>
-
Targets whatever is matched by one or more of the following options:
clear Clears your current target mycorpse Your own corpse (nearest) myself Target yourself Anything Else Anything else is considered a Spawn Search
/msgbox <message>
- Creates a windows message box with message, user clicks "ok" to close.
/multiline <delimiter> <command> [ <delimiter> <command> [...] ]
/netstatusxpos <XXX>
- used for moving the X coordinates of the Network Status Indicator
/netstatusypos <XXX>
- Used to change the Y coordinates of the Network Status Indicator
/no
- Clicks "no" on in-game dialogues and popups. Technically not a command, this is an /alias that's included by default.
/nomodkey <command>
- Releases all ctrl/alt/shift keys while executing command
/noparse <command>
/notify <windowname> <control> [ <notification> [ <data> ] ]
- This command is used to interact with UI windows. It can simulate various mouse and keyboard interactions with UI elements.
/pet <action> <spawnid>
/pickzone <#>
/plugin <name> [ load | unload | toggle ] [noauto] | [list]
- The plugin command can be used to list all plugins currently loaded, to load a new plugin, or to unload a plugin that is already loaded. Loading a plugin will also add an entry to the [Plugins] section of the MacroQuest.ini file thereby loading it next session. Using the noauto switch prevents this modification to MacroQuest.ini from occurring.
/popcustom [<#color>] [<#seconds>] <message>
- Creates an in-game overlay message. See also /popupecho.
/popup <text>
-
Displays text in the center of your screen. Currently the text is a fixed font and color.
See Also: /popcustom
/popupecho [<#color>] [<#seconds>] <message>
- Same as /popcustom but also echos the message to chat.
/profile <profile>
- This runs a macro just like /mac does, but when the macro ends it will output a csv file of every subroutine that has been called, and how long it took. The file will be in Macros/profiles, named for the macro and the time it started.
/quit
- Extends EverQuest's
/quit
command to allow quitting from the character select screen.
/ranged [ <spawnID> ]
/reloadui
- It works just like /loadskin 1 but with less typing
/removeaug <augment> <item>
- Removes the specified augment from the specified item. Uses appropriate augment solvent from your inventory.
/removeaura <Name Of Aura>
/removebuff [-pet|-both] <Name Of Buff>
- Will remove a buff or song by the name of the buff. It can be used to remove buffs from the player, the pet, or both. By default it does a partial match, but you can force an exact compare with the equals sign.
/removelev
/removepetbuff <Buff Name>
- Removes a pet buff using either the buff name, or a partial name. If an exact match is required, the equals sign can be used to force the exact match.
/screenmode <#>
/selecitem "itemname"
- Selects items in your inventory when you have a merchant open. /selectitem "bottle of" will select a "bottle of vinegar" you can also do "=bottle of vinegar" to match EXACT name (its not case sensitive though)
/sellitem [<#quantity>]
- Sells the selected item. If # is specified it will sell that # of a stacked item.
/setautorun
- Creates an ini entry in Macroquest.ini that performs a command automatically after entering world. This may be deprecated in favor of .cfg files.
/setprio <#priority>
- Sets process priority (like in Windows Task Manager), where 1 is low 2 is below normal 3 is normal 4 is above normal 5 is high and 6 is real time. The default value is 3.
/setwintitle <Window Name>
- Sets the window title (the name shown at the top of the window and in the task bar tray) to whatever text you specify.
/shiftkey <command>
-
Execute command while telling the window manager that the shift key is pressed. Can also be used together with /altkey , /ctrlkey , or both in this format:
/skills [ <skillname> ]
- Lists the skill level(s) that match skillname if provided, or all possible skills if no parameter given.
/spellslotinfo [#|"<spell name>"]
-
You can use this to see the spell slot
Information for any spell without having to right-click display through the ItemDisplay plugin.
/spew [on|off]
- Enables or disables the output of Debug Spew to the "\Logs\DebugSpew.log" file.
/squelch <command>
-
Executes command while preventing any output from that command.
Basically, it does the following:
/target <option>
- Targets yourself, your corpse, or a spawn search. Replaces the native
/target
and its functionality.
/taskquit [<name>]
- MacroQuest extends the
/taskquit
command to quit solo tasks by specifying the exact task name.
/timestamp [on|off]
-
Toggles timestamps on all chat messages. It can be set in MacroQuest.ini via
TimeStampChat=1
(1=ON, 0=OFF) in the [MacroQuest] section.NOTE:
The timestamp is added before the message reaches game UI but after MQ's chat event processing. This should not have any adverse effects when turned on.
/timed <#deciseconds> <command>
/tloc
- Returns your target's location. Technically not a command, this is an alias that's included by default.
/unload
- Unloads MacroQuest.
/useitem <item name>
- Extends the default EverQuest command to support partial matching for the item name.
/usercamera [ <0-7> |on|off|save [ <charname> ]|load [ <charname> ]]
/where [ pc | npc ] [ <spawnname> ]
-
Lists where the closest PC, NPC or spawnname is. The message returned is:
text The closest 'spawnname' is a level # <race> <class> and <distance> away to the <direction>, Z difference = #.##.
/who [concolor | sort <metric> | all | <spawn search>]
- Searches the current zone for spawns matching the specified Spawn Search or other options.
/whofilter lastname|class|race|body|level|gm|guild|ld|sneak|lfg|npctag|spawnid|trader|afk|anon|distance|light|holding|concolor|invisible [on|off]
- Toggles the display of the specified spawn(s) when using /who
/whotarget
- MQ enhances this EQ command by allowing you to use it on any target (including NPCs). Output is the same as the /who command (set by /whofilter), displaying the target's class, race, level, guild, con color, and distance regardless of the player being in anonymous or roleplaying mode.
/windows [ <windowname> | open ]
- Lists all available UI windows. These are usable with /notify. You can alternately use the Window Inspector within the /mqconsole to find windows and controls.
/windowstate <window> [open|close]
-
Opens or closes the specified window.
Notes
- These commands affect the client at an unnecessarily low level
- The best practice is to use /keypress for opening that window instead
/yes
- Clicks "yes" on in-game dialogues and popups. Technically not a command, this is an /alias that's included by default.
Macroing/Flow Control¶
/break
/call <subroutine> [Param0... [Param#]]
/clearerrors
-
Clears each of the last errors in the macroquest type:
- ${MacroQuest.Error}
- ${MacroQuest.MQ2DataError}
- ${MacroQuest.SyntaxError}
/continue
/declare <varname> | <varname[array extents]> [ <type> ] [ local | global | outer ] [ <defaultvalue> ]
- This creates a variable or array of a particular type with a particular scope, and a default value if desired. The parameters must be given in order, but any after varname may be skipped to use the defaults.
/delay <#deciseconds>[s|m] [ <condition> ]
-
Fully pauses the macro for the amount of time specified, or until condition is met.
Time can be specified in 10ths of a second (a number by itself) or in seconds (number followed by an "s") or minutes (number followed by "m").
/deletevar <varname> [* global]
- Deletes the variable varname. Using
* global
will delete all global variables.
/doevents [ flush ] [ <specificevent> ]
- Runs the first event of any type in the queue, flushes all queued events, or runs/flushes just the specificevent event.
/endmacro
- Stops the current macro.
/for <varname> <initial-value> to|downto <final-value> [step <interval>]
/next <varname>
- This runs all commands between the /for line and the /next line, after which it increments/decrements the varname number (#1) by step number (#3) (default is 1) before running through the commands again. It will keep doing this until the varname number equals #2. You can end a /for loop immediately with /break or try the next iteration with /continue.
/goto :<labelname>
/if ( <formula> ) {
<commands>
} [ else [/if ( <formula> ) ] {
<...>
} ]
- This will run all commands between the braces ( {} ) if formula evaluates to something other than 0.
/invoke ${TLO.[XXX].Action}
- This will invoke the action portion of some of the new TLO additions. This has the potential to shorten macros and make them more powerful.
/listmacros [<filter>]
- * Lists all files in the "Macros" directory that match filter * Results are sorted alphabetically
/macro <filename> [ <param0> [ <param1> [...]]]
/mqpause [on|off] | chat [on|off]
/for <varname> <initial-value> to|downto <final-value> [step <interval>]
/next <varname>
- This runs all commands between the /for line and the /next line, after which it increments/decrements the varname number (#1) by step number (#3) (default is 1) before running through the commands again. It will keep doing this until the varname number equals #2. You can end a /for loop immediately with /break or try the next iteration with /continue.
/return [value|${varname}]
/seterror [ <error> ]
- * Sets ${MacroQuest.Error} to error * Omitting error will clear ${MacroQuest.Error}
/varcalc varname <formula>
- * Sets a variable directly to the numeric result of a calculation (formula) * Keep in mind that the type of the variable may itself reject this value depending on what you give it * This will not work on strings!
/vardata varname <newMQ2Datavalue>
-
Sets a variable directly to the end result of a MQ2Data string.
*To use this, do not put ${} around the outer data to parse.
/varset varname [ <newvalue> ]
-
Sets a variable directly to a new value.
/while (condition) {
`...`
}
- Executes the commands between { and } while the expression condition evaluates to true. Note that } must be on a line by its own. You can end a /while loop immediately with /break or try the next iteration with /continue.
From Core Plugins¶
AutoLogin¶
/loginchar [server:character|profile_server:character|server^login^character^password|server^login^password]
/relog [<#>s|<#>m]
- Logs out the current character and automatically logs back in after 10 seconds or specified delay. e.g.
/relog 5m
for 5 minutes.
/switchchar <name>
- Logs out of the current character and logs back into the specified character on the same server and account.
/switchserver <server short name> <character name>
- Logs out of the current character and logs back into the specified server and character using the same account credentials.
Bzsrch¶
/breset
- Stops and resets the current bazaar search.
/bzquery
- The same as clicking the "find items" button on the bazaar window.
/bzsrch [params] [name]
ChatWnd¶
/mqchat [reset | ui | autoscroll {on|off} | NoCharSelect {on|off} | SaveByChar {on|off}]
/breset
- Clears the chat buffer in the ChatWnd.
/mqfont <#>
- Sets the font size in the MQ window, from 1 to 10. Default is 4.
/mqmin
- Minimizes the ChatWnd.
/setchattitle <title>
- Sets the title of the ChatWnd. By default, it's "MQ".
/style [!]0xN
- Set the style bit corresponding to 0xN or unset it if ! is supplied. See EQ documentation for further details about WindowStyle.
CustomBinds¶
/custombind [ list ] | [add|delete] <bindname> | [set|clear] <bindname>[-down|-up] [command]
- This command is used to add, delete, list or change custom key bindings. See /bind and /dumpbinds.
HUD¶
/classhud {on|off}
- Loads the HUD section for your class. You must have a
[Class]
section inMQ2HUD.ini
.
/defaulthud
- Loads the default HUD.
/loadhud <HUDName>
- Load the specified HUD from the configuration file. e.g.
/loadhud elements
/unloadhud <HUDName>
- Unload the specified HUD from the configuration file. e.g.
/unloadhud elements
/zonehud {on|off}
- Toggles loading the HUD section for the current zone. You must have a
[zone]
section inMQ2HUD.ini
, long names are used.
ItemDisplay¶
/inote <add|del> <itemno> <comment>
- Adds a note to the display window for a the specified item. The comment can contain html
<br>
tags to break the line of text.
/itemdisplay [LootButton|LucyButton] [on|off] | reload
- Controls display of the advanced loot buttons and lucy button on the item display and spell windows.
Map¶
/highlight [reset | <spawnfilter> | size | pulse | [color # # #]]
- Highlights the specified spawn(s) on the in-game map. Accepts partial names or any terms from Spawn search. You can also specify a color, font size, and pulse for the highlight.
/mapactivelayer [0 | 1 | 2 | 3]
- Changes active map layer.
/mapclick [left] {list|<key[+key[...]]> {clear|<command>}}
- Define custom commands to execute when clicking on an in-game map object while holding down a specific key combination.
/mapfilter <filter> [show|hide] [color <R# G# B#>]
- This controls what appears or does not appear on the in-game map. There's a nice GUI for these filters in /mqsettings.
/maphide [<spawnsearch> | reset | repeat]
- This will hide spawns from the map, using Spawn search. Hidden spawns are in effect until you reset /maphide, or the mapped spawns are regenerated (such as changing certain map filters).
/maploc <x> <y> [<z>] [options] | [options]
- Places a big X on a location or target. Helpful when you're given a loc and want to see it on the map. It's as simple as
/maploc 1 2 3
/mapnames {target | normal} <option> | reset
- Controls how spawn names are displayed on the map, from minimal information to a very log name with ID#, class, race, level, etc. With no arguments, /mapnames will display the current settings for target and normal (both are set to %N by default).
/mapshow [<spawnsearch> | reset | repeat]
- This will show spawns on the map, using Spawn search. Shown spawns are in effect until you reset /mapshow, or the mapped spawns are regenerated (such as changing certain map filters). Repeat will save the state and apply it to future sessions.
TargetInfo¶
/targetinfo [perchar | distance | info | placeholder | sight | reset | reload] [on|off]
XTarInfo¶
/xtarinfo perchar [on | off] | distance [on | off] | reset | reload
- Toggle settings on the XTarInfo plugin.
perchar
will allow unique settings for each character, anddistance
will show distance to target.reset
will reset the plugin to default settings, andreload
will load settings from the plugin's config.