by using widgets you can check store item info.
if !store open
open
cond sleep
else {
if (item != null && item.getAmount() > 0){
item.interact("Buy all");
cond sleep
} else {
//close and hop
}
}
try that but using widgets
Learn the basics to Java
Know how to find the Osbot API and search it
Learn the basic script skeleton to make an Osbot script.
Start with something very basic. (Shop buyer + walker + etc.)
Learn new methods by de-compiling other scripts in the local section
Post in the Scripter Help section for insight
Tools
API methods (TFW)
OSBOT MAP (EXPLV)
Basic Java Example (SINATRA + DEREK BANAS)
Setup instructions to start scripting (ALEK)