Lua macros commands. lua files for them to take effect.
Lua macros commands. /equipoff Stinging Viper /equip Leaden Mace of Power /unequip Daryl's Hunting Rifle The first equips the item to the offhand. If a command isn't working right, it can be useful to send it as an echo so you can see exactly what is reaching the other character. number () and macro. 0 (62253) Jul 25 2025 These functions Apr 5, 2024 · Getting stuck on trying to run a line of LUA code on a macro line that checks to see if a global variable is equal to a value and enabling or disabling other lines in the macro. Simply type the command where you want in the macro and shift click the item it will put the name in for you. Unlike the LUA code in your addons, you have to use /run or /script in order to initiate the code and run your API calls or whatever. If I'm firing from a script and have a longer command list (my BLU's CV/MG for instance), then I can use a pause 1. Contribute to stevedonovan/LuaMacro development by creating an account on GitHub. 12. 0 (Vanilla uses 5. lua file, choose this one to get started. Text Known Issues Medium: Because this addon is constantly checking conditions for all macros on your actionbars, if you improperly create a macro, in some certain cases it can cause strange UI issues including not displaying any icons, other macros not working or lua errors. Jan 23, 2019 · 1. Most of the examples we will post here can be compared with macros. Anyway, these are the UI elements I was hoping to access via Opie: Character Sheet Spellbook Map Zone Map Social Pane Talents LFG BGs toggle music toggle sound I know that there Dec 12, 2019 · Here is one I've heard of all the time. Full credit goes to the LuaMacros developer. Is there a way to create a macro that is effectively "//lua l XXX" or //lua u XXX?" I figured, if they can be created for send commands, they should be able to be created to turn macros on and off at will. 100% Working tips! Here are the steps for a rename/release macro. While macros execute the first valid item from the top down, individual commands execute the first valid conditional, from left to right. Contribute to Cardridge/ClassicMacros development by creating an account on GitHub. I’ve used [mod/nomod], button clicks, etc for /use and /cast, but now I am trying to use conditions for other slash commands, and it doesn’t seem to work any way I have tried. For macros a command is entered on a single line ending with a new-line '\n' character. Building Your First Macro Starting with a basic macro is a great way to get your feet wet. You could make your addon again with this code or just edit the . They contain macro tables, which must have a subst field containing the substitution and may have a parms field, which means that they must be followed by their arguments in parentheses. ButtonObj The button to click. Jan 8, 2024 · WoW Macros Comprehensive Guide. 'No, really. Normal keys In general, a character will send itself. Basically, I’m trying to fit the following menus into a couple Opie rings, and in order to do so, I need to make macros that execute slash commands because opie doesn’t let me just select a keybind for some reason. net HOWTOs Snippets UI tech Categories → Macro API This Macro command list describes all of the macro commands (or slash commands) recognized in World of Warcraft. Aug 16, 2017 · Macros powered by Lua. lua script provided with the guide. 2, allowing you to do anything you could imagine! Lua 5. Every character gets 40 Macro Books which consist of 10 Macro Sets. Some of the texts will direct you to "post followups" and the like; this is referring to those two forums. Dive into essential commands and tips for mastering this versatile language. - variable: A variable is a symbolic name for some information. Sep 9, 2012 · In this Wow macro guide, I’ll explain to you the syntax and proper usage for the #showtooltip macro command, what it does, how to write it, and how to incorporate it when making Wow macros. This is a developer oriented technical reference for 'Slash commands' and 'Macros'. lua. Select the Macro Number you wish to modify. From basics to advanced scripts. If you aren’t using the Shortcuts add on I highly recommend you start, it allows for truncated commands and has much less exacting command line requirements. Why might I want to use a macro? If you Google around you can find a . DISABLED Apr 5, 2014 · Autora lua - posted in Addon Development: possible to have windower. Select the User Macro Option under "System". It has worked beautifully for me so far with v11. CP = {back="Mecisto. /lua run eval You can stop a Lua script with the following command: /lua stop <arguments> e. Stygian Abyss Client – Command Action – Scripts Below is a list of some commonly desired script commands. They can be used to cast spells, activate job abilities or weapon skills, use a pet command, change equipment, notify players in a text channel, or display information to yourself. As far as I know, you can use decimal places with scripts and using pause. 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. string (), macro. The base concept of a macro is to perform more than one action at a time to accomplish a task more quickly and easily. All command names are in lower case, although WoW is not case sensitive for typing commands. Note: This list is up to date as of Patch 11. Use shortcuts. send_command('input General wow macros usable for all World of Warcraft classes , macro conditionals and commands explained. 4 changes Item link to MacroFrame from container frame items, paperdoll items, bagslots, tradeskills using Alt-click. Use the semicolon (;) character in between LUA code lines instead of pressing Enter. /lua stop eval Lua is a more advanced scripting language than Macros, and is capable of running multiple scripts simultaneously. 5, the function may also return a string. Here's a simple example demonstrating how to create a basic key macro in Logitech Lua scripting: -- This script binds the F1 key to type "Hello, World!" Macros e Useful macros Macro commands General guides Beginner's guide FAQs Making a macro Wiki Formatting → Commands Reference e AddOns WoW API Widget API XML UI Event API WoW Lua Macro API CVars Battle. Tooltips over macros on actionbars. Pressing Enter will start a new line of macro text to process. A weapon switching macro. But we are going to do better than that, once you install the addon, navigate to its folder and create a new SM_Extend. Useful Vanilla WoW 1. 7K+ downloads on CurseForge Your first command, instead of <me>, it would be better to use <stpc>. name (), are available. Some background knowledge to note: 1)I am no programmer (0 experience going into this). Learn how to make mouseover or cast sequence for any class. Execute Rename from the context menu script ContextMenu. You cannot use Lua code to do things like insert a condition into your macro. The command names are Jan 20, 2018 · I just picked this up last night and I'm kind of excited by the possibilities. " Here’s a simple code snippet to create a basic macro that triggers when the "F1" key is pressed: function OnEvent(event, arg) if event == "G_PRESSED" and arg == 1 then -- Change '1' to the button number PressAndReleaseKey("F1 Step-by-step guide on installing . 5. They may not be the only ways or the best ways, but hopefully they are useful to see. If the frame's type is not Button, this will silently fail. There are two macro tables, imacro for classic name macros, and smacro for operator style macros. 5 (2021-11-02): Several API are now protected from being called directly via the /script macro command. GetActionTexture(i))end end Here you can see where the actionID slots in your actionbars are This command will not let you bypass Lua scripting limitations or UI restrictions. Addon for Windower 4 for FFXI that allows text commands to utilize homepoint, waypoint and survival guide teleport npcs - AkadenTK/superwarp Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. than Some luas can be turned on and off as needed in game. I'm just sharing my findings here. Item link into macros. A macro can consist of any number of /(command)s or pure text to up The one-page guide to Lua: usage, examples, links, snippets, and more. In-game code extender editor. Jun 23, 2023 · lmc_send_keys() sends a string of keys to the operating system. REMOVED - Removed completely from WoW, information is retained here for historical reference. May 19, 2019 · I believe the correct command would be //gs c wr or /con gs c wr from a macro. Mouse button can have different macro for press and release. Select the Macro Icon. Below is an almost complete list of every function provided by Blizzard that you can use in the creation of your addon or macro. Oct 5, 2013 · if PLANE_ICAO == "C172" or PLANE_ICAO == "BE58" then do_every_draw("draw_egt()") do_often("show_EGT_or_not()") end The lean helper only gets active, when the ICAO code of your plane is C172 or BE58 - but the default C172 comes without an ICAO code. We can use the tailnumber to identify the plane. Call the target's context menu script RequestContextMenu(TargetWindow. 2 Manual →. send_command through ffxi macro set with autora. Variables are declared in a Lua script like local script_name = 'demo_tables'. A lot of this is reposted from different pieces on the forums. If you aren't using shortcuts this can cause some issues. See Slash commands for the list of commands usable from the WoW chat window and in WoW macros. The Lua user interface code can be exported from the game client. You may still access variables in the global environment. This must all be one line before the LF character. Enjoy the list, and remember if you come across a function that is not documented, please Dec 31, 2021 · To do what I have described and more you will need to have a means of using LUA code. . *Remember you need to reload Gearswap anytime you make changes to the . Click on the menu "Plugins", "FlyWithLua Macros" and "Enter a Jun 19, 2025 · Macros are user-defined sequences of commands that allow you to record multiple actions and trigger them with a single button or key stroke. Accepts any value (LeftButton is the default May 18, 2016 · This guide contains basic macro commands, in combination on these (and many others) you can make some very useful macros. Slash commands - list of default 'slash' commands Making a macro tutorial list and/or links to explaination/example of commands that take lua explanation of relationship to addon /slash facilities Useful macros User Logitech Lua scripting allows users to automate and customize their Logitech devices through efficient programming using Lua commands. This Macro command list describes all of the macro commands (or slash commands) recognized in World of Warcraft. Eventually this should be tied to the Addons section once the full API documentation is posted. Sep 11, 2025 · What are Macros in World of Warcraft? The Macro system is a tool that has been present in World of Warcraft since its inception. It can be useful for projects that need to do build-time evaluation or code generation within Lua, such as creating templated functions, generating lookup tables, and unrolling loops. " You can also use a Joystickbutton instead of a Key in FSUIPC to fire a Macro/script. The Lua Command Interfaces in LuaMacros are organized into functional categories. Mar 3, 2016 · This is a thread for you that are very new to- or not familiar with Lua scripting. lua is a Lua script which exists in the MQ Lua folder. Jun 10, 2018 · Lua allows you to use either a pair of double square brackets like [[--Add your multiline code here]] or the more powerful at string escaping option of [=[-- Add your multiline code here]=] to put code on multiple lines in your custom macro or Lua script. helix - Elemental Helix weather - Scholar Weather skillchain1 - Tier 1 skillchain skillchain2 - Tier 2 skillchain skillchain4 - 4 Step skillchain for popping Perfidion skillchain6 - 6 Step Skillchain Nov 4, 2024 · A Macro is a way to execute a sequence of commands that are commonly used. ## 2. There are a few rules like the code has to be on one line for each /run or /script command. Mar 25, 2018 · If the command is contained in a macro, then use /con send. A quick and informative guide awaits to enhance your device's This page lists macro conditionals, keywords used with macro commands, the RestrictedEnvironment and the SecureStateDriver API to allow limited logic for player convenience without trivializing the game. Download Advanced Macros by Theincgi, with over 42. This is also the only way to handle variable length parameter lists, since otherwise the number of formal and actual parameters must match. Run macros with keybindings and through other macros and from events. Near the end of the send. This can be done by typing the following command in your chat log: //lua u gearswap //lua l gearswap If you need help remembering this command, it’s lua = Load Unload Addon The u or l defines whether you’re loading or unloading → Slash commands Send a text message to all members in your raid as a raid warning /raidwarning text /rw text raidwarning rw text Text to send. The second equips the item to an appropriate slot. Any local variables defined in the code block will be destroyed after the code is Unlimited 'Super' macros hold up to 7000 letters. com. May 19, 2025 · These interfaces provide the API functions that Lua scripts can call to interact with the application, manage devices, control X-Plane integration, and perform other operations. To use with Shortcuts, make sure that Shortcuts is loaded first! Also, note that this addon has some compatibility issues with GearSwap. To create a simple healing macro, you might write: Example Macro Script windower. Modifiers (shifts) for keystroke sequence Use these keys to modify Aug 29, 2021 · - Lua script: Like a macro, Lua are scripts which will be run in game by issuing a command like /lua run examples/demo_tables where examples/demo_tables. Key Command or Joystickbutton Here the Lua Code itself is just creat in FSUIPC and THERE you make a keybind and say for example " If Key "G" is pressed then execute Macro xyz. MQ2Lua wiki Luckily, this version of lua is in our vcpkg repo, so everything you need to link against is available in the mq git. Sep 25, 2020 · This topic will demonstrate how to set up, search for X-Plane commands, assign them to a key on a separate keyboard and confirm it works within X-Plane as intended. ? - command has not been tested or fully confirmed, or requires further clarification. Target the pet - the macro will only work if the pet is the subject of the target window 2. /click options ButtonObj MouseButton Down none options See Making a macro for instructions on how to properly use options. g. What the heck are macros and scripts? Macros are a list of commands designed to be executed in series. This is the format for Gearswap self-commands. Not sure why. 1 Macros by Wayleran by Wayleran » Sat Jul 18, 2015 12:37 pm Jun 25, 2025 · Browse scripts for the Ultima Online server UO Sagas on UO Addicts About the macro bidding, im no good by any means, but i can deal with those by: - Binding scripts directly to keyboard buttons: for example, when i want to dd, heal and stun in delve at same time, i use my whm as first person, create a script for gear changes (input /equipset 1; input /ws "vs" <t>; wait 2; input /equipset 2) and place an /console send //exec "ws. Creating Macros Open the Main Menu. lua file (9 in loot_filter. Note: for additional icon options, you can use the /macroicon or /micon command within the Mar 9, 2025 · This plugin searches all your macros for a text string in the commands and replaces it with something else. 11. This guide will cover some of the more common building blocks of code found in macros, and ways they may be written in Lua. Much of his website content refers to another product called HIDMacros that is now en Lua You can start a Lua script with the following command: /lua run <arguments> e. Specified by a pop up window to define "searchText" and "replaceText" (Code, 48 lines) Enjoy! The slash command system is generally the route that you'll want to take for 95% of the macros that you might want to create. Ported from RedGuides: MacroScript to Lua. Lua Cheatsheet for Logitech G Hub. ). The third removes the item you are wearing Makes use of SM_Extend. lua). Send strips quotation marks from sent commands. Or any plugin that includes send <player>, etc. ← WoW API < EditMacro Edit macro command/button. lua that has all self casting jobs skill up bots. The WoW API is available to AddOns and macro scripts. Enter the new name - whatever you want in sets. Each Macro Set has 20 Macros that can be filled with one to six macro Usage /api displays general syntax help for this command. To use a slash command, enter its name preceded by a slash, and followed by any parameters the command takes into the chat box (for example, /say Hello Azeroth!). Contribute to jehillert/logitech-ghub-lua-cheatsheet development by creating an account on GitHub. lua files for them to take effect. In LuaMacro 1. lua file. Convenient slash commands and functions. lua to define long functions and global variables, then call them from your macros. Patch changes Patch 9. MouseButton The button you wish to simulate the click with. Is this even possible This command allows you to list all your current socials, by name and number, or activate them by name. Mantle"} ------------- Extra macros! ------------- Coming Soon alternate keybinds for extra macro space ----------------------- Commands ----------------------- Coming Soon. If you just found LuaMacros by a Google search or saw some nice YouTube videos, but don't know how to write a Lua script it will be painful to get what you want, and you will end up frustrated. Its super easy to use #showtooltip and it really makes your macro functionality shine. Here is how to write the string. This way your echos will give you the info before finalizing your decision to cast. It goes without saying but please note tha… General WoW Macro Info To bring up the macro editor in WoW, type /m or /macro in the in-game chat box. Basic Gearswap Commands and how to use them //lua u gearswap //lua l gearswap //gs r //gs export //gs disable ring1 //gs enable ring1 //gs equip 2 days ago · This guide introduces the basics of everyday Lua usage for configuring and controlling Nvim. To set them up, simply copy each line (2 lines if you count the line that starts with #) into the macro editor, pick an pretty icon, save, and you are done. See example above (FindTradeSkillIndex). It's much better than macros because it'll auto rest, eat skill up food, logoff when capped, among other things → Slash commands Simulate a mouse click on a frame of type Button. You'll want SendTarget loaded before GearSwap (for example, put lua load GearSwap after lua load SendTarget), but you'll also want to use the //sta !packets command when GearSwap loads a profile. The LUA I use the SuperMacro addon, which you can find here, that allows us to write extended LUA code to use in our macros. There are typically multiple macros in a . "Script" are input via Actions > Other > Command: 1. 2. It's officially documented in Blizzard_APIDocumentation which is accessible via the /api command. ": ". Name the Macro. Unlock the power of Lua with our comprehensive lua cheat sheet. xml i can send same command to console by ffxi macro : /sc f RNG to load RNG. Aug 29, 2021 · This guide will cover what (I) think seem to be some of the more common building blocks of code found in macros, and ways they may be written in Lua. For example if I wanted my geomancer alt to cast dia II without shortcuts the macro would look something like: /console send geomancer /ma “Dia II” <bt> Powerful Advanced Macros comes pre-packed with the full power of Lua 5. Again default windows behavior is deactivated when mouse event has some macro assigned. The Lua code is processed separately from macro text. Just open the file in notepad or any other plain text editor you have and change it to this: Any successive metacommands to define the icon or tooltip will be ignored If the icon was already specified by a previous #show, then this command is ignored entirely, including tooltips (the tooltip always shows the name of the macro). An extended Lua macro preprocessor. Lua is dynamically typed, runs by interpreting bytecode with a register-based virtual machine, and has automatic memory management with a generational garbage collection, making it ideal for configuration, scripting, and rapid prototyping. lua you will find the following: The UI FAQ is posted here on WoWWiki as well as on Blizzard's UI & Macros Forum and at WoWInterface. You may specify modifiers inline with chat text to pass certain information with the "%" character: %f - Inserts the name of your focus target or "<no Dec 14, 2024 · There isnt much to explain, WoW macros use a slightly modified version of LUA 5. Mobiflight now just "simulate" this Button/Key Action. Visit the GitHub link you find, then click the green <> Code button, and select Download ZIP. Use 7zip to extract the zip into your TWow/Interface :Macro: /console gs c cycle ElementalMode :Macro: /console gs c elemental [COMMAND] Commands: nuke - Highest Nuke smallnuke - Tier 2 or 1 nuke. lua is a file processor that evaluates macro commands embedded within a Lua file. All the Lua code from this guide is also included in the howto. The script bin/process. Are the conditions only limited to a few slash commands? For example, if I want to make 1 button bring up macros and reload, I would try this; /m [nomod] /reload [mod] I cannot get it working. To send modified keystrokes (such as holding shift, or ctrl), send special keys (such as F3), and more, see the rules below. Refer to secure command options for syntax and making a macro for a tutorial. i. This command will not let you bypass Lua scripting limitations or UI restrictions. (index or macroName, name, icon, body, local, perCharacter) index or macroName Number or string - the index or name of the macro to be edited. Emotes list is from FrameXML\GlobalStrings. This article describes all of the macro commands (or slash commands) recognized by World of Warcraft (without addons). LuaRocks is a great resource for these kinds of packages, and I have made detailed instructions for building these here. TargetId) 3. Macro commands can be made more useful with [conditionals], snippets that check on various things to allow a small degree of decision making. 1. It assumes some familiarity with the (non-Lua) basics of Nvim (commands, options, mappings, autocommands), which are covered in the user-manual. A blank text editor should show up, let's get it a sample script to run, on the top of luamacros windows ther is a tool box, click on first icon to pick up a script to be loaded, go to the luamacros folder, inside it there is another samples folder with a quickstart. All macro commands start with a forward slash ( / ) to separate them from normal text actions. Macro can be activated by mouse button press/release or mouse wheel scroll. References Lua tips, chat & raid macros Lua Definitions Console Commands Vanilla wow macros Macros For Dummies Useful rogue macro Macro per maghi Priest addons and Macros Graguk's Warlock Macros Hunter Macros & Tips [Redux] WoWInterface » AddOns, Compilations, Macros » Macro Help » Lua macro tutorial View First Unread Thread Tools Notes Commands are listed in lower case, however in chat can be upper or lower case. For information on the Lua engine itself, see Lua Engine. The World of Warcraft API is a set of functions, provided by Blizzard, that allow you to interact and modify the World of Warcraft game through the use of addons and macros. The command supports a number of sub-commands: The Lua code is processed separately from macro text. lua” is modified. Please feel free to help contribute to this, and organize it better. Jun 11, 2019 · SuperMacro is an absolutely essential addon for anyone interested in using macros effectively. Index ranges from 1 to 36 for account wide macros and 37 to 54 for character Learn how to upload Logitech macros, edit scripts, and customize buttons on your Logitech mice and keyboards in this video. ------------------------------------------------------------------------------------------------------------------------ Jun 19, 2017 · Return to parent page for addons or more wow stuff The following macros are useful as replacements for spells or abilities which adds some extra features. Three convenience functions, macro. lua? example ; with spellcast, i can send a console command : //sc f RNG to load RNG. txt" directly in my macro Bringing retail macro commands to classic WoW. Due to the max macro length being shortened, make a file called SM_Extend. Adding a single slash (“/”) before each line, … Chapter 1 : Advanced Macros M-Code Descriptions M19 - Spindle Orient Command Spindle Orient with auto or manual cycle based on parameters Parameters S Angle in degrees of the orientation M5 or a stop spindle command will cancel the spindle orient M34 - (Electronically) Gear Two Motors Achieve electronic gearing between a master motor (Q) and a slave motor (S) at a given ratio (R). I'll be likely just dumping to this as I parse threads. ExecuteMenuItem(919) 4. Send Sends commands between windower instances using IPC. 1 etc. Makes use of SM_Extend. Learn how to import, configure, and test macros to optimize your device. 2) Functions and commands may or may not wor It can do many things, but you need to understand what you are doing and you definitely need to know and use the Lua scripting language. The macros described in this document do not pass the integrity check in the Multi-Player environment if the file “macro_handler. "M34 Q2 S3 Mouseover a action bar button and use this macro to get the ID /run local a=GetMouseFocus()message(ActionButton_GetPagedID(a)) This will print all the slot and texture names where abilities are placed /run for i=1,72 do if GetActionTexture(i) then DEFAULT_CHAT_FRAME:AddMessage("Slot ". lua file you already have. These can be used in two ways: Putting each line, exactly as listed, into a “Command” action within a macro (or on a hotbar) – one action per line. This is bad, but not a big deal. We will start at the very basic, and we will try to guide you thru every step to get you started. EditMacro(index or macroName, name, icon, body, local, perCharacter) This function may only be called when out of combat. But… The goal of this page is to provide an overview and list of commands related to the RoM Macro System. It allows you to make many more macros with effectively no character limit, you can write Lua functions directly, greatly increasing the power of your macros and it adds many useful functions that can make your macros more powerful and easier to read. In general, the WoW API and lua scripting are used almost exclusively to create addons for the game client, while slash commands are used almost exclusively to create player macros. Features If you wish to change the color of the text added from aecho. lua macros in Logitech G HUB. In this guide, we will go over the basics of macros → Slash commands Runs a block of script text /script code script run code A block of LUA code to execute. For example, abc sends the keys a, then b, then c. For many more useful addons, check out my Vanilla "Lua script for Logitech allows users to customize their Logitech devices with personalized commands and macros, enhancing their gaming and productivity experience. Especially mouse wheel can be used for various actions in FS - tuning the radios, trim aircraft, set heading knob etc. xml i would like to send by ffxi macro //ara start or //ara shoot or //ara invoke autora start. For more information on Lua, see the Is there a way to put a command line in a macro that I can activate to automatically make that swap for me via the lua? I was thinking of something similar to how react luas work where they register incoming information and react accordingly. Aug 6, 2021 · I generally use a /wait 2 for anything if I'm firing straight from the macro itself. The default tooltip text is the name of the macro. Creating Macros with Lua Understanding Macros in FFXI Macros are sequences of commands that can be executed with a single input, and mastering macros can significantly enhance your playing efficiency. 0, TBC uses 5. 7b9inc dl4e z77m6x 1ef rsy04 abfjl mpbd rj3 hv6rts jslxv