What's new

Knight [PACC] [80] Svargrond South Sea Serpents

Status
Not open for further replies.

Xinum

Never Give Up!
Joined
Dec 23, 2009
Messages
578
Reaction score
66
[EK][80] Svargrond South Sea Serpents

Code:
<Settings>
  <Alerts>
    <Player>
      <OnScreen>
        <PlaySound>no</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <SafeList>null</SafeList>
      </OnScreen>
      <Attacking>
        <PlaySound>yes</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <SafeList>null</SafeList>
      </Attacking>
      <GMOnScreen>
        <PlaySound>yes</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>yes</PauseBot>
        <Disconnect>no</Disconnect>
      </GMOnScreen>
    </Player>
    <Creature />
    <Item />
    <Message>
      <PrivateMessage>
        <PlaySound>no</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <SafeList>null</SafeList>
      </PrivateMessage>
      <Advanced>
        <PlaySound>no</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <Screenshot>no</Screenshot>
      </Advanced>
      <Raid>
        <PlaySound>no</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <Warnings>All</Warnings>
      </Raid>
      <SafeBank>
        <PlaySound>yes</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>yes</PauseBot>
        <CloseTibia>no</CloseTibia>
        <Disconnect>yes</Disconnect>
      </SafeBank>
      <HealCreature>
        <PlaySound>yes</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>yes</PauseBot>
        <CloseTibia>no</CloseTibia>
        <Disconnect>yes</Disconnect>
        <Screenshot>no</Screenshot>
      </HealCreature>
      <YourAttack>
        <PlaySound>yes</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>yes</PauseBot>
        <CloseTibia>no</CloseTibia>
        <Disconnect>yes</Disconnect>
        <Screenshot>no</Screenshot>
        <SafeList>null</SafeList>
      </YourAttack>
      <Unjust>
        <PlaySound>yes</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>yes</PauseBot>
        <CloseTibia>no</CloseTibia>
        <Disconnect>yes</Disconnect>
      </Unjust>
    </Message>
    <Capacity>
      <Value>100</Value>
      <PlaySound>no</PlaySound>
      <FlashClient>no</FlashClient>
      <PauseBot>no</PauseBot>
      <Disconnect>no</Disconnect>
    </Capacity>
    <StandTime>
      <Value>180000</Value>
      <PlaySound>yes</PlaySound>
      <FlashClient>yes</FlashClient>
      <PauseBot>no</PauseBot>
      <Disconnect>no</Disconnect>
    </StandTime>
    <Stamina>
      <Value>841</Value>
      <PlaySound>yes</PlaySound>
      <FlashClient>yes</FlashClient>
      <PauseBot>yes</PauseBot>
      <CloseTibia>no</CloseTibia>
      <Disconnect>yes</Disconnect>
    </Stamina>
    <Disconnect>
      <PlaySound>yes</PlaySound>
      <FlashClient>yes</FlashClient>
      <PauseBot>no</PauseBot>
    </Disconnect>
    <Enabled>yes</Enabled>
  </Alerts>
  <Healer>
    <Rules>
      <Exura-Ico>
        <HealRange>0 to 85 %</HealRange>
        <ManaRange>40 to 54674756</ManaRange>
        <HealMethod>Wound Cleansing</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>100 to 200</SpamRate>
        <Enabled>yes</Enabled>
      </Exura-Ico>
      <Anti-Para>
        <HealRange>0 to 100 %</HealRange>
        <ManaRange>40 to 23452345</ManaRange>
        <HealMethod>Wound Cleansing</HealMethod>
        <ExtraCondition>If paralyzed</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>100 to 200</SpamRate>
        <Enabled>yes</Enabled>
      </Anti-Para>
      <GHP>
        <HealRange>0 to 50 %</HealRange>
        <ManaRange>0 to 100 %</ManaRange>
        <HealMethod>Great Health Potion</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>yes</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </GHP>
      <Mana-Pot>
        <HealRange>50 to 100 %</HealRange>
        <ManaRange>0 to 80 %</ManaRange>
        <HealMethod>Mana Potion</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>yes</CheckItem>
        <SpamRate>100 to 200</SpamRate>
        <Enabled>yes</Enabled>
      </Mana-Pot>
      <Utura-Gran>
        <HealRange>80 to 92 %</HealRange>
        <ManaRange>200 to 2314</ManaRange>
        <HealMethod>Intense Recovery</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </Utura-Gran>
      <UHP>
        <HealRange>0 to 50 %</HealRange>
        <ManaRange>0 to 100 %</ManaRange>
        <HealMethod>Ultimate Health Potion</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>yes</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </UHP>
    </Rules>
    <PingCompensation>10</PingCompensation>
    <Enabled>yes</Enabled>
  </Healer>
  <FriendHealer>
    <Rules />
    <Enabled>no</Enabled>
  </FriendHealer>
  <Refiller>
    <Rules>
      <Ring-of-Healing>
        <HealRange>0 to 99 %</HealRange>
        <ManaRange>0 to 99 %</ManaRange>
        <ItemRefiller>3098</ItemRefiller>
        <AmmoCount>0 to 0</AmmoCount>
        <ExtraCondition>If no ring</ExtraCondition>
        <SpamRate>500 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Ring-of-Healing>
    </Rules>
    <Enabled>yes</Enabled>
  </Refiller>
  <HotKeys>
    <List>
      <ShowBot>
        <Script>showbot()</Script>
        <MainKey>66</MainKey>
        <ComboKey>Alt</ComboKey>
        <Enabled>yes</Enabled>
      </ShowBot>
      <PauseBot>
        <Script>local cavebot = getsettings("Settings/CaveBot/Enabled")
local targeting = getsettings("Settings/Targeting/Enabled")

if cavebot == 'no' or targeting == 'no' then
   setcavebot('on')
   settargeting('on')
   setlooting('on')
else
   setcavebot('off')
   settargeting('off')
   setlooting('off')
end
wait(500)</Script>
        <MainKey>19</MainKey>
        <ComboKey>None</ComboKey>
        <Enabled>yes</Enabled>
      </PauseBot>
      <ShowClient>
        <Script>focusclient()</Script>
        <MainKey>84</MainKey>
        <ComboKey>Alt</ComboKey>
        <Enabled>yes</Enabled>
      </ShowClient>
      <ShowSettings>
        <Script>showsettings()</Script>
        <MainKey>83</MainKey>
        <ComboKey>Alt</ComboKey>
        <Enabled>yes</Enabled>
      </ShowSettings>
    </List>
    <Condition>Client focus required</Condition>
    <Enabled>yes</Enabled>
  </HotKeys>
  <Actions>
    <List>
      <Drop-Flasks>
        <Script>local currentflask = itemcount(285) + itemcount(284) + itemcount(283)

if (maround(7) == 0) and (lootbodies == false) and (cap < capCheck+150) and (currentflask > 10)
then
    pausewalking(1000)
    moveitems(283,supplyBp,'ground',100)
    pausewalking(1000)
    moveitems(284,supplyBp,'ground',100)
    pausewalking(1000)
    moveitems(285,supplyBp,'ground',100)
    wait(5000)
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Drop-Flasks>
      <Use-Mount>
        <Script>if Mount then
	setsettings("Settings\\CaveBot\\Settings\\AutoMount", "yes")
else
	setsettings("Settings\\CaveBot\\Settings\\AutoMount", "no")
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Use-Mount>
      <Safe-Bank>
        <Script>local msgs = getmessages("NPCs") 
local qtd = msgs.count-1 
for i=0,qtd do 
   if msgs[qtd].text:find('There is not enough gold on your account.') then 
      setcavebot('off') 
      wait(5000,10000) 
      closetibia() 
   end 
end
</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Safe-Bank>
      <Player-on-Screen>
        <Script>if PlayerOnScreen and posz > 7 then 
setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound","Yes")
setsettings("Settings\\Alerts\\Player\\OnScreen\\FlashClient","Yes")
else
setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound","no")
setsettings("Settings\\Alerts\\Player\\OnScreen\\FlashClient","no")
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Player-on-Screen>
      <Mas-Res-Alarm>
        <Script>local msgs = getmessages("Local Chat") 
local qtd = msgs.count-1 

for i=0,qtd 
do 
    if msgs[qtd].text:find("exura gran mas res") 
    then 
    playsound("alert.wav")    
    end 
end
</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Mas-Res-Alarm>
      <Tasker>
        <Script>--[[	Task Helper 
	v1.3
	Changes:
		1.0 First Release
		1.1 Changed getnewmessages for getmessages due to a small bug with new messages
		1.2 Fixed all remaining bugs, removed creatures killed added global constant 'CREATURES_KILLED'
		1.3 Fixed bug with sea serpents
--]]


table.lower = table.lower or function(self)
	for k, v in pairs(self) do
		self[k] = string.lower(v, k)
	end
end

CREATURES_KILLED = CREATURES_KILLED or 0

function resetkilled()
	CREATURES_KILLED = 0
end

function countcreatures(...)
	local SV_LOG_MESSAGES = getnewmessages("Server Log")
	local SV_LOG_MESSAGES_AMOUNT = SV_LOG_MESSAGES.count - 1
	local CONSIDERED_MONSTERS = {...}

	table.lower(CONSIDERED_MONSTERS)

	for INDEX = 0, SV_LOG_MESSAGES_AMOUNT do
		local MSG = SV_LOG_MESSAGES[INDEX]

		if MSG.type == 19 and MSG.text:find("Loot of") then
			local MONSTER = string.match(MSG.text, "Loot of (.+): (.+)")
			MONSTER = MONSTER:gsub("a ", "", 1):gsub("an ", "", 1):gsub("the ", "", 1):lower()

			if table.find(CONSIDERED_MONSTERS, MONSTER) then
				CREATURES_KILLED = (CREATURES_KILLED or 0) + 1
			end
		end
	end
	return CREATURES_KILLED
end

function creatureskilled()
	return CREATURES_KILLED
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Tasker>
      <YSSTARGETING>
        <Script>if standtime > 15000 and posz == 8 then
setsettings("Settings\\Targeting\\Monsters\\Young Sea Serpent\\OnlyIfTrapped","no")
setsettings("Settings\\Targeting\\Monsters\\Blood Crab\\OnlyIfTrapped","no")
wait(3000)
elseif maround(3, "Young Sea Serpent") >= 1 and KillYSS then
setsettings("Settings\\Targeting\\Monsters\\Young Sea Serpent\\OnlyIfTrapped","no")
setsettings("Settings\\Targeting\\Monsters\\Blood Crab\\OnlyIfTrapped","yes")
wait(20000)
else
setsettings("Settings\\Targeting\\Monsters\\Young Sea Serpent\\OnlyIfTrapped","yes")
setsettings("Settings\\Targeting\\Monsters\\Blood Crab\\OnlyIfTrapped","yes")
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </YSSTARGETING>
      <Movements_Seas>
        <Script>if maround(4) >= AmountToEGran or maround(4) >= AmountToExori then
setsettings("Settings\\Targeting\\Monsters\\Sea Serpent\\Listsettings\\Setting0\\Stance", "Reach")
else
setsettings("Settings\\Targeting\\Monsters\\Sea Serpent\\Listsettings\\Setting0\\Stance", "Approach")
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Movements_Seas>
      <OpenNextBp>
        <Script>if posz >= 8 and cavebot then
setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","yes")
else
setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","no")
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </OpenNextBp>
      <Looting>
        <Script>if posz <= 8 and Looting == false then
