Im trying to write a Lua where it removed my equipped gear so i store it in the shared bank and then swap to a mirror toon and reequip it all again. i am running into an issue with no trade items or non heirloom items. This is my first real Lua attempt so sorry if its a mess.
the work around i was thinking of using was to place all the items in a bag and then control left click them into a bag in the shared bank eliminating the items that cant go in the shared bank.
i cant seem to get Lua to hold control and leftmouseup at the same time. does anyone have a simple command im missing for this?
this is what i have so far but it wont fire to click the contents of bag 3 into shared bank 1.
thanks for your help.
the work around i was thinking of using was to place all the items in a bag and then control left click them into a bag in the shared bank eliminating the items that cant go in the shared bank.
i cant seem to get Lua to hold control and leftmouseup at the same time. does anyone have a simple command im missing for this?
Lua:
local function unequip
mq.delay(250)
local bagSlot = 1
for i = start, stop do
mq.cmdf('/itemnotify %s leftmouseup', i)
mq.delay(100)
if mq.TLO.Cursor() ~= nil then
mq.cmdf('/itemnotify in pack3 %s leftmouseup', bagSlot)
mq.delay(100)
bagSlot = bagSlot + 1
end
end
end
mq.cmd('/itemnotify pack1 leftmouseup shift')
mq.delay(100)
mq.cmd('/itemnotify sharedbank1 leftmouseup shift')
mq.delay(300)
mq.cmd('/itemnotify pack3 leftmouseup')
mq.delay(500)
mq.cmd('/multiaction /mousedown ctrl')
mq.delay(100)
mq.cmd('/itemnotify sharedbank1 leftmouseup')
mq.delay(100)
mq.cmd('/multiaction /mouseup ctrl')
mq.cmd('/itemnotify in pack3 1 leftmouseup')
mq.delay(500)
this is what i have so far but it wont fire to click the contents of bag 3 into shared bank 1.
thanks for your help.
Last edited by a moderator:

