79135 4 Posted May 15, 2019 Share Posted May 15, 2019 Script good delete, but when GetContainerItemLink(b,s) == 'Hearthstone' the script is stopped. Why? Lua.LuaDoString("for b = 0,4,1 do for s = 1,GetContainerNumSlots(b),1 do name,_,_,_,_,_,_,_,_,_, itemSellPrice = GetItemInfo(GetContainerItemLink(b,s)) if name ~= 'Hearthstone' and itemSellPrice < 10 then PickupContainerItem(b,s); DeleteCursorItem(); end; end; end;"); Link to comment https://wrobot.eu/forums/topic/11227-stopped-script-lua/ 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