setlooting("off")
else
setlooting("on")
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Looting>
      <Exori>
        <Script>-- [[ INIT START ]] --
    local CONFIG = {
        CREATURES = {"Sea Serpent", "Young Sea Serpent"},
        
        PLAYERS = {
            ENABLED = Player_Safe,
            DISTANCE = 4,
            FLOOR_DIFFERENCE = 1,
            SAFE_LIST = {"Bubble", "Eternal Oblivion"},
        },
        
        SPELLS = {
            --{NAME = "groundshaker", AMOUNT = 6},
            {NAME = "fierce berserk", AMOUNT = AmountToEGran},
            {NAME = "berserk", AMOUNT = AmountToExori},
            {NAME = "front sweep", AMOUNT = AmountToEMin},
            --{NAME = "annihilation", HP_PC = 45},
            --{NAME = "brutal strike", HP_PC = 10},
           --{NAME = "whirlwind throw", HP_PC = 10},
        },
    }

    -- [[ DO NOT CHANGE ANYTHING BELOW THIS LINE. ]] --

    SPELLS_CONFIG = SPELLS_CONFIG or {}
    LAST_FLOOR = LAST_FLOOR or Self.PositionZ()
    ATTACK_EXHAUST = ATTACK_EXHAUST or 0
    
    table.lower(CONFIG.CREATURES)
    
    local RESET_SPELLS_CONFIG = #CONFIG.SPELLS ~= #SPELLS_CONFIG
    
    if (not RESET_SPELLS_CONFIG) then
        for INDEX, SPELL_ENTRY in ipairs(CONFIG.SPELLS) do
            if (SPELL_ENTRY.NAME ~= SPELLS_CONFIG[INDEX].NAME or ((SPELL_ENTRY.AMOUNT and SPELL_ENTRY.AMOUNT ~= SPELLS_CONFIG[INDEX].AMOUNT) or (SPELL_ENTRY.HP_PC and SPELL_ENTRY.HP_PC ~= SPELLS_CONFIG[INDEX].HP_PC))) then
                RESET_SPELLS_CONFIG = true
                break
            end
        end
    end
    
    if (RESET_SPELLS_CONFIG) then
        SPELLS_CONFIG = {}
        
        local CURRENT_INDEX = 1
        
        while (#CONFIG.SPELLS >= CURRENT_INDEX) do
            CONFIG.SPELLS[CURRENT_INDEX].INFO = Spell.GetByWordsOrName(CONFIG.SPELLS[CURRENT_INDEX].NAME)
            
            if (not CONFIG.SPELLS[CURRENT_INDEX].INFO:isValid()) then
                table.remove(CONFIG.SPELLS, CURRENT_INDEX)
            else
                if (#CONFIG.SPELLS[CURRENT_INDEX].INFO:Condition() > 0 and table.find({"BIG_BEAM", "BIG_WAVE", "FRONT", "SMALL_BEAM", "SMALL_WAVE", "STRIKE"}, CONFIG.SPELLS[CURRENT_INDEX].INFO:Condition())) then
                    CONFIG.SPELLS[CURRENT_INDEX].NEED_DIRECTION = true
                else
                    CONFIG.SPELLS[CURRENT_INDEX].NEED_DIRECTION = false
                end
                
                CURRENT_INDEX = CURRENT_INDEX + 1
            end
        end
    end
-- [[ INIT END ]] --

if (Self.PositionZ() ~= LAST_FLOOR) then
    LAST_FLOOR, ATTACK_EXHAUST = Self.PositionZ(), System.TimeMilliseconds() + 2000
    return
end

if (System.TimeMilliseconds() > ATTACK_EXHAUST) then
    for _, SPELL_ENTRY in ipairs(CONFIG.SPELLS) do
        if (SPELL_ENTRY.INFO:isAbleToCast(nil, false)) then
            local ATTACKED = Creature.GetAttacked()
            
            if (SPELL_ENTRY.AMOUNT and (not CONFIG.PLAYERS.ENABLED or Self.PlayersAroundFloorIgnore(CONFIG.PLAYERS.DISTANCE, CONFIG.PLAYERS.FLOOR_DIFFERENCE, unpack(CONFIG.PLAYERS.SAFE_LIST)) == 0)) then
                local HIGHEST_AMOUNT, BEST_DIRECTION = 0, Self.LookDirection()
                            
                if (SPELL_ENTRY.NEED_DIRECTION) then
                    for DIRECTION, CREATURES_AMOUNT in pairs({[DIRECTION_NORTH] = 0, [DIRECTION_EAST] = 0, [DIRECTION_SOUTH] = 0, [DIRECTION_WEST] = 0}) do
                        CREATURES_AMOUNT = Self.MonstersAroundSpell(SPELL_ENTRY.INFO:Condition(), DIRECTION, unpack(CONFIG.CREATURES))
                        
                        if (CREATURES_AMOUNT > HIGHEST_AMOUNT or (CREATURES_AMOUNT >= HIGHEST_AMOUNT and DIRECTION == Self.LookDirection())) then
                            HIGHEST_AMOUNT, BEST_DIRECTION = CREATURES_AMOUNT, DIRECTION
                        end
                    end
                else
                    HIGHEST_AMOUNT, BEST_DIRECTION = Self.MonstersAroundSpell(SPELL_ENTRY.INFO:Condition(), Self.LookDirection(), unpack(CONFIG.CREATURES)), Self.LookDirection()
                end
                
                if (HIGHEST_AMOUNT >= SPELL_ENTRY.AMOUNT) then
                    while (Self.LookDirection() ~= BEST_DIRECTION) do
                        Self.Turn(BEST_DIRECTION)
                        System.Wait(25, 75)
                    end
                    
                    if (SPELL_ENTRY.INFO:CastSpell()) then
                        System.Wait(Self.CoolDown(SPELL_GROUP_ATTACK))
                    end
                end
            elseif (SPELL_ENTRY.HP_PC and SPELL_ENTRY.INFO:isAbleToCast(ATTACKED, false) and table.find(CONFIG.CREATURES, ATTACKED:Name():lower()) and SPELL_ENTRY.HP_PC >= ATTACKED:HealthPercent()) then
                if (SPELL_ENTRY.INFO:CastSpell(ATTACKED)) then
                    System.Wait(Self.CoolDown(SPELL_GROUP_ATTACK))
                end
            end
        end
    end
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Exori>
      <Auto-Haste>
        <Script>if hasted == false and pzone == false and (posz <= 8 or maround(4) == 0) and standtime < 5000 and Auto_Haste then
cast("utani hur")
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Auto-Haste>
      <Exori-Hur-Ico>
        <Script>wa = 0
wb = 0
wc = 0
if iscreatureontile(posx-1,posy-1,posz) then wa = 1 end
if iscreatureontile(posx-1,posy,posz) then wb = 1 end
if iscreatureontile(posx-1,posy+1,posz) then wc = 1 end
west = wa+wb+wc
na = 0
nb = 0
nc = 0
if iscreatureontile(posx-1,posy-1,posz) then na = 1 end 
if iscreatureontile(posx,posy-1,posz) then nb = 1 end
if iscreatureontile(posx+1,posy-1,posz) then nc = 1 end
north = na+nb+nc
ea = 0
eb = 0
ec = 0
if iscreatureontile(posx+1,posy-1,posz) then ea = 1 end
if iscreatureontile(posx+1,posy,posz) then eb = 1 end
if iscreatureontile(posx+1,posy+1,posz) then ec = 1 end
east = ea+eb+ec
sa = 0
sb = 0
sc = 0
if iscreatureontile(posx-1,posy+1,posz) then sa = 1 end
if iscreatureontile(posx,posy+1,posz) then sb = 1 end
if iscreatureontile(posx+1,posy+1,posz) then sc = 1 end
south = sa+sb+sc


if ((south < AmountToEMin and east < AmountToEMin and west < AmountToEMin and north < AmountToEMin) or cancast("exori min") == false) and ((maround(1) < AmountToExori or cancast("exori") == false) or (paround(7, true) >= 1 and Player_Safe)) and ((maround(1) < AmountToEGran or cancast("exori gran") == false) or (paround(7, true) >= 1 and Player_Safe)) and maround(7) >= AmountToIcoandHur and target.id ~= 0 and cancast("exori hur") then
cast("exori hur")
end

if ((south < AmountToEMin and east < AmountToEMin and west < AmountToEMin and north < AmountToEMin) or cancast("exori min") == false) and ((maround(1) < AmountToExori or cancast("exori") == false) or (paround(7, true) >= 1 and Player_Safe)) and ((maround(1) < AmountToEGran or cancast("exori gran") == false) or (paround(7, true) >= 1 and Player_Safe)) and maround(7) >= AmountToIcoandHur and target.id ~= 0 and cancast("exori ico") and cancast("exori hur") == false then
cast("exori ico")
end</Script>
        <SpamRate>100 to 200</SpamRate>
        <Enabled>yes</Enabled>
      </Exori-Hur-Ico>
    </List>
    <Setup>-- Sea Serpents x1 by Delking v1.0
     Lure = true -- Wanna use Advanced Lure? For PG!
     North = true -- Wanna Hunt north part? 80+
     South = true -- Wanna Hunt south part? 130+
     Auto_Haste = true -- Auto Haste inside spawn?


     --Monster Options--
     Tasker = true -- Wanna do Tasks?
     KillBoss = false -- Wanna kill boss after task?
     KillYSS = false -- Wanna kill Young Seas? May increase exp to not
     Looting = false -- Have looting on floors without Sea Serpents?           
     --May increase exp if you remove, due to blood crabs


     --Spell Options--
     AmountToIcoandHur = 1 -- How many to shoot Exori Ico/Hur?
     AmountToEGran = 3 -- How many monsters to shoot E-Gran?
     AmountToExori = 2 -- How many monsters to use Exori?
     AmountToEMin = 2 -- How many monsters to use Exori Min?
     Auto_Haste = true -- Auto Haste inside spawn?
     Player_Safe = true -- Stop shooting Exori spells if player?


     --No backpack ideas?: http://tibia.wikia.com/wiki/Backpacks
     --Backpacks
     mainBp = "backpack of holding" -- Main Backpack name
     lootBp = "yellow backpack" -- Loot Backpack name(NOT JEWELLED)
     supplyBp = "dragon backpack" -- Supply Backpack name
     goldBp = "beach backpack" -- Gold Backpack name


     --Depot Backpacks
     DpBpAmount = 5 -- Amount of DpBps you will use (1-5)
     DpBp = "brocade backpack" -- First Depot Backpack name
     iDpBp = "brocade backpack" -- Item Depot Backpack name
     sDpBp = "brown backpack" -- Stack Depot Backpack name

     --Optional Depot Backpacks
     DpBp2 = "red backpack" -- Second Depot Backpack name
     iDpBp2 = "red backpack" -- Item Depot Backpack name
     sDpBp2 = "purple backpack" -- Stack Depot Backpack name

     DpBp3 = "blue backpack" -- Third Depot Backpack name
     iDpBp3 = "blue backpack" -- Item Depot Backpack name
     sDpBp3 = "golden backpack" -- Stack Depot Backpack name

     DpBp4 = "orange backpack" -- Fourth Depot Backpack name
     iDpBp4 = "orange backpack" -- Item Depot Backpack name
     sDpBp4 = "green backpack" -- Stack Depot Backpack name

     DpBp5 = "camouflage backpack" -- Fifth Depot Backpack name
     iDpBp5 = "beach backpack" -- Item Depot Backpack name
     sDpBp5 = "camouflage backpack" -- Stack Depot Backpack name


     --Supplies--
     mpID = "Mana potion"
     mpPrice = 50
     mpBuy = 1950
     mpCheck = 2100


     hpID = "ultimate health potion" -- Both UHP and GHP is in healer!
     hpPrice = 310
     hpBuy = 60
     hpCheck = 40


     --Miscellaneous--
     capCheck = 150 -- For refills and vial dropper
     PlayerOnScreen = true -- Player on Screen alarm in spawn?
     Mount = true -- Auto Mount?
     Skill = "Axe" -- Sword, Club, Axe, Distance or Magic
              -- (Need to be with capital letter like this)</Setup>
    <Enabled>yes</Enabled>
  </Actions>
  <CaveBot>
    <Waypoints>
      <SSx1_By_Delking>Stand 32272 31140 7</SSx1_By_Delking>
      <Depot_or_Spawn>Action 32272 31140 7 if posz == 7 then gotolabel("Depot") else gotolabel("South1") end</Depot_or_Spawn>
      <Depot>Stand 32274 31140 7</Depot>
      <Depot_by_Delking>Action 32272 31140 7 closewindows();wait(1000,2000);openitem(mainBp, "back", true);wait(1000,2000);resizewindows();wait(1000,2000);openitem(lootBp, mainBp);wait(1000,2000);resizewindows();wait(1000,1200);reachgrounditem("depot");wait(1000, 1500);openitem("depot");wait(900, 1400);openitem(3502, "locker");wait(900, 1400);if DpBpAmount == 1 then;openitem(DpBp, "Depot Chest");wait(1000,2000);resizewindows();wait(900, 1400);elseif DpBpAmount == 2 then;openitem(DpBp, "Depot Chest", true);wait(1000,2000);resizewindows();wait(900, 1400);openitem(DpBp2, "Depot Chest");wait(1000,2000);resizewindows();wait(900, 1400);elseif DpBpAmount == 3 then;openitem(DpBp, "Depot Chest", true);wait(1000,2000);resizewindows();wait(900, 1400);openitem(DpBp2, "Depot Chest", true);wait(1000,2000);resizewindows();wait(900, 1400);openitem(DpBp3, "Depot Chest");wait(1000,2000);resizewindows();wait(900, 1400);elseif DpBpAmount == 4 then;openitem(DpBp, "Depot Chest", true);wait(1000,2000);resizewindows();wait(900, 1400);openitem(DpBp2, "Depot Chest", true);wait(1000,2000);resizewindows();wait(900, 1400);openitem(DpBp3, "Depot Chest", true);wait(1000,2000);resizewindows();wait(900, 1400);openitem(DpBp4, "Depot Chest");wait(900, 1400);elseif DpBpAmount >= 5 then;openitem(DpBp, "Depot Chest", true);wait(1000,2000);resizewindows();wait(900, 1400);openitem(DpBp2, "Depot Chest", true);wait(1000,2000);resizewindows();wait(900, 1400);openitem(DpBp3, "Depot Chest", true);wait(1000,2000);resizewindows();wait(900, 1400);openitem(DpBp4, "Depot Chest", true);wait(1000,2000);resizewindows();wait(900, 1400);openitem(DpBp5, "Depot Chest");wait(1000,2000);resizewindows();wait(900, 1400);;if windowcount() < 1+DpBpAmount then ;gotolabel("Depot");end;else;gotolabel("BPs1");end</Depot_by_Delking>
      <w281>Action 32273 31138 7 local stacks = {9633, 3026, 9666, 237, 3029, 3061, 236, 238};local items = {8895, 3049, 3297, 8042, 3098, 8083, 815, 823, 8043, 9303, 8050, 7428, 9604, 8059, 9613, 8898};;;;depotdeposit(sDpBp, unpack(stacks));depotdeposit(iDpBp, unpack(items));depotdeposit(sDpBp2, unpack(stacks));depotdeposit(iDpBp2, unpack(items));depotdeposit(sDpBp3, unpack(stacks));depotdeposit(iDpBp3, unpack(items));depotdeposit(sDpBp4, unpack(stacks));depotdeposit(iDpBp4, unpack(items));depotdeposit(sDpBp5, unpack(stacks));depotdeposit(iDpBp5, unpack(items));if itemcount(lootBp, lootBp) >= 1 then;openitem(lootBp, lootBp);wait(900, 1400);;;depotdeposit(sDpBp, unpack(stacks));depotdeposit(iDpBp, unpack(items));depotdeposit(sDpBp2, unpack(stacks));depotdeposit(iDpBp2, unpack(items));depotdeposit(sDpBp3, unpack(stacks));depotdeposit(iDpBp3, unpack(items));depotdeposit(sDpBp4, unpack(stacks));depotdeposit(iDpBp4, unpack(items));depotdeposit(sDpBp5, unpack(stacks));depotdeposit(iDpBp5, unpack(items));if itemcount(lootBp, lootBp) >= 1 then;openitem(lootBp, lootBp);wait(900, 1400);;;depotdeposit(sDpBp, unpack(stacks));depotdeposit(iDpBp, unpack(items));depotdeposit(sDpBp2, unpack(stacks));depotdeposit(iDpBp2, unpack(items));depotdeposit(sDpBp3, unpack(stacks));depotdeposit(iDpBp3, unpack(items));depotdeposit(sDpBp4, unpack(stacks));depotdeposit(iDpBp4, unpack(items));depotdeposit(sDpBp5, unpack(stacks));depotdeposit(iDpBp5, unpack(items));if itemcount(lootBp, lootBp) >= 1 then;openitem(lootBp, lootBp);wait(900, 1400);;;depotdeposit(sDpBp, unpack(stacks));depotdeposit(iDpBp, unpack(items));depotdeposit(sDpBp2, unpack(stacks));depotdeposit(iDpBp2, unpack(items));depotdeposit(sDpBp3, unpack(stacks));depotdeposit(iDpBp3, unpack(items));depotdeposit(sDpBp4, unpack(stacks));depotdeposit(iDpBp4, unpack(items));depotdeposit(sDpBp5, unpack(stacks));depotdeposit(iDpBp5, unpack(items));if itemcount(lootBp, lootBp) >= 1 then;openitem(lootBp, lootBp);wait(900, 1400);;;depotdeposit(sDpBp, unpack(stacks));depotdeposit(iDpBp, unpack(items));depotdeposit(sDpBp2, unpack(stacks));depotdeposit(iDpBp2, unpack(items));depotdeposit(sDpBp3, unpack(stacks));depotdeposit(iDpBp3, unpack(items));depotdeposit(sDpBp4, unpack(stacks));depotdeposit(iDpBp4, unpack(items));depotdeposit(sDpBp5, unpack(stacks));depotdeposit(iDpBp5, unpack(items));if itemcount(lootBp, lootBp) >= 1 then;openitem(lootBp, lootBp);wait(900, 1400);;;depotdeposit(sDpBp, unpack(stacks));depotdeposit(iDpBp, unpack(items));depotdeposit(sDpBp2, unpack(stacks));depotdeposit(iDpBp2, unpack(items));depotdeposit(sDpBp3, unpack(stacks));depotdeposit(iDpBp3, unpack(items));depotdeposit(sDpBp4, unpack(stacks));depotdeposit(iDpBp4, unpack(items));depotdeposit(sDpBp5, unpack(stacks));depotdeposit(iDpBp5, unpack(items));if itemcount(lootBp, lootBp) >= 1 then;openitem(lootBp, lootBp);wait(900, 1400);;;depotdeposit(sDpBp, unpack(stacks));depotdeposit(iDpBp, unpack(items));depotdeposit(sDpBp2, unpack(stacks));depotdeposit(iDpBp2, unpack(items));depotdeposit(sDpBp3, unpack(stacks));depotdeposit(iDpBp3, unpack(items));depotdeposit(sDpBp4, unpack(stacks));depotdeposit(iDpBp4, unpack(items));depotdeposit(sDpBp5, unpack(stacks));depotdeposit(iDpBp5, unpack(items));if itemcount(lootBp, lootBp) >= 1 then;openitem(lootBp, lootBp);wait(900, 1400);;;depotdeposit(sDpBp, unpack(stacks));depotdeposit(iDpBp, unpack(items));depotdeposit(sDpBp2, unpack(stacks));depotdeposit(iDpBp2, unpack(items));depotdeposit(sDpBp3, unpack(stacks));depotdeposit(iDpBp3, unpack(items));depotdeposit(sDpBp4, unpack(stacks));depotdeposit(iDpBp4, unpack(items));depotdeposit(sDpBp5, unpack(stacks));depotdeposit(iDpBp5, unpack(items));end;end;end;end;end;end;end</w281>
      <w000>Stand 32275 31141 7</w000>
      <BPs1>Action 32275 31141 7 if stamina < 14*60 then gotolabel("Stamina") end;;closewindows();;closewindows();wait(1000,2000);openitem(mainBp, "back", true);wait(800,1200);resizewindows();wait(1000,2000);openitem(supplyBp, mainBp, true);wait(1000,2000);resizewindows();wait(1000,2000);;if windowcount() < 2 then;gotolabel("BPs1");end</BPs1>
      <Bank>Stand 32299 31134 7</Bank>
      <w003>Action 32299 31134 7 if maround(3, "Jessica") == 0 then gotolabel("Bank") end;</w003>
      <w296>Action 32299 31134 7 ;;local mpDraw = (mpBuy-itemcount(mpID))*mpPrice;if mpDraw < 0 then;mpDraw = 0;end;local hpDraw = (hpBuy-itemcount(hpID))*hpPrice;if hpDraw < 0 then;hpDraw = 0;end;local softDraw = itemcount(6530)*10000;;x = mpDraw+hpDraw+softDraw+5000;;say("hi");wait(1500,1700);npcsay("deposit all");wait(1000,1200);npcsay("yes");wait(1200,1300);;if x > 0 then;   npcsay("withdraw "..x);   wait(500,800);   npcsay("yes");   wait(1000,1200);   npcsay("balance");end;</w296>
      <Manas>Stand 32307 31132 7</Manas>
      <w004>Action 32307 31132 7 if maround(3, "Nelly") == 0 then gotolabel("Manas") end;</w004>
      <w299>Action 32305 31134 7 ;sellflasks();wait(500);;local mpCount = itemcount(mpID);local hpCount = itemcount(hpID);;buyitemsupto(hpID,hpBuy,hpCount);wait(200,300);;x = mpBuy - itemcount(mpID);while x > 0 do ;buyitems(mpID, x) ;wait(500,1000) ;moveitems(mpID,supplyBp, 1000) ;wait(300,400) ;x = mpBuy - itemcount(mpID);end;</w299>
      <ToHunt>Stand 32341 31117 7</ToHunt>
      <Checker_Outside_Spawn>Action 32341 31117 7 if itemcount(mpID) < mpBuy-50 or itemcount(hpID) < hpBuy-20 then gotolabel("SSx1_By_Delking") end;;if itemcount(6530) > 0 then gotolabel("Softs") end;;if countcreatures("sea serpent", "young sea serpent") >= 900 then ;  gotolabel("Softs");end</Checker_Outside_Spawn>
      <w002>Stand 32342 31119 7</w002>
      <w005>Ladder 32342 31119 7</w005>
      <w006>Stand 32353 31124 6</w006>
      <w007>Action 32353 31124 6 reachcreature("Captain Haba");wait(500);say("hi");wait(1000,1200);npcsay("hunt");wait(500);npcsay("yes");wait(500)</w007>
      <w008>Stand 31941 31046 6</w008>
      <w009>Action 31941 31046 6 if not islocation(7) then ;gotolabel("ToHunt") ;end</w009>
      <BPs2>Action 31943 31046 6 closewindows();wait(1000,2000);openitem(mainBp, "back", true);wait(1000,2000);resizewindows();wait(1000,2000);openitem(supplyBp, mainBp, true);resizewindows();wait(1000,2000);openitem(lootBp, mainBp, true);resizewindows();wait(1000,2000);openitem(goldBp, mainBp, true);resizewindows();wait(1000,2000);;if windowcount() < 4 then;gotolabel("BPs2");end</BPs2>
      <ToHunt2>Stand 31938 31042 6</ToHunt2>
      <w012>Stand 31936 31044 7</w012>
      <w011>Stand 31938 31041 6</w011>
      <w010>Action 31938 31041 8 if posz < 8 then gotolabel("ToHunt2") end;;setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","yes");;if South == false then gotolabel("North") end</w010>
      <South1>Action 31927 31029 8 if South == false then gotolabel("North1") end</South1>
      <South>Stand 31922 31073 8</South>
      <w374>Action 31922 31073 8 if not islocation() and posz == 8 then gotolabel("South") end</w374>
      <Checker>Action 31933 31046 6 if itemcount(mpID) < mpCheck or cap < capCheck or itemcount(hpID) < hpCheck or stamina < 14*60 then ;  gotolabel("Refill");end</Checker>
      <w297>Action 32341 31113 7 if countcreatures("sea serpent", "young sea serpent") >= 900 and Tasker then gotolabel("Refill") end</w297>
      <w013>Action 31933 31045 6 if Lure == true then settargeting("no") end;;move("e")</w013>
      <w168>Action 31933 31045 6 if posz ~= 8 then gotolabel("Down2") else turn("e");wait(200);cast("exani hur down") end</w168>
      <w169>Action 31933 31045 6 if posz ~= 8 then gotolabel("Down2") else gotolabel("South") end</w169>
      <Down2>Stand 31923 31074 9</Down2>
      <w375>Action 31923 31074 9 if not islocation() and posz == 9 then gotolabel("Down2") end;</w375>
      <w016>Action 31923 31074 9 if Lure == true then settargeting("no") end;;move("e");</w016>
      <w014>Action 31933 31045 6 if posz ~= 9 then gotolabel("Down3456") else;turn("e");wait(200);cast("exani hur down") end</w014>
      <w170>Action 31933 31045 6 if posz ~= 9 then gotolabel("sdafgasd") else gotolabel("Down2") end</w170>
      <w015>Stand 31939 31063 10</w015>
      <w017>Action 31938 31064 10 settargeting("yes")</w017>
      <w018>Stand 31944 31056 10</w018>
      <w282>Stand 31927 31073 10</w282>
      <Down3>Stand 31924 31074 10</Down3>
      <w376>Action 31924 31074 10 if not islocation() and posz == 10 then gotolabel("Down3") end;;</w376>
      <w020>Action 31924 31074 10 move("w");;</w020>
      <w171>Action 31923 31073 9 if posz ~= 10 then gotolabel("Down4") else;turn("w");wait(200);cast("exani hur up") end</w171>
      <w172>Action 31923 31073 9 if posz ~= 10 then gotolabel("Down4") else gotolabel("Down3") end</w172>
      <Down4>Stand 31923 31073 9</Down4>
      <w377>Action 31923 31073 9 if not islocation() and posz == 9 then gotolabel("Down4") end;;</w377>
      <w021>Action 31923 31073 9 move("w");;</w021>
      <w173>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down5") else;turn("w");wait(200);cast("exani hur up") end;</w173>
      <w174>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down5") else gotolabel("Down4") end</w174>
      <w001>Stand 31915 31083 8</w001>
      <Down5>Stand 31909 31079 8</Down5>
      <w146>Action 32271 31138 7 if itemcount(mpID) < mpCheck or cap < capCheck or itemcount(hpID) < hpCheck or stamina < 14*60 then ;  gotolabel("Refill");end</w146>
      <w356>Action 32341 31113 7 if countcreatures("sea serpent", "young sea serpent") >= 900 and Tasker then gotolabel("Refill") end</w356>
      <w378>Action 31909 31079 8 if not islocation() and posz == 8 then gotolabel("Down5") end;;</w378>
      <w022>Action 31909 31079 8 if Lure == true then settargeting("no") end;;move("e");;;</w022>
      <w175>Action 31923 31073 9 if posz ~= 8 then gotolabel("sdgfh") else;turn("e");wait(200);cast("exani hur down") end;</w175>
      <w176>Action 31923 31073 9 if posz ~= 8 then gotolabel("fdghdgfh") else gotolabel("Down5") end</w176>
      <w019>Stand 31911 31069 9</w019>
      <w023>Action 31911 31070 9 settargeting("yes")</w023>
      <w024>Stand 31899 31076 9</w024>
      <w283>Stand 31907 31078 9</w283>
      <Down6>Stand 31910 31079 9</Down6>
      <w379>Action 31910 31079 9 if not islocation() and posz == 9 then gotolabel("Down6") end;;</w379>
      <w026>Action 31910 31079 9 move("w")</w026>
      <w177>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down7") else;turn("w");wait(200);cast("exani hur up") end</w177>
      <w178>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down7") else gotolabel("Down6") end</w178>
      <Down7>Stand 31910 31092 8</Down7>
      <w380>Action 31910 31092 8 if not islocation() and posz == 8 then gotolabel("Down7") end;;</w380>
      <w149>Action 32271 31138 7 if itemcount(mpID) < mpCheck or cap < capCheck or itemcount(hpID) < hpCheck or stamina < 14*60 then ;  gotolabel("Refill");end;</w149>
      <w357>Action 32341 31113 7 if countcreatures("sea serpent", "young sea serpent") >= 900 and Tasker then gotolabel("Refill") end</w357>
      <w027>Action 31910 31092 8 if Lure == true then settargeting("no") end;;move("s");;</w027>
      <w179>Action 31923 31073 9 if posz ~= 8 then gotolabel("sdfg") else;turn("s");wait(200);cast("exani hur down") end</w179>
      <w180>Action 31923 31073 9 if posz ~= 8 then gotolabel("dsfgsd") else gotolabel("Down7") end;</w180>
      <w025>Stand 31899 31099 9</w025>
      <w028>Action 31899 31099 9 settargeting("yes")</w028>
      <w284>Stand 31907 31096 9</w284>
      <Down8>Stand 31910 31093 9</Down8>
      <w381>Action 31910 31093 9 if not islocation() and posz == 9 then gotolabel("Down8") end;;</w381>
      <w030>Action 31910 31093 9 move("n");;</w030>
      <w181>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down9") else;turn("n");wait(200);cast("exani hur up") end;</w181>
      <w182>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down9") else gotolabel("Down8") end</w182>
      <Down9>Stand 31914 31087 8</Down9>
      <w152>Action 32271 31138 7 if itemcount(mpID) < mpCheck or cap < capCheck or itemcount(hpID) < hpCheck or stamina < 14*60 then ;  gotolabel("Refill");end;</w152>
      <w358>Action 32341 31113 7 if countcreatures("sea serpent", "young sea serpent") >= 900 and Tasker then gotolabel("Refill") end</w358>
      <w382>Action 31914 31087 8 if not islocation() and posz == 8 then gotolabel("Down9") end;;</w382>
      <w031>Action 31914 31087 8 if Lure == true then settargeting("no") end;;move("s");;;;</w031>
      <w183>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down10") else;turn("s");wait(200);cast("exani hur down") end;</w183>
      <w184>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down10") else gotolabel("Down9") end</w184>
      <Down10>Action 31914 31088 9 if Lure == true then settargeting("no") end;;move("s");;;;</Down10>
      <w185>Action 31923 31073 9 if posz ~= 9 then gotolabel("sadf") else;turn("s");wait(200);cast("exani hur down") end</w185>
      <w186>Action 31923 31073 9 if posz ~= 9 then gotolabel("asdf") else gotolabel("Down10") end;</w186>
      <w032>Stand 31915 31097 10</w032>
      <w033>Action 31915 31094 10 settargeting("yes")</w033>
      <w285>Stand 31914 31092 10</w285>
      <Down11>Stand 31914 31089 10</Down11>
      <w383>Action 31914 31089 10 if not islocation() and posz == 10 then gotolabel("Down11") end;;</w383>
      <lol123>Action 31914 31089 10 move("n");;;;</lol123>
      <w187>Action 31923 31073 9 if posz ~= 10 then gotolabel("Down12") else;turn("n");wait(200);cast("exani hur up") end;;</w187>
      <w188>Action 31923 31073 9 if posz ~= 10 then gotolabel("Down12") else gotolabel("Down11") end</w188>
      <Down12>Action 31914 31089 10 move("n");;;;</Down12>
      <w189>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down13") else;turn("n");wait(200);cast("exani hur up") end;;</w189>
      <w190>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down13") else gotolabel("Down12") end</w190>
      <Down13>Stand 31923 31114 8</Down13>
      <w384>Action 31923 31114 8 if not islocation() and posz == 8 then gotolabel("Down13") end;;</w384>
      <w153>Action 32271 31138 7 if itemcount(mpID) < mpCheck or cap < capCheck or itemcount(hpID) < hpCheck or stamina < 14*60 then ;  gotolabel("Refill");end;</w153>
      <w359>Action 32341 31113 7 if countcreatures("sea serpent", "young sea serpent") >= 900 and Tasker then gotolabel("Refill") end</w359>
      <w035>Action 31923 31114 8 if Lure == true then settargeting("no") end;;move("s");;;;;</w035>
      <w191>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down14") else;turn("s");wait(200);cast("exani hur down") end;</w191>
      <w192>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down14") else gotolabel("Down13") end</w192>
      <Down14>Stand 31923 31116 9</Down14>
      <w385>Action 31923 31116 9 if not islocation() and posz == 9 then gotolabel("Down14") end;;</w385>
      <w037>Action 31923 31116 9 if Lure == true then settargeting("no") end;;move("s");;;;;</w037>
      <w193>Action 31923 31073 9 if posz ~= 9 then gotolabel("Downfdgh10") else;turn("s");wait(200);cast("exani hur down") end;</w193>
      <w194>Action 31923 31073 9 if posz ~= 9 then gotolabel("Ddfhdfgh") else gotolabel("Down14") end</w194>
      <w029>Stand 31924 31123 10</w029>
      <w034>Action 31924 31123 10 settargeting("yes")</w034>
      <w286>Stand 31923 31119 10</w286>
      <Down15>Stand 31923 31117 10</Down15>
      <w386>Action 31923 31117 10 if not islocation() and posz == 10 then gotolabel("Down15") end;;</w386>
      <w038>Action 31923 31117 10 move("n");;;;;</w038>
      <w195>Action 31923 31073 9 if posz ~= 10 then gotolabel("Down16") else;turn("n");wait(200);cast("exani hur up") end;</w195>
      <w196>Action 31923 31073 9 if posz ~= 10 then gotolabel("Down16") else gotolabel("Down15") end</w196>
      <Down16>Stand 31923 31115 9</Down16>
      <w387>Action 31923 31115 9 if not islocation() and posz == 9 then gotolabel("Down16") end;;</w387>
      <w040>Action 31923 31115 9 move("n");;;;</w040>
      <w197>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down17") else;turn("n");wait(200);cast("exani hur up") end</w197>
      <w198>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down17") else gotolabel("Down16") end</w198>
      <Down17>Stand 31931 31130 8</Down17>
      <w154>Action 32271 31138 7 if itemcount(mpID) < mpCheck or cap < capCheck or itemcount(hpID) < hpCheck or stamina < 14*60 then ;  gotolabel("Refill");end;</w154>
      <w360>Action 32341 31113 7 if countcreatures("sea serpent", "young sea serpent") >= 900 and Tasker then gotolabel("Refill") end</w360>
      <w388>Action 31931 31130 8 if not islocation() and posz == 8 then gotolabel("Down17") end</w388>
      <w039>Action 31931 31130 8 if Lure == true then settargeting("no") end;;move("s");;;;</w039>
      <w199>Action 31923 31073 9 if posz ~= 8 then gotolabel("Dowdfgyhdjg") else;turn("s");wait(200);cast("exani hur down") end</w199>
      <w200>Action 31923 31073 9 if posz ~= 8 then gotolabel("Downdfthg") else gotolabel("Down17") end</w200>
      <w036>Stand 31907 31124 9</w036>
      <w041>Action 31907 31123 9 settargeting("yes")</w041>
      <w042>Stand 31907 31123 9</w042>
      <w043>Stand 31923 31133 9</w043>
      <w287>Stand 31928 31131 9</w287>
      <Down18>Stand 31931 31131 9</Down18>
      <w389>Action 31931 31131 9 if not islocation() and posz == 9 then gotolabel("Down18") end;;</w389>
      <w045>Action 31931 31131 9 move("n");;;;;</w045>
      <w201>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down19") else;turn("n");wait(200);cast("exani hur up") end</w201>
      <w202>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down19") else gotolabel("Down18") end</w202>
      <Down19>Stand 31936 31124 8</Down19>
      <w155>Action 32271 31138 7 if itemcount(mpID) < mpCheck or cap < capCheck or itemcount(hpID) < hpCheck or stamina < 14*60 then ;  gotolabel("Refill");end;</w155>
      <w361>Action 32341 31113 7 if countcreatures("sea serpent", "young sea serpent") >= 900 and Tasker then gotolabel("Refill") end</w361>
      <w390>Action 31936 31124 8 if not islocation() and posz == 8 then gotolabel("Down19") end;;</w390>
      <w046>Action 31936 31124 8 if Lure == true then settargeting("no") end;;move("e");;;;</w046>
      <w203>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down10dsfg") else;turn("e");wait(200);cast("exani hur down") end;</w203>
      <w204>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down10dsfg") else gotolabel("Down19") end</w204>
      <w288>Stand 31940 31114 9</w288>
      <Down20>Stand 31940 31113 9</Down20>
      <w391>Action 31940 31113 9 if not islocation() and posz == 9 then gotolabel("Down20") end;;</w391>
      <w047>Action 31940 31113 9 settargeting("yes")</w047>
      <w048>Action 31940 31113 9 move("w");;;;</w048>
      <w205>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down21") else;turn("w");wait(200);cast("exani hur up") end;</w205>
      <w206>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down21") else gotolabel("Down20") end</w206>
      <Down21>Stand 31942 31103 8</Down21>
      <w2123>Stand 31947 31101 8</w2123>
      <w392>Action 31947 31101 8 if not islocation() and posz == 8 then gotolabel("Down21") end;;</w392>
      <w156>Action 32271 31138 7 if itemcount(mpID) < mpCheck or cap < capCheck or itemcount(hpID) < hpCheck or stamina < 14*60 then ;  gotolabel("Refill");end;</w156>
      <w362>Action 32341 31113 7 if countcreatures("sea serpent", "young sea serpent") >= 900 and Tasker then gotolabel("Refill") end</w362>
      <w049>Action 31947 31101 8 if Lure == true then settargeting("no") end;;move("s");;;;</w049>
      <w207>Action 31923 31073 9 if posz ~= 8 then gotolabel("Downsfdagv") else;turn("s");wait(200);cast("exani hur down") end</w207>
      <w208>Action 31923 31073 9 if posz ~= 8 then gotolabel("Dowasdfn10") else gotolabel("Down21") end</w208>
      <w044>Stand 31952 31103 9</w044>
      <w050>Action 31952 31103 9 settargeting("yes")</w050>
      <Down22>Stand 31947 31102 9</Down22>
      <w393>Action 31947 31102 9 if not islocation() and posz == 9 then gotolabel("Down22") end;;</w393>
      <w052>Action 31947 31102 9 move("n");;;;;</w052>
      <w209>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down23") else;turn("n");wait(200);cast("exani hur up") end;</w209>
      <w210>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down23") else gotolabel("Down22") end</w210>
      <Down23>Stand 31938 31090 8</Down23>
      <w394>Action 31938 31090 8 if not islocation() and posz == 8 then gotolabel("Down23") end;;</w394>
      <w157>Action 32271 31138 7 if itemcount(mpID) < mpCheck or cap < capCheck or itemcount(hpID) < hpCheck or stamina < 14*60 then ;  gotolabel("Refill");end;</w157>
      <w363>Action 32341 31113 7 if countcreatures("sea serpent", "young sea serpent") >= 900 and Tasker then gotolabel("Refill") end</w363>
      <w053>Action 31938 31090 8 if Lure == true then settargeting("no") end;;move("s");;;;;</w053>
      <w211>Action 31923 31073 9 if posz ~= 8 then gotolabel("Downsfdagv") else;turn("s");wait(200);cast("exani hur down") end;</w211>
      <w212>Action 31923 31073 9 if posz ~= 8 then gotolabel("Dowasdfn10") else gotolabel("Down23") end</w212>
      <w051>Stand 31950 31092 9</w051>
      <w054>Action 31950 31092 9 settargeting("yes")</w054>
      <w289>Stand 31940 31093 9</w289>
      <Down24>Stand 31938 31091 9</Down24>
      <w395>Action 31938 31091 9 if not islocation() and posz == 9 then gotolabel("Down24") end;;</w395>
      <w056>Action 31938 31091 9 move("n");;;;;;;</w056>
      <w213>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down30") else;turn("n");wait(200);cast("exani hur up") end</w213>
      <w214>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down30") else gotolabel("Down24") end</w214>
      <Down30>Stand 31941 31073 8</Down30>
      <w396>Action 31941 31073 8 if not islocation() and posz == 8 then gotolabel("Down30") end;;</w396>
      <w158>Action 32271 31138 7 if itemcount(mpID) < mpCheck or cap < capCheck or itemcount(hpID) < hpCheck or stamina < 14*60 then ;  gotolabel("Refill");end;</w158>
      <w364>Action 32341 31113 7 if countcreatures("sea serpent", "young sea serpent") >= 900 and Tasker then gotolabel("Refill") end</w364>
      <w060>Action 31941 31073 8 if Lure == true then settargeting("no") end;;move("s");;;;;;;;</w060>
      <w215>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down31") else;turn("s");wait(200);cast("exani hur down") end</w215>
      <w216>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down31") else gotolabel("Down30") end</w216>
      <Down31>Stand 31941 31074 9</Down31>
      <w064>Action 31941 31074 9 if Lure == true then settargeting("no") end;;move("s");;;;;;;;</w064>
      <w217>Action 31923 31073 9 if posz ~= 9 then gotolabel("Dowsdfn27") else;turn("s");wait(200);cast("exani hur down") end;</w217>
      <w218>Action 31923 31073 9 if posz ~= 9 then gotolabel("Dowsdfn27") else gotolabel("Down31") end</w218>
      <w062>Stand 31942 31078 10</w062>
      <w065>Action 31942 31078 10 settargeting("yes")</w065>
      <Down32>Stand 31941 31075 10</Down32>
      <w397>Action 31941 31075 10 if not islocation() and posz == 10 then gotolabel("Down32") end;;</w397>
      <w067>Action 31941 31075 10 move("n");;;;;;;;;;</w067>
      <w219>Action 31923 31073 9 if posz ~= 10 then gotolabel("Down33") else;turn("n");wait(200);cast("exani hur up") end;</w219>
      <w220>Action 31923 31073 9 if posz ~= 10 then gotolabel("Down33") else gotolabel("Down32") end</w220>
      <Down33>Stand 31941 31074 9</Down33>
      <w398>Action 31941 31074 9 if not islocation() and posz == 9 then gotolabel("Down33") end;;</w398>
      <w068>Action 31941 31074 9 move("n");;;;;;;;;;</w068>
      <w221>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down25") else;turn("n");wait(200);cast("exani hur up") end</w221>
      <w222>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down25") else gotolabel("Down33") end</w222>
      <Down25>Stand 31929 31084 8</Down25>
      <w399>Action 31929 31084 8 if not islocation() and posz == 8 then gotolabel("Down25") end;;</w399>
      <w159>Action 32271 31138 7 if itemcount(mpID) < mpCheck or cap < capCheck or itemcount(hpID) < hpCheck or stamina < 14*60 then ;  gotolabel("Refill");end;</w159>
      <w365>Action 32341 31113 7 if countcreatures("sea serpent", "young sea serpent") >= 900 and Tasker then gotolabel("Refill") end</w365>
      <w057>Action 31929 31084 8 if Lure == true then settargeting("no") end;;move("s");;;;;;;</w057>
      <w223>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down26") else;turn("s");wait(200);cast("exani hur down") end;</w223>
      <w224>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down26") else gotolabel("Down25") end</w224>
      <Down26>Stand 31929 31085 9</Down26>
      <w400>Action 31929 31085 9 if not islocation() and posz == 9 then gotolabel("Down26") end;;</w400>
      <w059>Action 31929 31085 9 if Lure == true then settargeting("no") end;;move("s");;;;;;;;</w059>
      <w225>Action 31923 31073 9 if posz ~= 9 then gotolabel("Dowsdfn27") else;turn("s");wait(200);cast("exani hur down") end;</w225>
      <w226>Action 31923 31073 9 if posz ~= 9 then gotolabel("Dowsdfn27") else gotolabel("Down26") end</w226>
      <w055>Stand 31929 31092 10</w055>
      <w058>Action 31929 31092 10 settargeting("yes")</w058>
      <w290>Stand 31929 31088 10</w290>
      <Down27>Stand 31929 31086 10</Down27>
      <w401>Action 31929 31086 10 if not islocation() and posz == 10 then gotolabel("Down27") end;;</w401>
      <w061>Action 31929 31086 10 move("n");;;;;;;;</w061>
      <w227>Action 31923 31073 9 if posz ~= 10 then gotolabel("Down28") else;turn("n");wait(200);cast("exani hur up") end;</w227>
      <w228>Action 31923 31073 9 ;if posz ~= 10 then gotolabel("Down28") else gotolabel("Down27") end</w228>
      <Down28>Stand 31929 31085 9</Down28>
      <w402>Action 31929 31085 9 if not islocation() and posz == 9 then gotolabel("Down28") end;;</w402>
      <w063>Action 31929 31085 9 move("n");;;;;;;</w063>
      <w229>Action 31923 31073 9 if posz ~= 9 then gotolabel("North1") else;turn("n");wait(200);cast("exani hur up") end;;</w229>
      <w230>Action 31923 31073 9 if posz ~= 9 then gotolabel("North1") else gotolabel("Down28") end</w230>
      <w066>Stand 31920 31079 8</w066>
      <North1>Action 31920 31079 8 if North == false then gotolabel("South1") end</North1>
      <North>Stand 31924 31060 8</North>
      <Down34>Stand 31923 31056 8</Down34>
      <w403>Action 31923 31056 8 if not islocation() and posz == 8 then gotolabel("Down34") end;;</w403>
      <w160>Action 32271 31138 7 if itemcount(mpID) < mpCheck or cap < capCheck or itemcount(hpID) < hpCheck or stamina < 14*60 then ;  gotolabel("Refill");end;</w160>
      <w366>Action 32341 31113 7 if countcreatures("sea serpent", "young sea serpent") >= 900 and Tasker then gotolabel("Refill") end</w366>
      <w070>Action 31923 31056 8 if Lure == true then settargeting("no") end;;move("e");;;;;;;;</w070>
      <w231>Action 31923 31073 9 if posz ~= 8 then gotolabel("Dowsdfn27") else;turn("e");wait(200);cast("exani hur down") end;;</w231>
      <w232>Action 31923 31073 9 if posz ~= 8 then gotolabel("Dowsdfn27") else gotolabel("Down34") end</w232>
      <w071>Stand 31932 31052 9</w071>
      <w072>Action 31932 31052 9 settargeting("yes")</w072>
      <w291>Stand 31926 31052 9</w291>
      <Down35>Stand 31924 31056 9</Down35>
      <w404>Action 31924 31056 9 if not islocation() and posz == 9 then gotolabel("Down35") end;;</w404>
      <w074>Action 31924 31056 9 move("w");;;;;;;;;</w074>
      <w233>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down36") else;turn("w");wait(200);cast("exani hur up") end;</w233>
      <w234>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down36") else gotolabel("Down35") end;</w234>
      <Down36>Stand 31917 31038 8</Down36>
      <w405>Action 31917 31038 8 if not islocation() and posz == 8 then gotolabel("Down36") end;;</w405>
      <w161>Action 32271 31138 7 if itemcount(mpID) < mpCheck or cap < capCheck or itemcount(hpID) < hpCheck or stamina < 14*60 then ;  gotolabel("Refill");end;</w161>
      <w367>Action 32341 31113 7 if countcreatures("sea serpent", "young sea serpent") >= 900 and Tasker then gotolabel("Refill") end</w367>
      <w075>Action 31917 31038 8 if Lure == true then settargeting("no") end;;move("e");;;;;;;;</w075>
      <w235>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down37") else;turn("e");wait(200);cast("exani hur down") end;</w235>
      <w236>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down37") else gotolabel("Down36") end;</w236>
      <Down37>Stand 31918 31038 9</Down37>
      <w406>Action 31918 31038 9 if not islocation() and posz == 9 then gotolabel("Down37") end;;</w406>
      <w076>Action 31918 31038 9 if Lure == true then settargeting("no") end;;move("e");;;;;;;;;;</w076>
      <w237>Action 31923 31073 9 if posz ~= 9 then gotolabel("Dosdwn37") else;turn("e");wait(200);cast("exani hur down") end;;</w237>
      <w238>Action 31923 31073 9 if posz ~= 9 then gotolabel("Dowsadfn37") else gotolabel("Down37") end</w238>
      <w073>Stand 31921 31038 10</w073>
      <w077>Action 31921 31038 10 settargeting("yes")</w077>
      <Down38>Stand 31919 31038 10</Down38>
      <w407>Action 31919 31038 10 if not islocation() and posz == 10 then gotolabel("Down38") end;;</w407>
      <w079>Action 31919 31038 10 move("w");;;;;;;;;</w079>
      <w239>Action 31923 31073 9 if posz ~= 10 then gotolabel("Down39") else;turn("w");wait(200);cast("exani hur up") end;;;</w239>
      <w240>Action 31923 31073 9 if posz ~= 10 then gotolabel("Down39") else gotolabel("Down38") end</w240>
      <Down39>Stand 31918 31038 9</Down39>
      <w408>Action 31918 31038 9 if not islocation() and posz == 9 then gotolabel("Down39") end;;</w408>
      <w081>Action 31918 31038 9 move("w");;;;;;;;;;;</w081>
      <w241>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down40") else;turn("w");wait(200);cast("exani hur up") end;</w241>
      <w242>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down40") else gotolabel("Down39") end;</w242>
      <Down40>Stand 31906 31034 8</Down40>
      <w279>Action 31906 31034 8 if not islocation() and posz == 8 then gotolabel("Down40") end;;</w279>
      <w162>Action 32271 31138 7 if itemcount(mpID) < mpCheck or cap < capCheck or itemcount(hpID) < hpCheck or stamina < 14*60 then ;  gotolabel("Refill");end;</w162>
      <w368>Action 32341 31113 7 if countcreatures("sea serpent", "young sea serpent") >= 900 and Tasker then gotolabel("Refill") end</w368>
      <w080>Action 31906 31034 8 if Lure == true then settargeting("no") end;;move("s");;;;;;;;;;</w080>
      <w243>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down41") else;turn("s");wait(200);cast("exani hur down") end;</w243>
      <w244>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down41") else gotolabel("Down40") end;</w244>
      <Down41>Stand 31906 31035 9</Down41>
      <w409>Action 31906 31035 9 if not islocation() and posz == 9 then gotolabel("Down41") end;;</w409>
      <w083>Action 31906 31035 9 if Lure == true then settargeting("no") end;;move("s");;;;;;;;;;;</w083>
      <w245>Action 31923 31073 9 if posz ~= 9 then gotolabel("Dosdafwn41") else;turn("s");wait(200);cast("exani hur down") end;;</w245>
      <w246>Action 31923 31073 9 if posz ~= 9 then gotolabel("Downsdf41") else gotolabel("Down41") end</w246>
      <w078>Stand 31905 31041 10</w078>
      <w082>Action 31905 31041 10 settargeting("yes")</w082>
      <Down42>Stand 31906 31036 10</Down42>
      <w410>Action 31906 31036 10 if not islocation() and posz == 10 then gotolabel("Down42") end;;</w410>
      <w085>Action 31906 31036 10 ;move("n");;;;;;;;;;;</w085>
      <w247>Action 31923 31073 9 if posz ~= 10 then gotolabel("Down43") else;turn("n");wait(200);cast("exani hur up") end;;</w247>
      <w248>Action 31923 31073 9 if posz ~= 10 then gotolabel("Down43") else gotolabel("Down42") end</w248>
      <Down43>Stand 31906 31035 9</Down43>
      <w411>Action 31906 31035 9 if not islocation() and posz == 9 then gotolabel("Down43") end;;</w411>
      <w087>Action 31906 31035 9 move("n");;;;;;;;;;;;;</w087>
      <w249>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down44") else;turn("n");wait(200);cast("exani hur up") end;</w249>
      <w250>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down44") else gotolabel("Down43") end</w250>
      <Down44>Stand 31902 31035 8</Down44>
      <w412>Action 31902 31035 8 if not islocation() and posz == 8 then gotolabel("Down44") end;;</w412>
      <w163>Action 32271 31138 7 if itemcount(mpID) < mpCheck or cap < capCheck or itemcount(hpID) < hpCheck or stamina < 14*60 then ;  gotolabel("Refill");end;</w163>
      <w369>Action 32341 31113 7 if countcreatures("sea serpent", "young sea serpent") >= 900 and Tasker then gotolabel("Refill") end</w369>
      <w086>Action 31902 31035 8 if Lure == true then settargeting("no") end;;move("s");</w086>
      <w251>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down43452") else;turn("s");wait(200);cast("exani hur down") end;</w251>
      <w252>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down432453") else gotolabel("Down44") end</w252>
      <w089>Stand 31891 31043 9</w089>
      <w088>Action 31891 31041 9 settargeting("yes")</w088>
      <w292>Stand 31894 31037 9</w292>
      <Down45>Stand 31902 31036 9</Down45>
      <w413>Action 31902 31036 9 if not islocation() and posz == 9 then gotolabel("Down34") end;;</w413>
      <w090>Action 31902 31036 9 move("n");</w090>
      <w253>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down46") else;turn("n");wait(200);cast("exani hur up") end;</w253>
      <w254>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down46") else gotolabel("Down45") end;</w254>
      <Down46>Stand 31909 31019 8</Down46>
      <w414>Action 31909 31019 8 if not islocation() and posz == 8 then gotolabel("Down46") end;;</w414>
      <w164>Action 32271 31138 7 if itemcount(mpID) < mpCheck or cap < capCheck or itemcount(hpID) < hpCheck or stamina < 14*60 then ;  gotolabel("Refill");end;</w164>
      <w370>Action 32341 31113 7 if countcreatures("sea serpent", "young sea serpent") >= 900 and Tasker then gotolabel("Refill") end</w370>
      <w091>Action 31909 31019 8 if Lure == true then settargeting("no") end;;move("s");;</w091>
      <w255>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down47") else;turn("s");wait(200);cast("exani hur down") end;</w255>
      <w256>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down47") else gotolabel("Down46") end</w256>
      <Down47>Stand 31908 31021 9</Down47>
      <w415>Action 31908 31021 9 if not islocation() and posz == 9 then gotolabel("Down47") end;;</w415>
      <w093>Action 31908 31021 9 if Lure == true then settargeting("no") end;;move("s");;;</w093>
      <w257>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down43457") else;turn("s");wait(200);cast("exani hur down") end;</w257>
      <w258>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down44357") else gotolabel("Down47") end</w258>
      <w084>Stand 31900 31020 10</w084>
      <w092>Action 31900 31020 10 settargeting("yes")</w092>
      <w293>Stand 31905 31021 10</w293>
      <Down48>Stand 31908 31022 10</Down48>
      <w416>Action 31908 31022 10 if not islocation() and posz == 10 then gotolabel("Down48") end;;</w416>
      <w095>Action 31908 31022 10 ;move("n");;;;;;;;;;;;</w095>
      <w259>Action 31923 31073 9 if posz ~= 10 then gotolabel("Down49") else;turn("n");wait(200);cast("exani hur up") end;;</w259>
      <w260>Action 31923 31073 9 if posz ~= 10 then gotolabel("Down49") else gotolabel("Down48") end</w260>
      <Down49>Stand 31909 31020 9</Down49>
      <w417>Action 31909 31020 9 if not islocation() and posz == 9 then gotolabel("Down49") end;;</w417>
      <w097>Action 31909 31020 9 move("n");;;;;;;;;;;;;</w097>
      <w261>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down50") else;turn("n");wait(200);cast("exani hur up") end;;</w261>
      <w262>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down50") else gotolabel("Down49") end</w262>
      <Down50>Stand 31908 31010 8</Down50>
      <w418>Action 31908 31010 8 if not islocation() and posz == 8 then gotolabel("Down50") end;;</w418>
      <w165>Action 32271 31138 7 if itemcount(mpID) < mpCheck or cap < capCheck or itemcount(hpID) < hpCheck or stamina < 14*60 then ;  gotolabel("Refill");end;</w165>
      <w371>Action 32341 31113 7 if countcreatures("sea serpent", "young sea serpent") >= 900 and Tasker then gotolabel("Refill") end</w371>
      <w096>Action 31908 31010 8 if Lure == true then settargeting("no") end;;move("e");</w096>
      <w263>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down51") else;turn("e");wait(200);cast("exani hur down") end;;</w263>
      <w264>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down51") else gotolabel("Down50") end;</w264>
      <Down51>Stand 31909 31010 9</Down51>
      <w419>Action 31909 31010 9 if not islocation() and posz == 9 then gotolabel("Down51") end;;</w419>
      <w099>Action 31909 31010 9 if Lure == true then settargeting("no") end;;move("e");;;;</w099>
      <w265>Action 31923 31073 9 if posz ~= 9 then gotolabel("Do2wn52") else;turn("e");wait(200);cast("exani hur down") end;</w265>
      <w266>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down3252") else gotolabel("Down51") end</w266>
      <w094>Stand 31918 31013 10</w094>
      <w098>Action 31916 31013 10 settargeting("yes")</w098>
      <w294>Stand 31914 31011 10</w294>
      <Down52>Stand 31910 31010 10</Down52>
      <w420>Action 31910 31010 10 if not islocation() and posz == 10 then gotolabel("Down52") end;;</w420>
      <w101>Action 31910 31010 10 move("w");wait(1000,1200);;</w101>
      <w267>Action 31923 31073 9 if posz ~= 10 then gotolabel("Down53") else;turn("w");wait(200);cast("exani hur up") end;;</w267>
      <w268>Action 31923 31073 9 if posz ~= 10 then gotolabel("Down53") else gotolabel("Down52") end</w268>
      <Down53>Stand 31909 31010 9</Down53>
      <w421>Action 31909 31010 9 if not islocation() and posz == 9 then gotolabel("Down53") end;;</w421>
      <w103>Action 31909 31010 9 move("w");;;</w103>
      <w269>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down54") else;turn("w");wait(200);cast("exani hur up") end;;</w269>
      <w270>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down54") else gotolabel("Down53") end</w270>
      <Down54>Stand 31904 31009 8</Down54>
      <w422>Action 31904 31009 8 if not islocation() and posz == 8 then gotolabel("Down54") end;;</w422>
      <w166>Action 32271 31138 7 if itemcount(mpID) < mpCheck or cap < capCheck or itemcount(hpID) < hpCheck or stamina < 14*60 then ;  gotolabel("Refill");end;</w166>
      <w372>Action 32341 31113 7 if countcreatures("sea serpent", "young sea serpent") >= 900 and Tasker then gotolabel("Refill") end</w372>
      <w102>Action 31904 31009 8 if Lure == true then settargeting("no") end;;move("s");;;;</w102>
      <w271>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down53454") else;turn("s");wait(200);cast("exani hur down") end;</w271>
      <w272>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down53454") else gotolabel("Down54") end</w272>
      <w100>Stand 31901 30998 9</w100>
      <w104>Action 31901 30998 9 settargeting("yes")</w104>
      <w280>Stand 31905 31007 9</w280>
      <Down55>Stand 31904 31010 9</Down55>
      <w423>Action 31904 31010 9 if not islocation() and posz == 9 then gotolabel("Down55") end;;</w423>
      <w106>Action 31903 31010 9 move("n");;;;</w106>
      <w273>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down56") else;turn("n");wait(200);cast("exani hur up") end;;</w273>
      <w274>Action 31923 31073 9 if posz ~= 9 then gotolabel("Down56") else gotolabel("Down55") end</w274>
      <Down56>Stand 31924 31029 8</Down56>
      <w424>Action 31924 31029 8 if not islocation() and posz == 8 then gotolabel("Down56") end;;</w424>
      <w167>Action 32271 31138 7 if itemcount(mpID) < mpCheck or cap < capCheck or itemcount(hpID) < hpCheck or stamina < 14*60 then ;  gotolabel("Refill");end;</w167>
      <w373>Action 32341 31113 7 if countcreatures("sea serpent", "young sea serpent") >= 900 and Tasker then gotolabel("Refill") end</w373>
      <w107>Action 31924 31029 8 if Lure == true then settargeting("no") end;;move("s");;;;;</w107>
      <w275>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down5456") else;turn("s");wait(200);cast("exani hur down") end;</w275>
      <w276>Action 31923 31073 9 if posz ~= 8 then gotolabel("Down54567") else gotolabel("Down56") end</w276>
      <w105>Stand 31937 31025 9</w105>
      <w108>Action 31937 31025 9 settargeting("yes")</w108>
      <w295>Stand 31926 31030 9</w295>
      <Down57>Stand 31924 31030 9</Down57>
      <w425>Action 31924 31030 9 if not islocation() and posz == 9 then gotolabel("Down57") end;;</w425>
      <w110>Action 31924 31030 9 move("n");;;;</w110>
      <w277>Action 31923 31073 9 if posz ~= 9 then gotolabel("South1") else;turn("n");wait(200);cast("exani hur up") end;;</w277>
      <w278>Action 31923 31073 9 if posz ~= 9 then gotolabel("South1") else gotolabel("Down57") end</w278>
      <Refill>Stand 31937 31042 8</Refill>
      <w109>Stand 31938 31042 8</w109>
      <Refiller2>Stand 31949 31044 7</Refiller2>
      <w069>Action 31933 31045 6 if posz > 7 then gotolabel("Refill") end</w069>
      <w111>Stand 31948 31046 6</w111>
      <w112>Action 31948 31046 6 reachcreature("Captain Haba");wait(1000,1500);say("hi");wait(1000,1500);npcsay("back");wait(500,800);npcsay("yes");wait(2500,2800)</w112>
      <w426>Action 32330 31118 7 if posz == 6 then gotolabel("Refiller2") end</w426>
      <Depot2>Stand 32299 31129 7</Depot2>
      <w298>Action 32299 31129 7 gotolabel("Depot")</w298>
      <Stamina>Stand 32240 31122 7</Stamina>
      <w113>Stand 32236 31109 7</w113>
      <w114>Stand 32236 31108 7</w114>
      <w115>Action 32236 31105 6 if posz == 7 then gotolabel("Stamina") end</w115>
      <Stamina2>Stand 32249 31067 6</Stamina2>
      <w117>Action 32249 31067 6 if not islocation(3) then gotolabel("Stamina2") else gotolabel(Skill) end</w117>
      <Distance>Use 32246 31066 6</Distance>
      <Sword>Use 32247 31064 6</Sword>
      <Axe>Use 32249 31064 6</Axe>
      <Club>Use 32251 31064 6</Club>
      <Magic>Use 32252 31066 6</Magic>
      <Softs>Stand 32341 31112 7</Softs>
      <w116>Ladder 32341 31112 7</w116>
      <w118>Stand 32344 31108 6</w118>
      <w119>Action 32344 31108 6 if not islocation(3) then gotolabel("Softs") else;;reachcreature("Captain Breezelda");wait(1000,1500);say("hi");wait(1000,1500);npcsay("venore");wait(1000,1500);npcsay("yes");wait(1000,1500);end</w119>
      <w120>Action 32954 32023 6 if not islocation(7) then gotolabel("Softs") end;;if countcreatures("sea serpent", "young sea serpent") >= 900 and itemcount(6530) == 0 then ;  gotolabel("Tasker");end</w120>
      <w121>Stand 32954 32037 6</w121>
      <w122>Stand 32954 32059 6</w122>
      <w123>Stand 32953 32084 6</w123>
      <Softs_Stand>Stand 32953 32108 6</Softs_Stand>
      <w125>Action 32953 32108 6 if not islocation(2) then gotolabel("Softs_Stand") end;;say("hi");wait(1000,1500);while itemcount(6530) > 0 do;npcsay("repair");wait(1000,1500);npcsay("yes");wait(1000,1500);end</w125>
      <w124>Stand 32953 32094 6</w124>
      <w126>Stand 32954 32073 6</w126>
      <w127>Stand 32954 32047 6</w127>
      <BoatStand>Stand 32955 32023 6</BoatStand>
      <w129>Action 32955 32023 6 if countcreatures("sea serpent", "young sea serpent") >= 900 then ;  gotolabel("Tasker");end;;if not islocation(5) then gotolabel("BoatStand") end;;reachcreature("Captain Fearless");wait(1000,1500);say("hi");wait(1000,1500);npcsay("svargrond");wait(1000,1500);npcsay("yes");wait(1000,1500)</w129>
      <w130>Action 32341 31109 6 if not islocation(7) then gotolabel("BoatStand") end</w130>
      <BoatStand2>Stand 32341 31112 6</BoatStand2>
      <w128>Action 32341 31108 6 if posz == 6 then gotolabel("BoatStand2") else gotolabel("ToHunt") end</w128>
      <Tasker>Stand 32954 32023 6</Tasker>
      <w131>Action 32954 32023 6 if not islocation(5) then gotolabel("Tasker") end;;reachcreature("Captain Fearless");wait(1000,1500);say("hi");wait(1000, 1500);npcsay("port hope");wait(1000,1500);npcsay("yes");wait(1000,1500)</w131>
      <w132>Stand 32530 32783 6</w132>
      <w133>Action 32530 32783 6 if not islocation(7) then gotolabel("Tasker") end</w133>
      <w134>Stand 32547 32786 6</w134>
      <w135>Stand 32556 32774 6</w135>
      <Tasker2>Stand 32556 32766 6</Tasker2>
      <w137>Action 32556 32765 7 if posz == 6 then gotolabel("Tasker2") end</w137>
      <Tasker3>Stand 32558 32780 7</Tasker3>
      <w138>Action 32558 32780 7 if not islocation(5) then gotolabel("Tasker2") end;;reachcreature("Imbul");wait(1000,1500);say("hi");wait(1000, 1500);npcsay("east");wait(1000,1500);npcsay("yes");wait(1000,1500)</w138>
      <w136>Action 32679 32777 7 if not islocation(7) then gotolabel("Tasker3") end</w136>
      <Tasker4>Stand 32694 32772 7</Tasker4>
      <w140>Action 32694 32771 6 if posz == 7 then gotolabel("Tasker4") else;reachcreature("Grizzly Adams");wait(1500,2000);say("hi");wait(1000,1500);npcsay("task");wait(1000,1500);if (KillBoss == false) then;npcsay("task");wait(1000,1500);npcsay("sea serpents");wait(1000,1500);npcsay("yes");else;npcsay("boss");wait(1000,1500);npcsay("leviathan");wait(1000,1500);end;end</w140>
      <Tasker5>Stand 32694 32772 6</Tasker5>
      <w141>Action 32694 32772 6 if posz == 6 then gotolabel("Tasker5") end</w141>
      <Tasker6>Stand 32679 32776 7</Tasker6>
      <w142>Action 32679 32776 7 if not islocation(5) then gotolabel("Tasker6") end;;reachcreature("Lorek");wait(1000,1500);say("hi");wait(1000, 1500);npcsay("west");wait(1000,1500);npcsay("yes");wait(1000,1500);</w142>
      <w139>Action 32558 32780 7 if not islocation(7) then gotolabel("Tasker6") end</w139>
      <Tasker7>Stand 32556 32766 7</Tasker7>
      <w144>Ladder 32556 32766 7</w144>
      <w145>Action 32556 32769 6 if posz == 7 then gotolabel("Tasker7") end</w145>
      <w143>Stand 32547 32787 6</w143>
      <Tasker8>Stand 32530 32784 6</Tasker8>
      <w147>Action 32530 32784 6 if not islocation(5) then gotolabel("Tasker8") end;;reachcreature("Charles");wait(1000,1500);say("hi");wait(1000, 1500);npcsay("venore");wait(1000,1500);npcsay("yes");wait(1000,1500);</w147>
      <Tasker9>Stand 32954 32023 6</Tasker9>
      <w148>Action 32954 32023 6 if not islocation(5) then gotolabel("Tasker8") end;;reachcreature("Captain Fearless");wait(1000,1500);say("hi");wait(1000, 1500);npcsay("svargrond");wait(1000,1500);npcsay("yes");wait(1000,1500);;</w148>
      <w151>Action 32341 31108 6 if not islocation(7) then gotolabel("Tasker9") end</w151>
      <Tasker10>Stand 32341 31112 6</Tasker10>
      <w150>Action 32341 31113 7 if posz == 6 then gotolabel("Tasker10") end;</w150>
      <w300>Action 32305 31134 7 resetkilled();;if KillBoss == false then gotolabel("ToHunt") end</w300>
      <Tasker11>Stand 32342 31119 7</Tasker11>
      <w301>Ladder 32342 31119 7</w301>
      <w302>Stand 32353 31124 6</w302>
      <w303>Action 32353 31124 6 if maround(7, "Captain Haba") == 0 then gotolabel("Tasker11") else;reachcreature("Captain Haba");wait(500);say("hi");wait(1000,1200);npcsay("hunt");wait(500);npcsay("yes");wait(500);end;</w303>
      <w304>Action 31942 31047 6 if notislocation(10) then gotolabel("Tasker11") end</w304>
      <Tasker12>Stand 31938 31042 6</Tasker12>
      <w306>Stand 31938 31041 6</w306>
      <w305>Action 31938 31041 8 if posz ~= 8 then gotolabel("Tasker12") end</w305>
      <w307>Stand 31931 31052 8</w307>
      <Tasker13>Stand 31922 31073 8</Tasker13>
      <w309>Action 31922 31073 8 if not islocation() and posz == 8 then gotolabel("Tasker13") end</w309>
      <w310>Action 31922 31073 8 move("e")</w310>
      <w311>Action 31922 31073 8 if posz ~= 8 then gotolabel("Tasker14") else;turn("e");wait(200);cast("exani hur down") end;;</w311>
      <w312>Action 31922 31073 8 if posz ~= 8 then gotolabel("Taske14") else gotolabel("Tasker13") end;</w312>
      <Tasker14>Stand 31923 31074 9</Tasker14>
      <w313>Action 31923 31074 9 if not islocation() and posz == 9 then gotolabel("Tasker14") end;</w313>
      <w314>Action 31923 31074 9 move("e");</w314>
      <w315>Action 31923 31074 9 if posz ~= 9 then gotolabel("Tasker15") else;turn("e");wait(200);cast("exani hur down") end;;;</w315>
      <w316>Action 31923 31074 9 if posz ~= 9 then gotolabel("Taske15") else gotolabel("Tasker14") end;;</w316>
      <Tasker15>Stand 31926 31072 10</Tasker15>
      <w317>Stand 31926 31071 10</w317>
      <w308>Action 31916 31073 10 if posx ~< 31917 then gotolabel("Tasker15") else settargeting("on") end</w308>
      <w318>Stand 31905 31072 10</w318>
      <w319>Action 31905 31072 10 if not islocation(4) then gotolabel("Tasker15") end</w319>
      <Tasker16>Stand 31915 31071 10</Tasker16>
      <w321>Stand 31916 31071 10</w321>
      <w320>Action 31916 31071 10 if posx ~> 31917 then gotolabel("Tasker16") end;</w320>
      <Tasker17>Stand 31924 31074 10</Tasker17>
      <w323>Action 31924 31074 10 if not islocation() and posz == 10 then gotolabel("Tasker17") end;</w323>
      <w324>Action 31924 31074 10 move("w");;</w324>
      <w325>Action 31924 31074 10 if posz ~= 10 then gotolabel("Tasker18") else;turn("w");wait(200);cast("exani hur up") end;;;;</w325>
      <w326>Action 31924 31074 10 if posz ~= 10 then gotolabel("Taske18") else gotolabel("Tasker17") end;;;</w326>
      <Tasker18>Stand 31923 31073 9</Tasker18>
      <w327>Action 31923 31073 9 if not islocation() and posz == 9 then gotolabel("Tasker18") else settargeting("on") end;;;</w327>
      <w328>Action 31923 31073 9 move("w");;;</w328>
      <w329>Action 31923 31073 9 if posz ~= 9 then gotolabel("Tasker19") else;turn("w");wait(200);cast("exani hur up") end;;;;;</w329>
      <w330>Action 31923 31073 9 if posz ~= 9 then gotolabel("Taske19") else gotolabel("Tasker18") end;;;;</w330>
      <Tasker19>Stand 31923 31062 8</Tasker19>
      <w331>Stand 31935 31047 8</w331>
      <Tasker20>Stand 31938 31042 8</Tasker20>
      <w332>Stand 31948 31045 6</w332>
      <w322>Action 31933 31044 6 if maround(6, "Captain Haba") == 0 then gotolabel("Tasker20") else;reachcreature("Captain Haba");wait(500);say("hi");wait(1000,1200);npcsay("back");wait(500);npcsay("yes");wait(500);end</w322>
      <w333>Action 32339 31117 7 if posz ~= 7 then gotolabel("Tasker20") end</w333>
      <Tasker21>Stand 32341 31112 7</Tasker21>
      <w335>Ladder 32341 31112 7</w335>
      <w336>Stand 32343 31109 6</w336>
      <w337>Action 32343 31109 6 if maround(6, "Captain Breezelda") == 0 then gotolabel("Tasker21") else;reachcreature("Captain Breezelda");wait(1000,1500);say("hi");wait(1000,1500);npcsay("venore");wait(1000,1500);npcsay("yes");wait(1000,1500);end</w337>
      <Tasker22>Action 32954 32023 6 if maround(6, "Captain Fearless") == 0 then gotolabel("Tasker21") else;reachcreature("Captain Fearless");wait(1000,1500);say("hi");wait(1000,1500);npcsay("port hope");wait(1000,1500);npcsay("yes");wait(1000,1500);end;</Tasker22>
      <w338>Action 32530 32784 6 if maround(7, "Charles") == 0 then gotolabel("Tasker22") end</w338>
      <w334>Stand 32540 32791 6</w334>
      <w339>Stand 32556 32779 6</w339>
      <Tasker23>Stand 32556 32767 6</Tasker23>
      <w341>Stand 32556 32766 6</w341>
      <w340>Stand 32558 32770 7</w340>
      <w342>Stand 32558 32780 7</w342>
      <w343>Action 32558 32780 7 if maround(6, "Imbul") == 0 then gotolabel("Tasker23") else;reachcreature("Imbul");wait(1000,1500);say("hi");wait(1000,1500);npcsay("east");wait(1000,1500);npcsay("yes");wait(1000,1500);end;;</w343>
      <w344>Stand 32694 32774 7</w344>
      <w346>Stand 32694 32772 7</w346>
      <w345>Action 32694 32771 6 if posz == 7 then gotolabel("Tasker23") else;reachcreature("Grizzly Adams");wait(1500,2000);say("hi");wait(1000,1500);npcsay("task");wait(1000,1500);npcsay("sea serpents");wait(1000,1500);npcsay("yes");wait(1000,1500)</w345>
      <Tasker24>Stand 32694 32772 6</Tasker24>
      <w347>Stand 32680 32776 7</w347>
      <w348>Action 32680 32776 7 if maround(6, "Lorek") == 0 then gotolabel("Tasker24") else;reachcreature("Lorek");wait(1000,1500);say("hi");wait(1000,1500);npcsay("west");wait(1000,1500);npcsay("yes");wait(1000,1500);end;;;</w348>
      <Tasker25>Stand 32558 32773 7</Tasker25>
      <w350>Stand 32558 32766 7</w350>
      <w351>Ladder 32556 32766 7</w351>
      <w352>Stand 32529 32784 6</w352>
      <w349>Action 32529 32784 6 if maround(7, "Charles") == 0 then gotolabel("Tasker25") else;reachcreature("Charles");wait(1000,1500);say("hi");wait(1000,1500);npcsay("venore");wait(1000,1500);npcsay("yes");wait(1000,1500);end;</w349>
      <Tasker26>Stand 32954 32023 6</Tasker26>
      <w354>Action 32954 32023 6 if maround(6, "Captain Fearless") == 0 then gotolabel("Tasker25") else;reachcreature("Captain Fearless");wait(1000,1500);say("hi");wait(1000,1500);npcsay("svargrond");wait(1000,1500);npcsay("yes");wait(1000,1500);end;;</w354>
      <w353>Stand 32341 31112 6</w353>
      <w355>Action 32341 31113 7 if posz ~= 7 then gotolabel("Tasker26") else gotolabel("Depot2") end</w355>
    </Waypoints>
    <Pathfinding>
      <SpecialAreas />
      <WalkThroughPlayers>no</WalkThroughPlayers>
      <WalkingMethod>Map Clicks</WalkingMethod>
      <MapWalkDistance>20 to 50</MapWalkDistance>
      <WalkableIds>140;404;831;832;833;834;883;2118;2119;2120;2121;2122;2123;2124;2125;2126;2127;2131;2132;2133;2134;2135;2314;2315;2316;2319;2346;2347;2348;2349;2350;2351;2352;2353;2354;2355;2356;2357;2358;2359;2360;2361;2362;2363;2364;2365;2366;2367;2368;2369;2370;2371;2372;2373;2374;2375;2376;2377;2378;2379;2380;2381;2382;2383;2384;2385;2418;2419;2420;2421;2422;2423;2424;2425;2426;2431;2432;2433;2434;2441;2442;2443;2444;2469;2471;2472;2473;2478;2480;2481;2482;2483;2484;2485;2486;2519;2523;2775;2776;2777;2778;2779;2780;2781;2782;2783;2784;2785;2786;2787;2788;2789;2790;2791;2792;2793;2794;2795;2796;2797;2798;2799;2800;2801;2802;2803;2804;2805;2806;2807;2808;2809;2810;2811;2812;2981;2983;2982;2984;2985;2987;2988;3503;3504;3514;3807;5086;5087;5088;6114;6115;6355;6356;6357;6358;6359;6360;6361;6362;6371;6372;7864;8455;8763;9061;9062;10207;10209;10216;10286;10287;10288;11009;11800;11801;11802;11803;11804;11805;11806;11807;11808;11809;11810</WalkableIds>
    </Pathfinding>
    <Settings>
      <Rope>3003</Rope>
      <Shovel>3457</Shovel>
      <Pick>3456</Pick>
      <Machete>3308</Machete>
      <NodeRange>4</NodeRange>
      <Priority>Target</Priority>
      <OpenNextBp>no</OpenNextBp>
      <AutoMount>yes</AutoMount>
      <Anti-idle>yes</Anti-idle>
      <EatFood>yes</EatFood>
      <FoodToEat>3725;3587;3600;3595;3589;3598;8014;3583;3606;3578;3592;3582;3577;3593;3586;3585;3581;3723</FoodToEat>
      <PauseOnDeath>yes</PauseOnDeath>
    </Settings>
    <Enabled>no</Enabled>
  </CaveBot>
  <Looting>
    <List>
      <gold-coin>
        <Id>3031</Id>
        <Destination>3</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </gold-coin>
      <bloody-pincers>
        <Id>9633</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </bloody-pincers>
      <platinum-coin>
        <Id>3035</Id>
        <Destination>All</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </platinum-coin>
      <white-pearl>
        <Id>3026</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </white-pearl>
      <sea-serpent-scale>
        <Id>9666</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </sea-serpent-scale>
      <strong-mana-potion>
        <Id>237</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </strong-mana-potion>
      <small-sapphire>
        <Id>3029</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </small-sapphire>
      <life-crystal>
        <Id>3061</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </life-crystal>
      <strong-health-potion>
        <Id>236</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </strong-health-potion>
      <great-mana-potion>
        <Id>238</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </great-mana-potion>
      <rusty-armor-semi-rare>
        <Id>8895</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </rusty-armor-semi-rare>
      <stealth-ring>
        <Id>3049</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </stealth-ring>
      <spirit-cloak>
        <Id>8042</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </spirit-cloak>
      <ring-of-healing>
        <Id>3098</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </ring-of-healing>
      <northwind-rod>
        <Id>8083</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </northwind-rod>
      <glacier-amulet>
        <Id>815</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </glacier-amulet>
      <glacier-kilt>
        <Id>823</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </glacier-kilt>
      <focus-cape>
        <Id>8043</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </focus-cape>
      <leviathans-amulet>
        <Id>9303</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </leviathans-amulet>
      <bonebreaker>
        <Id>7428</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </bonebreaker>
      <moon-backpack>
        <Id>9604</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </moon-backpack>
      <frozen-plate>
        <Id>8059</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </frozen-plate>
      <sea-serpent-trophy>
        <Id>9613</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </sea-serpent-trophy>
      <rusty-legs>
        <Id>8898</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </rusty-legs>
      <serpent-sword>
        <Id>3297</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </serpent-sword>
      <crystalline-armor>
        <Id>8050</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </crystalline-armor>
    </List>
    <Condition>Corpses with listed items</Condition>
    <Style>After melee kill</Style>
    <OpenBodyTime>300</OpenBodyTime>
    <Range>10</Range>
    <EatFood>yes</EatFood>
    <Enabled>no</Enabled>
  </Looting>
  <Targeting>
    <Monsters>
      <Leviathan>
        <Categories>-</Categories>
        <Danger>0</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Approach</Stance>
            <Avoid>Wave</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell>
              <Spell0>Fierce Berserk</Spell0>
              <Spell1>Berserk</Spell1>
              <Spell2>Whirlwind Throw</Spell2>
              <Spell3>Brutal Strike</Spell3>
            </ListSpell>
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>No Change</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </Leviathan>
      <Sea-Serpent>
        <Categories>-</Categories>
        <Danger>0</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Approach</Stance>
            <Avoid>Wave</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell />
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>No Change</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </Sea-Serpent>
      <Young-Sea-Serpent>
        <Categories>-</Categories>
        <Danger>0</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Reach</Stance>
            <Avoid>None</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell />
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>No Change</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>yes</OnlyIfTrapped>
      </Young-Sea-Serpent>
      <Blood-Crab>
        <Categories>-</Categories>
        <Danger>0</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Reach</Stance>
            <Avoid>None</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell />
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>No Change</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>no</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>yes</OnlyIfTrapped>
      </Blood-Crab>
      <All>
        <Categories>-</Categories>
        <Danger>0</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Reach</Stance>
            <Avoid>None</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell />
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>No Change</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>no</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>yes</OnlyIfTrapped>
      </All>
    </Monsters>
    <Settings>
      <ListOrder>7</ListOrder>
      <Health>2</Health>
      <Proximity>3</Proximity>
      <Danger>5</Danger>
      <PlayerOnScreenSecurity>If cavebotting</PlayerOnScreenSecurity>
      <CooldownControl>yes</CooldownControl>
      <CheckItem>no</CheckItem>
      <MustBeReachable>yes</MustBeReachable>
      <MustBeShootable>no</MustBeShootable>
    </Settings>
    <Enabled>yes</Enabled>
  </Targeting>
  <Hud>
    <List>
      <Monitor-my-Hunting>
        <Script>-- [[ INIT START ]] --
	--
	--                       88                                                                
	--                       ""                                                ,d              
	--                                                                         88              
	--            ,adPPYba,  88  8b,dPPYba,  88,dPYba,,adPYba,   ,adPPYYba,  MM88MMM  ,adPPYba,
	--            I8[    ""  88  88P'   "Y8  88P'   "88"    "8a  ""     `Y8    88    a8P_____88
	--             `"Y8ba,   88  88          88      88      88  ,adPPPPP88    88    8PP"""""""
	--            aa    ]8I  88  88          88      88      88  88,    ,88    88,   "8b,   ,aa
	--   Author:  `"YbbdP"'  88  88          88      88      88  `"8bbdP"Y8    "Y888  `"Ybbd8"'
	--   
	--   Monitor My Hunting!
	--
	--   Version: 1.0
	--   Created: 7.09.2012
	--   Last update: 18.09.2012
	--
	
	MONITOR_MY_HUNTING = MONITOR_MY_HUNTING or {
		SCRIPT_NAME = "Monitor My Hunting",
		SCRIPT_VERSION = "1.0",
		
		CLEARED_STATS = false,
		INITIALIZED = false,
	}

	MONITOR_MY_HUNTING.SHOW_ALL_ITEMS = false
	MONITOR_MY_HUNTING.ITEMS_LIST = {
		{NAME = "gold coin", VALUE = 1},
              {NAME = "crystalline armor", VALUE = 16000},
		{NAME = "platinum coin", VALUE = 100},
		{NAME = "sea serpent scale", VALUE = 520},
		{NAME = "strong mana potion", VALUE = 0},
		{NAME = "small sapphire", VALUE = 250},
		{NAME = "life crystal", VALUE = 85},
		{NAME = "strong health potion", VALUE = 0},
		{NAME = "great mana potion", VALUE = 0},
		{NAME = "rusty armor", VALUE = 0},
		{NAME = "stealth ring", VALUE = 200},
		{NAME = "spirit cloak", VALUE = 350},
		{NAME = "ring of healing", VALUE = 200},
		{NAME = "northwind rod", VALUE = 1500},
		{NAME = "glacier amulet", VALUE = 1500},
		{NAME = "glacier kilt", VALUE = 11000},
		{NAME = "focus cape", VALUE = 6000},
		{NAME = "leviathan's amulet", VALUE = 3000},
		{NAME = "bonebreaker", VALUE = 10000},
		{NAME = "moon backpack", VALUE = 0},
		{NAME = "frozen plate", VALUE = 0},
		{NAME = "sea serpent trophy", VALUE = 10000},
		{NAME = "rusty legs", VALUE = 0},
		{NAME = "serpent sword", VALUE = 900},
	}
 
	MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES = false
	MONITOR_MY_HUNTING.SUPPLIES_LIST = {
		{NAME = "mana potion", PRICE = 50},
		{NAME = "great health potion", PRICE = 190},
		{NAME = "ultimate health potion", PRICE = 310},
	}
	
	-- [[ DO NOT CHANGE ANYTHING BELOW THIS LINE. ]] --
	
	MONITOR_MY_HUNTING.TEMP_ITEMS_LIST = MONITOR_MY_HUNTING.TEMP_ITEMS_LIST or {}
	MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST = MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST or {}
	MONITOR_MY_HUNTING.COLORS = MONITOR_MY_HUNTING.COLORS or {
		BLACK = rgbcolor(1, 1, 1),
		ORANGE = rgbcolor(255, 165, 0),
		BLUE = rgbcolor(30, 144, 255),
		CORNSILK = rgbcolor(205, 200, 177),
		WHITE = rgbcolor(255, 255, 255),
		GREEN = rgbcolor(107, 142, 35),
		RED = rgbcolor(178, 34, 34),
	}
	
	local function CreateMessageObject(MESSAGE_DATA)
		if (type(MESSAGE_DATA) ~= "userdata") then
			return setmetatable({__data = {TYPE = -1, TIME_STAMP = -1, SENDER_NAME = "", SENDER_LEVEL = -1, CONTENT = ""}}, MessageMetaTable)
		else
			return setmetatable({__data = {TYPE = MESSAGE_DATA.type, TIME_STAMP = Misc.ConvertToSeconds(string.sub(MESSAGE_DATA.text, 1, 5)), SENDER_NAME = MESSAGE_DATA.sender, SENDER_LEVEL = tonumber((tostring(string.match(MESSAGE_DATA.text, ".+ (%b[]): .+")):gsub("[^%d]", ""))) or 0, CONTENT = string.sub(MESSAGE_DATA.text, 7)}}, MessageMetaTable)
		end
	end
	
	local function addtextshadow(DISPLAY_TEXT, X_OFFSET, Y_OFFSET, FONT_COLOR)
		setfontcolor(MONITOR_MY_HUNTING.COLORS.BLACK)
		addtext(DISPLAY_TEXT, X_OFFSET + 1, Y_OFFSET + 1)
		setfontcolor(FONT_COLOR)
		addtext(DISPLAY_TEXT, X_OFFSET, Y_OFFSET)
	end
-- [[ INIT END ]] --

if (not Stats.Update()) then
	local SERVER_LOG_MESSAGES = getnewmessages("Server Log")
	local SERVER_LOG_MESSAGES_COUNT = SERVER_LOG_MESSAGES.count - 1
	
	for INDEX = 0, SERVER_LOG_MESSAGES_COUNT do
		local MESSAGE_OBJECT = CreateMessageObject(SERVER_LOG_MESSAGES[SERVER_LOG_MESSAGES_COUNT - INDEX])
		
		if (MESSAGE_OBJECT:Type() == 19 and MESSAGE_OBJECT:Content():lower():match("^loot of")) then
			local LOOT_INFO = Message.ParseLootMessage(MESSAGE_OBJECT, true)

			if (#LOOT_INFO.NAME > 0) then
				Stats.__data.MONSTERS_KILLED[LOOT_INFO.NAME] = (Stats.__data.MONSTERS_KILLED[LOOT_INFO.NAME] or 0) + 1
				
				for _, LOOT_ITEM in ipairs(LOOT_INFO.ITEMS) do
					if (Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID]) then
						Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID].QUANTITY = Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID].QUANTITY + LOOT_ITEM.QUANTITY
					else
						Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID] = {ID = LOOT_ITEM.ID, NAME = LOOT_ITEM.NAME, QUANTITY = LOOT_ITEM.QUANTITY, VALUE = Item.GetValue(LOOT_ITEM.ID)}
					end
				end
			end
		end
	end
