zhxwbr8 0 Posted November 21, 2020 Share Posted November 21, 2020 Hi,can tell me if i want store designated items in bank,how to writ this commands with MacroLua? Quote Link to post Share on other sites
zhxwbr8 0 Posted November 21, 2020 Author Share Posted November 21, 2020 I solved it myself. I need two macro commands. Click command 1 and then command 2 /run l={"name1","name2","name3","name4"}for j=1,#Rubb do if GetItemInfo(l)==Rubb[j]then return 1 end end end /run for bag=0,4 do for slot=1,50 do local b=GetContainerItemLink(bag,slot) if b and IRubb(b)then UseContainerItem(bag,slot)end;end;end Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.