Getting Started¶
MacroQuest¶
Check out MacroQuest if you are interested in building it for yourself, otherwise head to RedGuides for a more streamlined experience.
Lua Scripts¶
MacroQuest added support for Lua scripts as an alternative to the existing macro scripting language. In addition to all the capabilities available to macros, these also have the ability to use ImGui to create new UI windows to go with the scripts.
Installing a Lua Script¶
Manual Install¶
Lua scripts may come packaged as either a single .lua file download such as eval.lua or as a zipped folder such as boxhud.zip.
- Downloads consisting of a single
.luafile should be placed directly into the MQluafolder, or wherever the resource specific install instructions instruct for files to be placed. - Downloads consisting of a zip file should be unzipped, and the resulting folder should be placed into the MQ
luafolder, or wherever the resource specific install instructions instruct for files to be placed.
RedGuides Launcher¶
- Navigate to the resource page for a given Lua script, such as BoxHUD, and click the
Watchbutton on theOverviewtab. - Open the RedGuides Launcher and install the Lua resource from the
Luatab.
NOTE: Some scripts may perform additional install steps when they are run, such as prompting the user to accept the download of a separate
dllfile such aslfs.dll.
Running a Lua Script¶
/lua run scriptnamewherescriptnameis the launch script for the resource, such asevalor the name of the unzipped folder such asboxhud.
Autostart Lua Scripts¶
For ALL Characters:¶
- Right click your MQ tray icon in the taskbar and select
Open Folder>Config - Create a new file
ingame.cfg, or open it if you already have one. - Add the line
/lua run scriptnamewherescriptnameis the script you want to run, such asboxhudorlem. - Save and close the file.
- Test in game by running
/loadcfg ingame.cfgor by logging in a character.
For a SPECIFIC Character:¶
- Right click your MQ tray icon in the taskbar and select
Open Folder>Config - Create a new file
server_Character.cfg, or open it if you already have one, whereserveris replaced with your EQ server short name, andCharacteris replaced with your character name. For example,rizlona_Dudebro.cfg. - Add the line
/lua run scriptnamewherescriptnameis the script you want to run, such asmauiorluabard. - Save and close the file.
- Test in game by running
/loadcfg server_Character.cfgor log in the character.
NOTE: If you created
ingame.cfgorserver_Character.cfgusingNotepad, like by right clicking in your config folder and selectingNew>Text Document, then the file was probably saved with the wrong file extension, likeingame.cfg.txt. You will need to remove the.txtfile extension before it will work.