end

local RESET_ITEMS_AND_SUPPLIES = #MONITOR_MY_HUNTING.ITEMS_LIST ~= #MONITOR_MY_HUNTING.TEMP_ITEMS_LIST or #MONITOR_MY_HUNTING.SUPPLIES_LIST ~= #MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST

if (not RESET_ITEMS_AND_SUPPLIES) then
	for INDEX, LOOT_ITEM in ipairs(MONITOR_MY_HUNTING.ITEMS_LIST) do
		if (LOOT_ITEM.NAME ~= MONITOR_MY_HUNTING.TEMP_ITEMS_LIST[INDEX].NAME or LOOT_ITEM.VALUE ~= MONITOR_MY_HUNTING.TEMP_ITEMS_LIST[INDEX].VALUE) then
			RESET_ITEMS_AND_SUPPLIES = true
			break
		end
	end
end

if (not RESET_ITEMS_AND_SUPPLIES) then
	for INDEX, SUPPLY_ITEM in ipairs(MONITOR_MY_HUNTING.SUPPLIES_LIST) do
		if (SUPPLY_ITEM.NAME ~= MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST[INDEX].NAME or SUPPLY_ITEM.PRICE ~= MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST[INDEX].PRICE) then
			RESET_ITEMS_AND_SUPPLIES = true
			break
		end
	end
end

if (not MONITOR_MY_HUNTING.INITIALIZED or RESET_ITEMS_AND_SUPPLIES) then
	if (not MONITOR_MY_HUNTING.CLEARED_STATS) then
		Stats.Clear(CLEAR_STATS_ALL)
		Stats.Update()
		
		MONITOR_MY_HUNTING.CLEARED_STATS = true
	end
	
	MONITOR_MY_HUNTING.TEMP_ITEMS_LIST, MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST = {}, {}
		
	for _, LOOT_ITEM in ipairs(MONITOR_MY_HUNTING.ITEMS_LIST) do
		local LOOT_ITEM_ID = Item.GetID(type(LOOT_ITEM.NAME) ~= "table" and LOOT_ITEM.NAME or unpack(LOOT_ITEM.NAME))
		
		Stats.AddItemsLooted(LOOT_ITEM_ID, 0, LOOT_ITEM.VALUE)
		table.insert(MONITOR_MY_HUNTING.TEMP_ITEMS_LIST, {ID = LOOT_ITEM_ID, NAME = LOOT_ITEM.NAME, VALUE = LOOT_ITEM.VALUE})
	end
	 
	for _, SUPPLY_ITEM in ipairs(MONITOR_MY_HUNTING.SUPPLIES_LIST) do
		local SUPPLY_ITEM_ID = Item.GetID(type(SUPPLY_ITEM.NAME) ~= "table" and SUPPLY_ITEM.NAME or unpack(SUPPLY_ITEM.NAME))
		
		Stats.AddSuppliesUsed(SUPPLY_ITEM_ID, 0, SUPPLY_ITEM.PRICE)
		table.insert(MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST, {ID = SUPPLY_ITEM_ID, NAME = SUPPLY_ITEM.NAME, PRICE = SUPPLY_ITEM.PRICE})
	end
	
	MONITOR_MY_HUNTING.INITIALIZED = true
end

setposition(Client.ClientWindow().right - 434, Client.WorldWindow().top + 5)

local Y_POSITION, INDEX, ITEMS_LOOTED_WORTH, SUPPLIES_USED_WORTH = 30, 0, 0, 0

addtextshadow(sprintf("%s v%s", MONITOR_MY_HUNTING.SCRIPT_NAME:upper(), MONITOR_MY_HUNTING.SCRIPT_VERSION), 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.ORANGE)

Y_POSITION = Y_POSITION + 20

addtextshadow("ITEMS LOOTED", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.BLUE)

Y_POSITION = Y_POSITION + 20

for _, LOOT_ITEM in pairs(Stats.GetItemsLooted()) do
    if ((MONITOR_MY_HUNTING.SHOW_ALL_ITEMS or table.find(MONITOR_MY_HUNTING.TEMP_ITEMS_LIST, LOOT_ITEM.ID, "ID")) and LOOT_ITEM.QUANTITY > 0) then
	addtextshadow(((#LOOT_ITEM.NAME > 17 and sprintf("%s...", string.match(string.sub(LOOT_ITEM.NAME, 1, 17), "(.-)%s?$"))) or LOOT_ITEM.NAME):ucwords(), 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.CORNSILK)
	addtextshadow(sprintf("%s (%sK)", Misc.FormatNumber(LOOT_ITEM.QUANTITY), tostring(math.floor(LOOT_ITEM.VALUE * LOOT_ITEM.QUANTITY / 100) / 10)), 140, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE)

	INDEX, ITEMS_LOOTED_WORTH = INDEX + 1, ITEMS_LOOTED_WORTH + (LOOT_ITEM.VALUE * LOOT_ITEM.QUANTITY)
    end
end

addtextshadow("Total:", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE)
addtextshadow(sprintf("%s GPs", Misc.FormatNumber(ITEMS_LOOTED_WORTH)), 10 + 35, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.ORANGE)

Y_POSITION = Y_POSITION + 20

addtextshadow("SUPPLIES USED", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.BLUE)

Y_POSITION = Y_POSITION + 20

for _, SUPPLY_ITEM in pairs(Stats.GetSuppliesUsed()) do
    if ((MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES or table.find(MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST, SUPPLY_ITEM.ID, "ID")) and SUPPLY_ITEM.QUANTITY > 0) then
        addtextshadow(((#SUPPLY_ITEM.NAME > 17 and sprintf("%s...", string.match(string.sub(SUPPLY_ITEM.NAME, 1, 17), "(.-)%s?$"))) or SUPPLY_ITEM.NAME):ucwords(), 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.CORNSILK)
        addtextshadow(sprintf("%s (%sK)", Misc.FormatNumber(SUPPLY_ITEM.QUANTITY), tostring(math.floor(SUPPLY_ITEM.PRICE * SUPPLY_ITEM.QUANTITY / 100) / 10)), 140, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE)

        INDEX, SUPPLIES_USED_WORTH = INDEX + 1, SUPPLIES_USED_WORTH + (SUPPLY_ITEM.PRICE * SUPPLY_ITEM.QUANTITY)
    end
end

addtextshadow("Total:", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE)
addtextshadow(sprintf("%s GPs", Misc.FormatNumber(SUPPLIES_USED_WORTH)), 10 + 35, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.ORANGE)

Y_POSITION = Y_POSITION + 20

addtextshadow(sprintf("%s: %s GPs (%s K/H)", ((ITEMS_LOOTED_WORTH >= SUPPLIES_USED_WORTH and ("PROFIT")) or ("WASTE")), Misc.FormatNumber(ITEMS_LOOTED_WORTH - SUPPLIES_USED_WORTH), tostring(math.floor(((ITEMS_LOOTED_WORTH - SUPPLIES_USED_WORTH) * 3600) / (System.HuntingTime() / 1000) / 100) / 10)), 10, Y_POSITION + (INDEX * 16), ITEMS_LOOTED_WORTH >= SUPPLIES_USED_WORTH and MONITOR_MY_HUNTING.COLORS.GREEN or MONITOR_MY_HUNTING.COLORS.RED)</Script>
        <RefreshRate>1000</RefreshRate>
        <Enabled>yes</Enabled>
      </Monitor-my-Hunting>
      <Recent-Loot>
        <Script>-- you can add more items here
local warnitems = {"northwind rod", "glacier amulet", "glacier kilt", "focus cape", "leviathan's amulet", "bonebreaker", "moon backpack", "frozen plate", "sea serpent trophy", "serpent sword", "crystalline armor"}

-- max lines to display at once 
local maxindex = 10 

-- spacing between lines
local spacing = 15


local index = 0 
local msgs = getmessages("Server Log")
local qtd = msgs.count-1
for i=0,qtd do
   if msgs[qtd-i].type == 19 and msgs[qtd-i].text:find('Loot of ') then
      
      local colorm = false
      local l = 0
      for l=1, table.getn(warnitems) do
         if msgs[qtd-i].text:find(warnitems[l]) then
            colorm = true
            break
         end
      end
      if colorm then
         setfontcolor('red')
      else
         setfontcolor('white')
      end

      addtext(msgs[qtd-i].text, worldwin.left+10,worldwin.bottom-(maxindex*spacing)+30+(index*spacing))

      index=index+1
      if index == maxindex then
        break
      end
   end
end</Script>
        <RefreshRate>1000</RefreshRate>
        <Enabled>yes</Enabled>
      </Recent-Loot>
      <Info-HUD>
        <Script>good_exp = 200000
bad_exp = 150000

setfontcolor("Red")
addtext("BOTTING STATS:", 5, 30)
setfontcolor("Silver")
addtext("Experience Per Hour", 5, 50)
addtext("Experience Today", 5, 65)
addtext("Experience Left", 5, 80)
addtext("Time to Next Level", 5, 95)
addtext("Onlinetime", 5, 110)
addtext("Stamina", 5, 125)

setfontcolor("Red")
addtext("BOTTING STATUS:", 5, 165)
setfontcolor("Silver")
addtext("Cavebotting", 5, 185)
addtext("Targeting", 5, 200)
addtext("Looting", 5, 215)
addtext("Bank Balance", 5, 230)
addtext("ID", 5, 245)
addtext("Killed", 5, 260)

setfontcolor("white")
if exphour > good_exp then 
setfontcolor("green") 
elseif exphour < bad_exp then 
setfontcolor("red") 
else setfontcolor("orange") 
end


addtext(': ' ..exphour, 140, 50)
setfontcolor("white")
addtext(': ' ..exptolevel(), 140, 80)
addtext(': ' ..expgained, 140, 65)
addtext(': ' ..timetolevel, 140, 95)
addtext(': ' ..timehunt, 140, 110)

if stamina >= 2400 then
      setfontcolor("green")
elseif stamina < 2400 and (stamina >= 840) then
      setfontcolor("orange")
elseif stamina <= 840 then
      setfontcolor("red")
end
staminaH1 = stamina/60
staminaH2 = 0

if staminaH1 >= 0 and staminaH1 < 1 then staminaH2 = 00
elseif staminaH1 >= 1 and staminaH1 < 2 then staminaH2 = 01
elseif staminaH1 >= 2 and staminaH1 < 3 then staminaH2 = 02
elseif staminaH1 >= 3 and staminaH1 < 4 then staminaH2 = 03
elseif staminaH1 >= 4 and staminaH1 < 5 then staminaH2 = 04
elseif staminaH1 >= 5 and staminaH1 < 6 then staminaH2 = 05
elseif staminaH1 >= 6 and staminaH1 < 7 then staminaH2 = 06
elseif staminaH1 >= 7 and staminaH1 < 8 then staminaH2 = 07
elseif staminaH1 >= 8 and staminaH1 < 9 then staminaH2 = 08
elseif staminaH1 >= 9 and staminaH1 < 10 then staminaH2 = 09
elseif staminaH1 >= 10 and staminaH1 < 11 then staminaH2 = 10
elseif staminaH1 >= 11 and staminaH1 < 12 then staminaH2 = 11
elseif staminaH1 >= 12 and staminaH1 < 13 then staminaH2 = 12
elseif staminaH1 >= 13 and staminaH1 < 14 then staminaH2 = 13
elseif staminaH1 >= 14 and staminaH1 < 15 then staminaH2 = 14
elseif staminaH1 >= 15 and staminaH1 < 16 then staminaH2 = 15
elseif staminaH1 >= 16 and staminaH1 < 17 then staminaH2 = 16
elseif staminaH1 >= 17 and staminaH1 < 18 then staminaH2 = 17
elseif staminaH1 >= 18 and staminaH1 < 19 then staminaH2 = 18
elseif staminaH1 >= 19 and staminaH1 < 20 then staminaH2 = 19
elseif staminaH1 >= 20 and staminaH1 < 21 then staminaH2 = 20
elseif staminaH1 >= 21 and staminaH1 < 22 then staminaH2 = 21
elseif staminaH1 >= 22 and staminaH1 < 23 then staminaH2 = 22
elseif staminaH1 >= 23 and staminaH1 < 24 then staminaH2 = 23
elseif staminaH1 >= 24 and staminaH1 < 25 then staminaH2 = 24
elseif staminaH1 >= 25 and staminaH1 < 26 then staminaH2 = 25
elseif staminaH1 >= 26 and staminaH1 < 27 then staminaH2 = 26
elseif staminaH1 >= 27 and staminaH1 < 28 then staminaH2 = 27
elseif staminaH1 >= 28 and staminaH1 < 29 then staminaH2 = 28
elseif staminaH1 >= 29 and staminaH1 < 30 then staminaH2 = 29
elseif staminaH1 >= 30 and staminaH1 < 31 then staminaH2 = 30
elseif staminaH1 >= 31 and staminaH1 < 32 then staminaH2 = 31
elseif staminaH1 >= 32 and staminaH1 < 33 then staminaH2 = 32
elseif staminaH1 >= 33 and staminaH1 < 34 then staminaH2 = 33
elseif staminaH1 >= 34 and staminaH1 < 35 then staminaH2 = 34
elseif staminaH1 >= 35 and staminaH1 < 36 then staminaH2 = 35
elseif staminaH1 >= 36 and staminaH1 < 37 then staminaH2 = 36
elseif staminaH1 >= 37 and staminaH1 < 38 then staminaH2 = 37
elseif staminaH1 >= 38 and staminaH1 < 39 then staminaH2 = 38
elseif staminaH1 >= 39 and staminaH1 < 40 then staminaH2 = 39
elseif staminaH1 >= 40 and staminaH1 < 41 then staminaH2 = 40
elseif staminaH1 >= 41 and staminaH1 < 42 then staminaH2 = 41
elseif staminaH1 >= 42 and staminaH1 < 43 then staminaH2 = 42
end

staminaM = stamina-(staminaH2*60)

addtext(": "..staminaH2, 140, 125)
addtext(":"..staminaM, 160, 125)


if cavebot then
    setfontcolor("green")
addtext(': ' ..'ON', 140, 185)
else
    setfontcolor("red")
addtext(': ' ..'OFF', 140, 185)
end

if targeting then
    setfontcolor("green")
    addtext(': ' ..'ON', 140, 200)
else
    setfontcolor("red")
    addtext(': ' ..'OFF', 140, 200)
end

if looting then
    setfontcolor("green")
    addtext(': ' ..'ON', 140, 215)
else
    setfontcolor("red")
    addtext(': ' ..'OFF', 140, 215)
end

if balance >= 10000000 then setfontcolor("green") 
elseif balance >= 1000000 then setfontcolor("yellow") 
elseif balance >= 100000 then setfontcolor("orange")
else setfontcolor("red")
end

addtext(': ' ..balance, 140, 230)
setfontcolor("white")
addtext(': ' ..cursorinfo().id, 140, 245)

if countcreatures("sea serpent", "young sea serpent") >= 900 then
      setfontcolor("green")
else
      setfontcolor("red")
end
addtext(": "..countcreatures("sea serpent", "young sea serpent"), 140, 160)</Script>
        <RefreshRate>1000</RefreshRate>
        <Enabled>yes</Enabled>
      </Info-HUD>
    </List>
    <Show>If focused</Show>
    <Enabled>yes</Enabled>
  </Hud>
  <Input>
    <Keyboard>
      <Mode>Simulate</Mode>
      <StuckCtrlShift>If cavebot on, release after 1 sec</StuckCtrlShift>
      <TypingStyle>Keyboard keys</TypingStyle>
      <PressWaitTime>45 to 65</PressWaitTime>
    </Keyboard>
    <Mouse>
      <Mode>Simulate</Mode>
      <Scroll>Use mouse wheel</Scroll>
      <MoveSpeed>Instantaneous</MoveSpeed>
      <ClickWaitTime>30 to 50</ClickWaitTime>
    </Mouse>
    <OpenMenuPolicy>Confirm if cavebotting</OpenMenuPolicy>
    <Enabled>yes</Enabled>
  </Input>
</Settings>
 
Status
Not open for further replies.
Top