Lets say you want it to check if you have 200 of the item (10 stacks). For some reason you had 3 left over in your inventory, when it goes to buy the items again it checks and sees that you have 3 so only buys 9 stacks and 17 of the last stack.
Now what i want to know, is there any simpler way of doing this other than /else /if loops? I think that would take WAY too much space to get it to count it and if it doesnt equal this, /call buyitem, etc etc.
IE:
Code: Select all
/if n $count("Large Block of Clay")==200 {
/goto :SkipClay
}else /if n $count("Large Block of Clay")!=200 {
/get $count("Large Block of Clay") (and fill the difference)
Thanks for the help!
Draekz


