Moderator: MacroQuest Developers



Do you see it? I don't./buyitem #
Buys # of the items selected in the merchant inventory (stackable only)
/call subroutine [Param0... [Param#]]
Calls a subroutine (defined by Sub <name>)
/call MySub left Executes Sub MySub
/call MySub varname1 varname2 ...[varname#] Executes Sub Mysub and passes parameters
/cast ["spellname"|"@varname"]
- [item "itemname"]
Will cast the specified spell, or perform a right click of an item that has a right click spell
/cast "complete heal"
/cast item "mana robe"
/cast "@SpellName"
/cast list
/charinfo
Returns Your current bind zone and location.
You are bound in zonename at x, y, z
/cleanup
Closes all open windows and then opens inventory window
/click left|right [corpse|target|windowloc] [ [+-]x [+-]y ] [slotname] [pack # [ combine|done] [slot#] ]
Clicks the left/right mouse button at coordinates or a defined location. Used to interact with objects.
Examples:
/click left Performs a left mouse click at the current mouse position
/click left 100 100 Performs a left mouse click at 100 100
/click left +30 -30 Performs a left mouse click 30 pixels right and 30 pixels up from the current location
/click right lfinger Performs a right click of the left finger slot
/click left pack 4 done Performs a left click on the DONE button of pack 4
/click right target Performs a right click on your current target
/click left pack 3 0 Performs a left click in pack 3 slot 0
/declare varname global | local | timer | array | array2
Sets varname as a global, local, timer, one dimensional array or two dimensional array
/delay # | @varname[s | m]
Fully pauses macro for a set amount of time. #|@varname is in 10ths of a second (or suffixes s/m)
/delay 5 Delays the macro execution for 5 tenths of a second
/delay 1s Delays the macro for 1 second
/delay 1m Delays the macro for one minute
C
Top
/call subroutine[Param0 [Param#]]
Calls a subroutine (defined by Sub name)
Examples:
/call MySub left
Executes Sub MySub and passes left
/call MySub varname1 varname2
Executes Sub Mysub and passes varname1 varname2
/caption list|type value|update #
Command that sets the custom captions from in-game. Using this command will also change the ini settings for the particular level.
EQ itself constantly updates the name of every spawn in the zone, even though only a small portion of those are displayed. Using /caption allows you to modify how many spawn captions updated. The default setting for /caption update is 35.
Also see NamingSpawn
Player1 through Player4 in MacroQuest.ini are directly related to which /shownames level you use.
Player1 is linked to /shownames 1
Player2 is linked to /shownames 2
Player3 is linked to /shownames 3
Player4 is linked to /shownames 4
Example
Player1=${If[${NamingSpawn.Trader},Trader,]}${If[${NamingSpawn.Invis},(${NamingSpawn.DisplayName})
Use "\n" to add a new line when setting captions
To use the default (EQ settings) clear the specific setting(Player1-Player4) in the ini using :
/caption Player1
You can also configure Player1 - Player4 from the EQ client using
/caption Playern configsettings
Example
/caption update 20
Sets the number of nearest spawns for MQ2 to update the name of each pass to 20. By default, this is 35.
Look at the Macroquest.ini file in the zip file under [Captions] for examples of configuring Player1-Player4.
/captioncolor list | [name off|on|# # #]
Allows a lot of custom spawn caption coloring.
The caption of marked NPCs or assist NPCs can be a specific color, the caption of bankers and merchants can be a set color.
NPCs can be done by con color. All spawns can be done by CLASS color (using the raid settings).
Note that you can only set the raid class colors right now through the raid options window. You can open this window by typing
/windowstate raidoptionswindow show
Examples
/captioncolor list
/captioncolor pcclass on
/captioncolor pctrader on
/captioncolor pctrader 255 128 0
name that can be used
PC OFF (Default color for PCs)
PCCon OFF (PCs by con color)
PCPVPTeam OFF (PCs by PVP team color)
PCRaid OFF (Raid members))
PCClass OFF (PCs by class color(raid settings))
PCGroup OFF (Group members))
PCTrader ON Color: 255 127 0. (Traders)
NPC OFF (NPC default color))
NPCCon ON (NPCs by con color))
NPCClass OFF (NPCs by class color (raid settings))
NPCMerchant ON Color: 255 127 0. (NPC Merchants)
NPCBanker ON Color: 200 0 255. (NPC Bankers)
NPCAssist ON Color: 255 255 0. (NPCs from main assist))
NPCMark ON Color: 255 255 0. (Marked NPCs)
PetNPC OFF (Pet with NPC owner)
PetPC OFF (Pet with PC owner)
PetClass OFF (Pet by class color (raid settings))
Corpse OFF (Corpses))
CorpseClass OFF (Corpse by class color (raid settings))
/cast ["spellname"|"${varname}"]
- [item "itemname"]
Will cast the specified spell, or perform a right click of an item that has a right click spell
Examples:
/cast "complete heal"
/cast item "mana robe"
/cast "${SpellName}"
/cast list
/charinfo
Returns Your current bind zone and location.
You are bound in zonename at x, y, z
/cleanup
Closes all open windows and then opens inventory window
/clearerrors
Clears each of the "last errors" in the macroquest type
/click left|right target | itemname [ [+-]x [+-]y ]
Clicks the left/right mouse button at coordinates or on a target.
/click will give an error if used with something other than item, target, or an x,y.
Use /notify to deal with user interface or /itemnotify to do stuff to items (pick them up, select them, right click, whatever)
Examples:
/click left
Performs a left mouse click at the current mouse position
/click left 100 100
Performs a left mouse click at 100 100
/click left +30 -30
Performs a left mouse click 30 pixels right and 30 pixels up from the current location
/click right target
Performs a right click on your current target
/combine pack
Activates the Combine button combine of pack
/ctrl command
Execute a command while telling the window manager that the ctrl key is pressed. Can also be used together with /alt and/or /shift, as in
/ctrl /alt /shift command
/custombind list [add|delete bindname] [set|clear bindname [-down|-up] command(s)]
* "/custombind list" will list all of your custom binds names and commands (the key combinations must be set using /bind)
* "/custombind add <name>" will add a new bind name for use here, with /keypress, /bind, etc.
* "/custombind delete <name>" will remove a custom bind
* "/custombind clear <name><-down|-up>" will clear a specific command for a custom bind. If up or down is not specified, defaults to down.
* "/custombind set <name><-down|up> <command>" will set a specific command for a custom bind. If up or down is not specified, defaults to down.
* Example usage (NOTE: MQ2's very first bind command is "RANGED" so you do not need to do this, but for example)
/custombind add mybind
/custombind set mybind /ranged
/bind mybind n

