/* * Decompiled with CFR 0.152. * * Could not load the following classes: * Script * mudclient */ public class BoneBury extends Script { public BoneBury(mudclient mudclient2) { super(mudclient2); } public String[] getCommands() { return new String[]{"bones"}; } public void start(String string, String[] stringArray) { while (this.Running()) { if (this.Fatigue() > 95 && !this.Sleeping()) { this.DisplayMessage("@gre@SBoT: @whi@Sleeping", 3); this.Use(this.FindInv(1263)); this.Wait(5000); } while (this.GetNearestItem(20) != null && this.InvCount() < 30) { int[] nArray = this.GetNearestItem(20); this.TakeItem(nArray[0], nArray[1], 20); this.Wait(1000); } while (this.InvCount() > 2) { this.Use(this.FindInv(20)); this.Wait(1000); } } this.DisplayMessage("@red@STOPPED", 3); } }