zhxwbr8 1 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? Link to comment https://wrobot.eu/forums/topic/12682-use-macrolua-store-designated-items-in-bank/ Share on other sites More sharing options...
zhxwbr8 1 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 Link to comment https://wrobot.eu/forums/topic/12682-use-macrolua-store-designated-items-in-bank/#findComment-60605 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now