// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: packimports(3) // Source File Name: GuildFish.java public class GuildFish extends Script { public GuildFish(mudclient mudclient) { super(mudclient); } public String[] getCommands() { return (new String[] { "guildfishing" }); } public void start(String s, String s1) { CheckFighters(false); DisplayMessage("@gre@SBoT: @whi@GuildFisher-TrapperJ", 3); do { if(!Running()) break; if(GetY() < 3000 && InvCount(372) > 25) { WalkEmpty(604, 503, 603, 503); Wait(7000); long l = System.currentTimeMillis(); int i = GetNearestNPC(369); TalkToNPC(i); for(; System.currentTimeMillis() - l <= 5000L && !QuestMenu(); Wait(1)); Wait(1000); Answer(1); Wait(1000); Answer(1); Wait(1000); Answer(5); Wait(1000); } } while(true); DisplayMessage("@gre@SBoT: @whi@Guild Miner - @red@STOPPED", 3); } }