/* * Decompiled with CFR 0.152. * * Could not load the following classes: * Script * mudclient */ public class GuildFish extends Script { public GuildFish(mudclient mudclient2) { super(mudclient2); } public String[] getCommands() { return new String[]{"guildfishing"}; } public void start(String string, String string2) { this.CheckFighters(false); this.DisplayMessage("@gre@SBoT: @whi@GuildFisher-TrapperJ", 3); while (this.Running()) { if (this.GetY() >= 3000 || this.InvCount(372) <= 25) continue; this.WalkEmpty(604, 503, 603, 503); this.Wait(7000); long l = System.currentTimeMillis(); int n = this.GetNearestNPC(369); this.TalkToNPC(n); while (System.currentTimeMillis() - l <= 5000L && !this.QuestMenu()) { this.Wait(1); } this.Wait(1000); this.Answer(1); this.Wait(1000); this.Answer(1); this.Wait(1000); this.Answer(5); this.Wait(1000); } this.DisplayMessage("@gre@SBoT: @whi@Guild Miner - @red@STOPPED", 3); } }