I have searched the forum, and cant seem to find the answer to how to make it use up the stack, and then go on with the waypoints as usual.
Code: Select all
<!-- # 9 --><waypoint x="-22000" z="3708" y="-179">
if inventory:itemTotalCount("Item_Name") >0 then
inventory:useItem("Item_Name")
yrest(100)
end </waypoint>
Hope theres someone who can help me with this, So I dont have to manually click to open bags all the time.