Hi there everyone!
I am trying to learn by myself how to make scripts on Windbot and i got a question for my auto supplychecker some days ago. First of all here is my script:
I wonder if is there any way i can change it for when it's on a specific waypoint section like "Hunt" instead of $posz == 9 and also put something like this:Code:auto(1000) local nameHp = getuseroption("nameHp") local minHp = getuseroption("minHp") local nameMp = getuseroption("nameMp") local minMp = getuseroption("minMp") local minCap = getuseroption("cap") if ($posz == 9) and (itemcount(nameHp) <= minHp or itemcount(nameMp) <= minMp or $cap <= minCap) then gotolabel("go", "LeaveHunt") endTo get no fake supply checks.Code:if itemcount(getuseroption("mainBp")) > 0 then ...
Thank you very much for the attention and i will be waiting for an awnser!!
BTW: I know that I can use the function needresupply() but for some reason it was very bugged on my script and I kinda like to develop my own things!