I'm playing around with a PB profile, i've been hitting my head against this problem and can't find a solution for it. It's due to the lack of sleep and coding experience. I hope someone can help me with this, i'm guessing it should take seconds if you're familiar with c#.
This macro allows me to right click an item in (bag slot 0, item slot 1):
/use 0 1
I created a custom action in pb:
Lua.DoString("RunMacroText(\"/use 0 1\")");
The above is working. However, i wish to substitute 0 and 1 with variables say for example:
int bag
int slot
How would i write the Lua.DoString with variables instead of constants?
Thank you in advance
This macro allows me to right click an item in (bag slot 0, item slot 1):
/use 0 1
I created a custom action in pb:
Lua.DoString("RunMacroText(\"/use 0 1\")");
The above is working. However, i wish to substitute 0 and 1 with variables say for example:
int bag
int slot
How would i write the Lua.DoString with variables instead of constants?
Thank you in advance