01-13-2005, 11:18 PM
Well with one more addition I will be able to write a perfect macro for my current situation (which is simply two setups).
The problem is that I want to leverage some / commands using a conditional in a lua script. Basically (not syntax checked, not able to check now):
This keeps my saved sets up to date automatically (as I add different equipment). The boolean nature of it however doesn't allow for more than 2 setups on the same toggle.
I just need to find out what lua functions are called by /saveset and /loadset.
The problem is that I want to leverage some / commands using a conditional in a lua script. Basically (not syntax checked, not able to check now):
Code:
/script if GetInventoryItem(17) /saveset 2; /loadset 1; else /saveset 1; /loadset 2; end
This keeps my saved sets up to date automatically (as I add different equipment). The boolean nature of it however doesn't allow for more than 2 setups on the same toggle.
I just need to find out what lua functions are called by /saveset and /loadset.