Can 1 ActionButton have 2 macros attributes?
I have some code to make many actionButton and 1 of the buttons has to have 2 macros, 1 for shift left click and another for right click, but whenever I shift left click, it always executes the macro of right click.
Here is my code: Lua Code:
|
What are the contents of the macros? Is there a reason why they can't just be one macro with conditionals?
|
Right click runs a script to show one of my windows, shift left click cast's a macro that can't be done otherwise.
shift-type1 = MACRO_NAME -- type2 = "/script ToggleShinsPetWindow()" |
I believe the "macrotext" in this line:
Code:
btn:SetAttribute("macrotext", toyList[i].type2); |
Quote:
|
All times are GMT -6. The time now is 08:36 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI