EQ Autocomplete
Start typing. It finishes the command.
A floating command box that completes commands, options and live game values as you type, and learns what you use most.
Click a suggestion to take it. Drag the :: grip to move the box. Right-click the grip for options: keep focus, show syntax, lock, rows, hide.
Requires MacroQuest. Optional: MQ2DanNet or EQBC (your characters' names), Magellan (zone list), MQ2CustomBinds (ships with MacroQuest; used for the hotkey, see below).
The highlighted suggestion shows as grey text after the cursor, and clicking a suggestion also completes it. Drag the
You can camp and log in another character without restarting it: it saves when the character leaves the world, hides the box at character select, and switches to the new character's learned usage and settings when that one enters the world.
The key is a MacroQuest key bind, so MacroQuest saves it for all your characters. A game window that is already running gets it the next time the script starts there.
The key uses MQ2CustomBinds. It ships with MacroQuest and is loaded by default; if you have unloaded it, the script loads it when it needs it with
Start typing. It finishes the command.
A floating command box that completes commands, options and live game values as you type, and learns what you use most.
Why you'll want it
- Every documented command. All EQ and MQ commands, plus VV plugins (like MQ2Nav, MQ2DanNet, MQ2MoveUtils...) with their short forms:
/nav,/dex,/dgge. - Knows what comes next. Type
/navand it offersspawn,target,loc... with the command's syntax shown underneath. - Live values from your game. Your logged-in characters, group and raid. Spawns within 100 units. Zones, matched on the long name too: type
knowl, getpoknowledge. Your gems, clickies, discs, buffs and abilities. Lua scripts, macros, plugins and DanNet groups. - Works through broadcasts. After DanNet (
/dex Name,/dge,/dgae...), EQBC (/bca //),/timed,/squelchor/noparse, the rest of the line completes like any command:/dgae /nav spawn Alice,/dex Bob /rgl pullmode camp. - Popular plugins built in. Class plugins (
/shd,/shm,/brd..., your own class first) and RGMercs (/rgl). More on the way. - Your aliases too, straight from MacroQuest.ini.
- Learns from you. The commands, names and options you use most rise to the top.
- One key away. Set a keybind that opens the box with
/already typed.
Get started
/lua run eq-autocompleteKeys
| Key | What it does |
|---|---|
| Tab, or Right arrow at the end of the line | Take the highlighted suggestion |
| Up / Down | Pick a suggestion. With none showing, recall lines you sent before |
| Enter | Run the line. A missing / is added |
| Escape | Clear the line; press again to leave the box |
Click a suggestion to take it. Drag the :: grip to move the box. Right-click the grip for options: keep focus, show syntax, lock, rows, hide.
Commands
/eqac | Toggle the box |
/eqac show | Show it, ready to type |
/eqac hide | Hide it |
/eqac key <shortcut>e.g., /eqac key \or /eqac key shift+/ | Set a keybind that opens the box (any combination). /eqac key off removes it, /eqac key shows it |
Good to know
- Your data stays on your PC, one set per character, in
\config\eq-autocomplete\: what it learned, your recent lines and the box's options. Characters don't share it, and nothing is sent anywhere. Delete a character's files to start it over. - Plugin commands show up if the plugin is loaded when the script starts. Loaded one later? Restart the script.
- The hotkey starts the script if it isn't running. It's saved for all your characters.
Feedback welcome
Bug reports, and commands it gets wrong or doesn't know, are welcome.eq-autocomplete
A floating command box for MacroQuest with autocomplete. Start typing a command and it suggests the rest: the command itself, the options its syntax allows next, and live values from the game such as your other characters, nearby spawns, zones, memorized spells, clickies and Lua scripts. Press Tab to take a suggestion and Enter to run the line. It learns which commands and arguments you use most and puts them first.Installation
Copy theeq-autocomplete folder into your MacroQuest lua folder, so that you have lua\eq-autocomplete\init.lua, then in game:
Code:
/lua run eq-autocomplete
What it knows
- Every publicly listed EverQuest and MacroQuest command, from the RedGuides command docs, including the plugins documented there (MQ2Nav, MQ2DanNet, MQ2MoveUtils...), with their documented abbreviations (
/nav,/dex,/dgge...). A plugin's commands show up if the plugin is loaded when the script starts (KissAssist's, RGMercs', GuildClicky's and Lootly's always do). A plugin loaded later shows up after the script is restarted. - Common commands for popular plugins and scripts. I'm adding these over time. Already in:
- the CWTN class plugins (
/shd,/shm,/brd...), with the commands listed on each plugin's RedGuides page. Your own class's command comes first. - RGMercs (
/rgl), with the commands it lists when you type/rglin game (pull modes, assist and heal lists, chase and camp, pause...). Its settings (/rgl set <setting>) aren't listed. - GuildClicky (
/gc, or/guildclicky), with every guild hall portal it knows (118 zones). Each one shows where it goes and the item to click, and matches on where it goes too:/gc cabilisofferscabeastandcabwest. All of them are offered, not only the portals in your guild hall. - Lootly (
/lootly): on/off, sell and cleanup (withdry), raidloot, sort, reload, log levels, set (its delays), convert and ini. Its/setitemoffers the preferences (Keep,Sell,Destroy,Ignore;Keep|#andClass|#|WAR,BRD...are shown in the syntax) and stays offered when Lootly has unloaded MQ2AutoLoot.
- the CWTN class plugins (
- Your aliases from MacroQuest.ini, read when the script starts. An alias that wraps another command, like
/cwtn = /dgge /docommand /$\{Me.Class.ShortName}, completes like the command it runs. - What comes next: after
/navit offersspawn,target,loc...; after/hidecorpseits options. The command's syntax is shown under the list. - Live values, picked by what the command expects at that point:
- your logged-in characters, group and raid members:
/tell,/dex,/invite,/assist,/bct - spawns within 100 units, after your own characters:
/nav spawn,/target - zone short names from Magellan's travel list (or every zone MacroQuest knows), matched on the long name too:
/travelto knowlofferspoknowledge - spells in your gems (
/cast), clickies you carry (/useitem), combat abilities (/disc), buffs (/removebuff), abilities (/doability) - Lua scripts (
/lua run), running scripts (/lua stop), macros (/mac), plugins (/plugin), DanNet groups (/dgt,/dgae)
- your logged-in characters, group and raid members:
- Commands sent to other characters, and other nested commands: after a DanNet broadcast (
/dex Name,/dgeand/dgaewith or without a group,/dgge,/dgza...), EQBC's (/bca //,/bct Name //...), MQRemote's (/rc group,/rc +self zone...), and/timed 10,/squelch,/noparseand the like, the rest of the line completes exactly like the command on its own:/dgae /nav spawn Alice,/dex Bob /rgl pullmode camp. - What you type: every argument is remembered in its place, so the names and commands you use most rise to the top, and commands it doesn't know yet get suggestions too. Messages (the text of a
/tell) are not remembered word by word.
Keys
| Key | What it does |
|---|---|
| Tab | Complete the word with the highlighted suggestion |
| Right arrow | The same, when the cursor is at the end of the line |
| Up / Down | Move through the suggestions. With none showing, step through lines you sent before |
| Enter | Run the line (a missing leading / is added). If you moved to a suggestion with Up/Down, it is taken first |
| Escape | Clear the line; press again to leave the box |
:: grip to move the box and its right edge to resize it. Right-click the grip for options: keep focus after Enter, show syntax, lock position, number of rows, hide.Commands
| Command | |
|---|---|
/eqac | Show or hide the box |
/eqac show | Show it, ready to type on a fresh line starting with / |
/eqac hide | Hide it |
/eqac key shift+/ | Make a key open the box ready to type (any key combination). /eqac key off removes it; /eqac key says what is set |
/lua stop eq-autocomplete closes it. What it learned is saved 5 seconds after the last line you sent, so a line sent just before stopping may not be remembered.You can camp and log in another character without restarting it: it saves when the character leaves the world, hides the box at character select, and switches to the new character's learned usage and settings when that one enters the world.
Opening it with a key
/eqac key shift+/ makes shift+/ open the box with / already typed. Any MacroQuest key combination works (ctrl+/, shift+enter...). If the script isn't running, the key starts it. Plain / can't be used: EverQuest itself opens its chat line on /, and that isn't one of its key settings.The key is a MacroQuest key bind, so MacroQuest saves it for all your characters. A game window that is already running gets it the next time the script starts there.
The key uses MQ2CustomBinds. It ships with MacroQuest and is loaded by default; if you have unloaded it, the script loads it when it needs it with
noauto, for that session only, so your list of plugins loaded at start stays as you set it. In that case the key works while the script runs, but can only start the script if MQ2CustomBinds is loaded when the game starts.Your data
Each character keeps its own: what it learned and your recent lines inlearned_<server>_<name>.lua, and the box's options in settings_<server>_<name>.lua, both in <MacroQuest>\config\eq-autocomplete\ on your PC. Characters don't learn from each other, and you can, say, lock the box on one and not on another. Nothing is sent anywhere. Delete a character's files to start it over.Notes
- Spawn names with spaces are inserted in quotes.
- Bug reports, and commands it gets wrong or doesn't know, are welcome.

