import java.awt.*; import java.util.*; import com.speljohan.rsbot.script.*; import com.speljohan.rsbot.bot.*; import com.speljohan.rsbot.script.wrappers.*; import com.speljohan.rsbot.event.listeners.*; import com.speljohan.rsbot.event.events.*; public class WillowsCutterzz extends Script{ public int willow = 5552; public int woodcuttingAnimation = 879; public int hatchet = 1357; public String getName(){ return "WillowsCutterxz"; } public String getAuthor(){ return "Chammi"; } public String getScriptCategory(){ return "WoodCutting"; } public double getVersion(){ return 0.1; } public boolean onStart(Map<String, String> args) { return true; } public void onFinish(){ return; } public int loop() { if(getMyPlayer().isMoving()){ return 879; } if(isInventoryFull()){ dropAllExcept(hatchet); return 879; } RSObject tree = findObject(willow); if(tree == null) return 879; atObject(tree, "chop down"); return 300; } }
Pratestinkit, įvertinkit kaip veikia. :)
*/10. :)