What's new
  • logo_cipsoft
    Latest servers:
    New servers will open on: 19th Feb 2025:
    Noctalia (Open PvP) Ignitera (Open PvP) us_logo Xybra (Open PvP)

Knight [PACC] Cult Yalahar

Status
Not open for further replies.

Xinum

Never Give Up!
Joined
Dec 23, 2009
Messages
578
Reaction score
64
[EK] Cult Yalahar

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>30000</Value>
      <PlaySound>no</PlaySound>
      <FlashClient>no</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>no</PlaySound>
      <FlashClient>no</FlashClient>
      <PauseBot>no</PauseBot>
    </Disconnect>
    <Enabled>no</Enabled>
  </Alerts>
  <Healer>
    <Rules>
      <exura-ico>
        <HealRange>60 to 80 %</HealRange>
        <ManaRange>0 to 100 %</ManaRange>
        <HealMethod>Wound Cleansing</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </exura-ico>
      <exura-gran-ico>
        <HealRange>1 to 55 %</HealRange>
        <ManaRange>200 to 5000</ManaRange>
        <HealMethod>Intense Wound Cleansing</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>5000 to 6000</SpamRate>
        <Enabled>yes</Enabled>
      </exura-gran-ico>
      <ghp>
        <HealRange>35 to 55 %</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>
      <uhp>
        <HealRange>0 to 35 %</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>
      <mp>
        <HealRange>0 to 100 %</HealRange>
        <ManaRange>0 to 80 %</ManaRange>
        <HealMethod>Mana Potion</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>yes</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </mp>
      <utura-gran>
        <HealRange>0 to 95 %</HealRange>
        <ManaRange>10 to 100 %</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>
      <paralize>
        <HealRange>0 to 100 %</HealRange>
        <ManaRange>1 to 100 %</ManaRange>
        <HealMethod>Wound Cleansing</HealMethod>
        <ExtraCondition>If paralyzed</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </paralize>
      <shp>
        <HealRange>55 to 85 %</HealRange>
        <ManaRange>30 to 100 %</ManaRange>
        <HealMethod>Strong Health Potion</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>yes</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>no</Enabled>
      </shp>
    </Rules>
    <PingCompensation>10</PingCompensation>
    <Enabled>yes</Enabled>
  </Healer>
  <FriendHealer>
    <Rules />
    <Enabled>no</Enabled>
  </FriendHealer>
  <Refiller>
    <Rules />
    <Enabled>no</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-Flask>
        <Script>if (itemcount(285) + itemcount(284) + itemcount(283) > 15 and maround(5) == 0 and cap <  350 and not lootbodies) then
            local FLASKS_THROWN = false

            for FLASK_ID = 285, 283, -1 do
                    if (itemcount(FLASK_ID) > 0) then
                            pausewalking(10000) moveitems(FLASK_ID, [[all]], [[ground]], 100) wait(1000, 1500)
                            FLASKS_THROWN = true
                    end
            end

            if (FLASKS_THROWN) then
                    pausewalking(0)
            end
    end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Drop-Flask>
      <Hur>
        <Script>if not hasted and not pzone then
cast("utani hur")
wait(10000)
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>no</Enabled>
      </Hur>
      <FurnitureBreak>
        <Script>if (standtime > 60000) then
    antifurnituretrap()
    wait(5000)
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </FurnitureBreak>
      <Mount>
        <Script>if UseMount and maround(5, 'Ghastly Dragon') == 0 then
	setsettings("Settings\\CaveBot\\Settings\\AutoMount", "yes")
	wait(5000)
else
	setsettings("Settings\\CaveBot\\Settings\\AutoMount", "no")
	wait(5000)
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Mount>
      <SafeBank>
        <Script>local MESSAGES = getnewmessages("NPCs")
local MESSAGES_COUNT = MESSAGES.count - 1

for INDEX = 0, MESSAGES_COUNT do
	if (MESSAGES[MESSAGES_COUNT - INDEX].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>
      </SafeBank>
      <Mass-Res-Alarm>
        <Script>local MESSAGES = getnewmessages("Local Chat")
local MESSAGES_COUNT = MESSAGES.count - 1

for INDEX = 0, MESSAGES_COUNT do
	if (MESSAGES[MESSAGES_COUNT - INDEX].text:find("exura gran mas res")) then
		playsound("alert.wav") wait(1000)
	end
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Mass-Res-Alarm>
      <Unjust-Alarm>
        <Script>local MESSAGES = getnewmessages("Server Log")
local MESSAGES_COUNT = MESSAGES.count - 1

for INDEX = 0, MESSAGES_COUNT do
	if (MESSAGES[MESSAGES_COUNT - INDEX].text:find("Warning! The murder of .+ was not justified.")) then
		updateworld()

		while (connected) do
			closetibia()
			setcavebot("off")
			settargeting("off")

			wait(5000, 10000)
			closetibia()

			updateworld() wait(1000, 1200)
		end
	end
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Unjust-Alarm>
      <Softboots>
        <Script>local DEFAULT_BOOTS = 'boots of haste' --Name of normal boots
local CONSIDER_TYPE = 1 --[[ 1 = mp pc, 2 = hp pc, 3 = mp exact, 4 = hp exact ]]
local CONSIDER_EQUIP = {40, 90} -- Value to equip soft boots
local CONSIDER_UNEQUIP = {99, 100} -- Value to unequip soft boots

--[[ ENGINE ]]
local SCRIPT_INFO = "Name: Soft Boots Changer/nVersion: 1.2.0 beta/nAuthor: sirmate"
local NORMAL_BOOTS_ID = itemid(DEFAULT_BOOTS)
local RANDOM_EQUIP = math.random(CONSIDER_EQUIP[1], CONSIDER_EQUIP[2])
local RANDOM_UNEQUIP = math.random(CONSIDER_UNEQUIP[1], CONSIDER_UNEQUIP[2])
local HP_MP_VALUES = {mppc, hppc, mp, hp}

if (boots == 3549) and (pzone == true or HP_MP_VALUES[CONSIDER_TYPE] >= RANDOM_UNEQUIP) then
        if (itemcount(DEFAULT_BOOTS) > 0) then
                moveitems(NORMAL_BOOTS_ID, "all", "Boots", 1)
                wait(1100, 1200)
        else
                moveitems(boots, "Boots", "all", 1)
                wait(1000, 1200)
        end
elseif (boots == 6530 or boots == 0) then
        if (HP_MP_VALUES[CONSIDER_TYPE] <= RANDOM_EQUIP) and (pzone == false) and (itemcount(6529) > 0) then
                moveitems(6529, "all", "Boots", 1)
                wait(1000, 1200)
        elseif (itemcount(NORMAL_BOOTS_ID) > 0) then
                moveitems(NORMAL_BOOTS_ID, "all", "Boots", 1)
                wait(1000, 1200)
        elseif (boots > 0) then
                moveitems(boots, "Boots", "all", 1)
                wait(1000, 1200)
        end
elseif (boots == NORMAL_BOOTS_ID) and (HP_MP_VALUES[CONSIDER_TYPE] <= RANDOM_EQUIP) and (pzone == false) and (itemcount(6529) > 0) then
        moveitems(6529, "all", "Boots", 1)
        wait(1000, 1200)
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Softboots>
      <ManaWalk>
        <Script>if (maround(7) == 0) and (lootbodiescount == 0) then
    setsettings("Settings\\Healer\\Rules\\mp\\ManaRange", "0 to 80 %")
else
    setsettings("Settings\\Healer\\Rules\\mp\\ManaRange", "0 to 50 %")
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </ManaWalk>
      <Exori>
        <Script>-- [[ INIT START ]] --
    local CONFIG = {
        CREATURES = {"Acolyte of the Cult", "Adept of the Cult", "Enlightened of the Cult", "Novice of the Cult", "Serpent Spawn", "Crypt Chambler"},
        
        PLAYERS = {
            ENABLED = PVP,
            DISTANCE = 14,
            FLOOR_DIFFERENCE = 1,
            SAFE_LIST = {"Bubble", "Eternal Oblivion"},
        },
        
        SPELLS = {
            --{NAME = "groundshaker", AMOUNT = 6},
            {NAME = "fierce berserk", AMOUNT = 4},
            {NAME = "berserk", AMOUNT = 2},
            {NAME = "front sweep", AMOUNT = 2},
            --{NAME = "annihilation", HP_PC = 45},
            {NAME = "brutal strike", HP_PC = 100},
            {NAME = "whirlwind throw", HP_PC = 100},
        },
    }

    -- [[ 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>
      <avashooter>
        <Script>if PVP then
if (standtime >= 20000) and (lasttimeplayeronscreen >= 5000) and (maround(1) >= 1) and (paround(10) == 0) then
keyevent(0x7A)
wait(1500)
end
else
if (standtime >= 20000) and (maround(1) >= 1) then
keyevent(0x7A)
wait(1500)
end
end

if PVP then

if (lasttimeplayeronscreen >= 5000) and (maround(1) > 0) and (standtime >= 20000) and (cancast('exori')) and (paround(10) == 0) then
cast('exori')
wait(1000)
end

else

if (standtime >= 20000) and (cancast('exori')) and (maround(1) > 0) then
cast('exori')
wait(1000)
end

end

if standtime > 20000 then
setsettings("Settings\\CaveBot\\Pathfinding\\WalkingMethod", "Arrow Keys")
wait(5000)
else
setsettings("Settings\\CaveBot\\Pathfinding\\WalkingMethod", "Map Clicks")
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </avashooter>
      <RefillChecker>
        <Script>if (itemcount(PotID) <= Mana_Check) or (cap < CapToLeave) or (itemcount(UHPname) <= UHP_Check) or (itemcount(GHPname) <= GHP_Check)
then
          setlooting("no")
          setsettings("Settings\\Actions\\List\\Hur\\Enabled","yes")
setsettings("Settings\\Targeting\\Monsters\\Acolyte of the Cult\\OnlyIfTrapped", "yes")
setsettings("Settings\\Targeting\\Monsters\\Adept of the Cult\\OnlyIfTrapped", "yes")
setsettings("Settings\\Targeting\\Monsters\\Enlightened of the Cult\\OnlyIfTrapped", "yes")
setsettings("Settings\\Targeting\\Monsters\\Novice of the Cult\\OnlyIfTrapped", "yes")
setsettings("Settings\\Targeting\\Monsters\\Serpent Spawn\\OnlyIfTrapped", "yes")
setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound", "no")
setsettings("Settings\\Alerts\\StandTime\\PlaySound", "no")
setsettings("Settings\\Alerts\\Disconnect\\PlaySound", "no")


if posz == 11 then
gotolabel("y201")
wait(500)
setsettings("Settings\\Actions\\List\\RefillChecker\\Enabled", "no")
end
if posz == 10 then
gotolabel("y22")
wait(500)
setsettings("Settings\\Actions\\List\\RefillChecker\\Enabled", "no")
end
if posz == 9 then
gotolabel("y24")
wait(500)
setsettings("Settings\\Actions\\List\\RefillChecker\\Enabled", "no")
end
if posz == 8 then
gotolabel("leave_cave")
wait(500)
setsettings("Settings\\Actions\\List\\RefillChecker\\Enabled", "no")
end
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>no</Enabled>
      </RefillChecker>
      <settings>
        <Script>local Ropeid = itemid(RopeName)
local Pickid = itemid(PickName)
local Shovelid = itemid(ShovelName)
local Macheteid = itemid(MacheteName)
setsettings("Settings\\CaveBot\\Settings\\Rope", Ropeid)
setsettings("Settings\\CaveBot\\Settings\\Shovel", Shovelid)
setsettings("Settings\\CaveBot\\Settings\\Pick", Pickid)
setsettings("Settings\\CaveBot\\Settings\\Machete", Macheteid)
</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </settings>
      <Action0>
        <Script>setsettings("Settings\\Targeting\\Monsters\\Acolyte of the Cult\\OnlyIfTrapped", "no")
setsettings("Settings\\Targeting\\Monsters\\Adept of the Cult\\OnlyIfTrapped", "no")
setsettings("Settings\\Targeting\\Monsters\\Enlightened of the Cult\\OnlyIfTrapped", "no")
setsettings("Settings\\Targeting\\Monsters\\Novice of the Cult\\OnlyIfTrapped", "no")
setsettings("Settings\\Targeting\\Monsters\\Serpent Spawn\\OnlyIfTrapped", "no")
setlooting("on")
setsettings("Settings\\Actions\\List\\RefillChecker\\Enabled", "yes")</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>no</Enabled>
      </Action0>
    </List>
    <Setup>--________________ Settings ___________________

     Softboots = true
     UseMount = true
     haste = true
     CapToLeave = 150
     SerpentSpawnFloor = true

     PVP = false
     
     MacheteName = "Machete"
     PickName = "Pick"
     ShovelName = "Shovel"
     RopeName = "Rope"

     GiveUpUHP = true
     GiveUpGHP = true
     
--_____________ Backpack Setup ______________

     MainBPname = "Backpack of Holding"
     LootBPname = "Jewelled Backpack"
     GoldBPname = "Brocade Backpack"
     SupplyBPname = "Dragon Backpack"
     OtherBPname = "Blue Backpack"


--______________ Depot Setup ________________

     MainDepotname = "Purple Backpack"
     LootDepotname = "Camouflage Backpack"
     AddonDepotname = "Beach Backpack"

--________________ Others ___________________

     ManaName = " mana potion"
     ManaBuy = 300
     Mana_Check = 100
     UHPname = "ultimate health potion"
     UHPbuy = 50
     UHP_Check = 20
     GHPname = "great health potion"
     GHPbuy = 60
     GHP_Check = 20

     
--___________ Extras (Don't touch) ______________

     PotID = itemid(ManaName)
     PotPrice = itemcost(ManaName)
     UhpID = itemid(UHPname)
     UhpPrice = itemcost(UHPname)
     GhpID = itemid(GHPname)
     GhpPrice = itemcost(GHPname)


function __itemcount(ITEM_ID, LOCATION)
	local ITEM_ID = type(ITEM_ID) ~= "number" and itemid(ITEM_ID) or ITEM_ID
	local ITEM_COUNT = itemcount(ITEM_ID, LOCATION)

	if (weapon == ITEM_ID) then
		ITEM_COUNT = ITEM_COUNT + weaponamount
	elseif (ammo == ITEM_ID) then
		ITEM_COUNT = ITEM_COUNT + ammoamount
	end

	return ITEM_COUNT
end</Setup>
    <Enabled>yes</Enabled>
    <Library>Standard;SIRMATE</Library>
  </Actions>
  <CaveBot>
    <Waypoints>
      <GPS>Action 32789 31247 6</GPS>
      <w001>Action 32789 31247 6 setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound", "no");setsettings("Settings\\Alerts\\StandTime\\PlaySound", "no");setsettings("Settings\\Alerts\\Disconnect\\PlaySound", "no");setsettings("Settings\\Actions\\List\\Hur\\Enabled", "no");setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "no");setsettings("Settings\\CaveBot\\Pathfinding\\WalkThroughPlayers", "no");setsettings("Settings\\Actions\\List\\Mount\\Enabled", "yes");setsettings("Settings\\Actions\\List\\RefillChecker\\Enabled", "no");setlooting("off");;setsettings("Settings\\Targeting\\Monsters\\Acolyte of the Cult\\OnlyIfTrapped", "yes");setsettings("Settings\\Targeting\\Monsters\\Adept of the Cult\\OnlyIfTrapped", "yes");setsettings("Settings\\Targeting\\Monsters\\Enlightened of the Cult\\OnlyIfTrapped", "yes");setsettings("Settings\\Targeting\\Monsters\\Novice of the Cult\\OnlyIfTrapped", "yes");setsettings("Settings\\Targeting\\Monsters\\Serpent Spawn\\OnlyIfTrapped", "yes");;</w001>
      <depo>Stand 32789 31247 6</depo>
      <w003>Action 32789 31247 6 closewindows();setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","no");;while windowcount() < 2 do;closewindows();wait(1000,2000);openitem(MainBPname, "back", true);wait(1000,2000);openitem(LootBPname, MainBPname, true);wait(1000,2000);end;openitem(MainBPname, "back");;;;</w003>
      <deposing>Action 32789 31247 6 while (windowcount("Locker") ==0) do     ;       reachgrounditem("depot")    ;       openitem("depot");       wait(700,900);end;;while (windowcount("Depot Chest") == 0) do;	openitem(3502, "locker");	wait(800,1000);end;;	openitem(MainDepotname, "Depot Chest", false);	wait(800,1000);;local DEPOSIT_ITEMS, NOT_STACKABLE_LAST_ON_TO, ITEM_INDEX = {"royal helmet", "swamplair armor", "spellbook of mind control", "crown armor", "mercenary sword", "noble axe", "blue robe", "amber staff", "tower shield", "broken key ring", "skull staff", "jewelled backpack", "warrior helmet", "lunar staff", "mysterious voodoo skull", "wand of inferno", "hailstorm rod", "platinum amulet", "terra rod", "charmer's tiara", "music sheet", "winged tail", "pirate voodoo doll", "strange helmet", "cultish symbol", "music sheet", "snake skin", "small diamond", "cultish mask", "golden mug", "music sheet", "small sapphire", "small emerald", "energy ring", "clerical mace", "cultish robe", "great mana potion", "protection amulet", "dragon necklace", "time ring", "wand of vortex", "dwarven ring", "music sheet", "snakebite rod", "morning star", "life crystal", "strong mana potion", "rope belt", "life ring", "silver amulet", "garlic necklace", "gold coin", "scarf", "red robe", "piggy bank", "old parchment"}, 0, 1;;while (#DEPOSIT_ITEMS >= ITEM_INDEX) do;	if (type(DEPOSIT_ITEMS[ITEM_INDEX]) == [[string]]) then;		local ITEM_ID = itemid(DEPOSIT_ITEMS[ITEM_INDEX]);		;		if (ITEM_ID > 0) then;			DEPOSIT_ITEMS[ITEM_INDEX], ITEM_INDEX = ITEM_ID, ITEM_INDEX + 1;		else;			table.remove(DEPOSIT_ITEMS, ITEM_INDEX);		end;	elseif (type(DEPOSIT_ITEMS[ITEM_INDEX]) == [[number]]) then;		if (DEPOSIT_ITEMS[ITEM_INDEX] > 0) then;			ITEM_INDEX = ITEM_INDEX + 1;		else;			table.remove(DEPOSIT_ITEMS, ITEM_INDEX);		end;	else;		table.remove(DEPOSIT_ITEMS, ITEM_INDEX);	end;end;;while (true) do;	for _, DEPOSIT_ITEM in ipairs(DEPOSIT_ITEMS) do;		local NEXT_ITEM = true;		;		if (itemcount(DEPOSIT_ITEM, LootBPname) > 0) then;			if (itemproperty(DEPOSIT_ITEM).isCumulative) then;				local STACKABLE_LAST_ON_TO = 0;				;				while (5 > STACKABLE_LAST_ON_TO) do;					local ITEM_COUNT_BEFORE = itemcount(DEPOSIT_ITEM, LootBPname);					;					moveitemsonto(DEPOSIT_ITEM, "all", AddonDepotname, 100, STACKABLE_LAST_ON_TO) wait(500, 1000);					;					local ITEM_COUNT_AFTER = itemcount(DEPOSIT_ITEM, LootBPname);					;					if (ITEM_COUNT_BEFORE == ITEM_COUNT_AFTER and ITEM_COUNT_AFTER > 0) then;						STACKABLE_LAST_ON_TO = STACKABLE_LAST_ON_TO + 1;					elseif (ITEM_COUNT_AFTER == 0) then;						break;					end;				end;			else;				while (15 > NOT_STACKABLE_LAST_ON_TO) do;					local ITEM_COUNT_BEFORE = itemcount(DEPOSIT_ITEM, LootBPname);					;					moveitemsonto(DEPOSIT_ITEM, "all", LootDepotname, 100, NOT_STACKABLE_LAST_ON_TO) wait(500, 1000);					;					local ITEM_COUNT_AFTER = itemcount(DEPOSIT_ITEM, LootBPname);					;					if (ITEM_COUNT_BEFORE == ITEM_COUNT_AFTER and ITEM_COUNT_AFTER > 0) then;						NOT_STACKABLE_LAST_ON_TO = NOT_STACKABLE_LAST_ON_TO + 1;					elseif (ITEM_COUNT_AFTER == 0) then;						break;					end;				end;			end;		end;	end;	;	if (itemcount(LootBPname, LootBPname) == 0) then;		break;	else;		openitem(LootBPname, LootBPname, false) wait(2000, 3000);	end;	;	wait(100);end;setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","no");;;;;</deposing>
      <set_all_bp>Action 32789 31247 6 setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","no");;setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","yes");;while windowcount() < 4 do;closewindows();wait(1000,2000);openitem(MainBPname, "back", true);wait(1000,2000);resizewindows();wait(1000,2000);openitem(SupplyBPname, MainBPname, true);wait(1000,2000);resizewindows();openitem(LootBPname, MainBPname, true);wait(1000,2000);resizewindows();openitem(GoldBPname, MainBPname, true);wait(1000,2000);resizewindows();end;;;;;</set_all_bp>
      <check_potions>Stand 32789 31247 6</check_potions>
      <w007>Action 32789 31247 6 if GiveUpUHP or GiveUPGHP then;return;else;gotolabel("go_shoping");end;</w007>
      <w008>Action 32789 31247 6 while windowcount() < 2 do;closewindows();wait(1000,2000);openitem(MainBPname, "back", true);wait(1000,2000);resizewindows();wait(1000,2000);openitem(SupplyBPname, MainBPname, true);wait(1000,2000);end;;;</w008>
      <w009>Action 32789 31247 6 while (windowcount("Locker") == 0) do     ;       reachgrounditem("depot")    ;       openitem("depot");       wait(700,900);;;end;;</w009>
      <w010>Action 32789 31247 6 while (windowcount("Depot Chest") == 0) do;	openitem(3502, "locker");	wait(800,1000);end;;;</w010>
      <w011>Action 32789 31247 6 wait(1000);	openitem(OtherBPname, "Depot Chest", false);	wait(800,1000);;</w011>
      <w012>Action 32789 31247 6 if GiveUpUHP then;local UHPcurrent = itemcount(UHPname, MainBPname);amount = UHPbuy - UHPcurrent;while amount > 0  do;moveitems("ultimate health potion", OtherBPname, MainBPname, amount);amount = amount-100;end;end;;;</w012>
      <w013>Action 32789 31247 6 if GiveUpGHP then;local GHPcurrent = itemcount(GHPname, MainBPname);amount = GHPbuy - GHPcurrent;while amount > 0  do;moveitems("great health potion", OtherBPname, MainBPname, amount);amount = amount-100;end;end;;</w013>
      <w014>Action 32789 31247 6 if itemcount(GHPname) + 25 < GHPbuy or itemcount(UHPname) + 25 < UHPbuy then;gotolabel("check_potions");end;;</w014>
      <w015>Action 32789 31247 6 setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","no");;setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","yes");;while windowcount() < 4 do;closewindows();wait(1000,2000);openitem(MainBPname, "back", true);wait(1000,2000);resizewindows();wait(1000,2000);openitem(SupplyBPname, MainBPname, true);wait(1000,2000);resizewindows();openitem(LootBPname, MainBPname, true);wait(1000,2000);resizewindows();openitem(GoldBPname, MainBPname, true);wait(1000,2000);resizewindows();end;;;;;</w015>
      <go_bank>Stand 32797 31246 6</go_bank>
      <w017>Action 32798 31246 7 if islocation(2) then;return;else;gotolabel("go_bank");end;;</w017>
      <w018>Node 32805 31234 7</w018>
      <w019>Node 32829 31234 7</w019>
      <bank>Stand 32824 31248 7</bank>
      <talking_bank>Action 32824 31248 7 if islocation() then;moveitems(6530, "boots", MainBPname,  1);local Currentsofts = (itemcount(6530) * 10000) + 1000;local mana = positive(ManaBuy - itemcount(ManaName)) * PotPrice;local uhp = positive(UHPbuy - itemcount(UHPname)) * UhpPrice;local ghp = positive(GHPbuy - itemcount(GHPname)) * GhpPrice;local Others = 4000;local Total1 = mana + Currentsofts + Others;local Total2 = mana + Currentsofts + uhp + Others;local Total3 = mana + Currentsofts + ghp  + Others;local Total4 = mana + Currentsofts + ghp + uhp + Others;;say("hi");wait(1500,1700);npcsay("deposit all");wait(1000,1200);npcsay("yes");wait(1200,1300);;if Total1 > 0 and GiveUpUHP == false and GiveUpGHP == false then;   npcsay("withdraw "..Total1);   wait(500,800);   npcsay("yes");   wait(500,800);   npcsay("balance");end;;if Total2 > 0 and GiveUpUHP == true and GiveUpGHP == false then;   npcsay("withdraw "..Total2);   wait(500,800);   npcsay("yes");   wait(500,800);   npcsay("balance");end;;if Total3 > 0 and GiveUpUHP == false and GiveUpGHP == true then;   npcsay("withdraw "..Total3);   wait(500,800);   npcsay("yes");   wait(500,800);   npcsay("balance");end;;if Total4 > 0 and GiveUpUHP == true and GiveUpGHP == true then;   npcsay("withdraw "..Total4);   wait(500,800);   npcsay("yes");   wait(500,800);   npcsay("balance");end;setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","yes");;;;else;gotolabel("bank");end;;</talking_bank>
      <w022>Action 32824 31248 7 local Currentsofts = (itemcount(6530) * 10000) + 1000;local mana = positive(ManaBuy - itemcount(ManaName)) * PotPrice;local uhp = positive(UHPbuy - itemcount(UHPname)) * UhpPrice;local ghp = positive(GHPbuy - itemcount(GHPname)) * GhpPrice;local Others = 3000;local Total = mana + uhp + ghp + others;;if gold() >= Total then;return;else;gotolabel("bank");end;</w022>
      <y1>Node 32829 31238 7</y1>
      <w024>Node 32819 31233 7</w024>
      <w025>Node 32805 31233 7</w025>
      <w026>Node 32792 31233 7</w026>
      <w027>Stand 32790 31239 7</w027>
      <w028>Stand 32789 31239 6</w028>
      <w029>Action 32789 31238 5 if islocation(1) then;return;else;gotolabel("y1");end;;</w029>
      <w030>Action 32789 31238 5 reachcreature("Chuckles");wait(500);sellflasks();wait(500);npcsay("potions");wait(1000);;local CurrentManas = itemcount(ManaName);local CurrentGHP = itemcount(GHPname);local CurrentUHP = itemcount(UHPname);local CurrentAVA = itemcount("avalanche rune");wait(500);amountMana = ManaBuy - CurrentManas ;amountGHP = GHPbuy - CurrentGHP ;amountUHP = UHPbuy - CurrentUHP;amountAVA = 100 - CurrentAVA;;while amountMana > 0 do ;buyitems(ManaName, amountMana) ;wait(500,1000) ;moveitems(ManaName,SupplyBPname, 100) ;wait(300,400) ;amountMana = amountMana-100;end;;while amountGHP > 0 do ;buyitems(GHPname, amountGHP) ;wait(500,1000) ;amountGHP = amountGHP-100;end;;while amountUHP > 0 do ;buyitems(UHPname, amountUHP) ;wait(500,1000) ;amountUHP = amountUHP-100;end;;while amountAVA > 0 do ;buyitems("avalanche rune", amountAVA) ;wait(500,1000) ;wait(300,400) ;amountAVA = amountAVA-100;end;</w030>
      <y2>Stand 32789 31239 5</y2>
      <w032>Stand 32790 31239 6</w032>
      <w033>Action 32790 31240 7 if islocation(2) then;if (itemcount(ManaName)+10 < ManaBuy) or (itemcount(GHPname)+10 < GHPbuy) or (itemcount(UHPname)+10 < UHPbuy) then;     gotolabel("bank");end;;;else;gotolabel("y2");end;;</w033>
      <w034>Stand 32801 31233 7</w034>
      <w035>Action 32801 31233 7 if (SoftbootsRefill) and (itemcount(6530) > 0) then;gotolabel("refill_softboots");else;gotolabel("check_all_suple");end</w035>
      <y3>Stand 32801 31253 7</y3>
      <w037>Stand 32801 31255 7</w037>
      <w038>Node 32811 31262 6</w038>
      <w039>Node 32817 31273 6</w039>
      <w040>Stand 32815 31277 6</w040>
      <w041>Ladder 32815 31277 6</w041>
      <w042>Stand 32816 31278 5</w042>
      <tr_venore>Action 32816 31278 5 if islocation(1) then;reachcreature("Karith");wait(1000);say("hi");wait(500);npcsay("venore");wait(500);npcsay("yes");else;gotolabel("y1");end;;</tr_venore>
      <w044>Action 32954 32023 6 if islocation(2) then;return;else;gotolabel("tr_venore");end;;</w044>
      <w045>Node 32954 32036 6</w045>
      <w046>Node 32954 32054 6</w046>
      <w047>Node 32954 32071 6</w047>
      <w048>Node 32953 32087 6</w048>
      <w049>Node 32949 32097 6</w049>
      <w050>Node 32950 32107 6</w050>
      <y4>Stand 32951 32107 6</y4>
      <w052>Action 32951 32107 6 if islocation(2) then;return;else;gotolabel("y4");end;;</w052>
      <w053>Stand 32953 32108 6</w053>
      <w054>Action 32953 32108 6 if islocation() then;while (itemcount(6530) > 0) and gold() >= 11000 do;say("hi");wait(500,1000);npcsay("repair");wait(1000,1200);npcsay("yes");wait(500);end;else;gotolabel("y4");end;;</w054>
      <w055>Stand 32949 32102 6</w055>
      <w056>Stand 32953 32087 6</w056>
      <w057>Stand 32954 32072 6</w057>
      <w058>Stand 32954 32057 6</w058>
      <w059>Stand 32954 32042 6</w059>
      <w060>Stand 32955 32030 6</w060>
      <y5>Stand 32955 32021 6</y5>
      <w062>Action 32955 32021 6 if islocation(1) then;reachcreature("Captain Fearless");wait(1000);say("hi");wait(500);npcsay("yalahar");wait(500);npcsay("yes");else;gotolabel("y1");end;;</w062>
      <w063>Action 32816 31272 6 if islocation(2) then;return;else;gotolabel("y5");end;;</w063>
      <y6>Stand 32802 31259 6</y6>
      <w065>Stand 32802 31256 6</w065>
      <w066>Action 32802 31253 7 if islocation(2) then;return;else;gotolabel("y6");end;;</w066>
      <check_all_suple>Action 32817 31223 7 if islocation() then;if (itemcount(6530) > 0) or (itemcount(ManaName)+10 < ManaBuy) or (itemcount(GHPname)+10 < GHPbuy) or (itemcount(UHPname)+10 < UHPbuy) then;     gotolabel("go_depo");end;else;gotolabel("check_all_suple");end;</check_all_suple>
      <go_cave>Stand 32815 31231 7</go_cave>
      <y7>Node 32824 31216 7</y7>
      <w070>Node 32828 31200 7</w070>
      <w071>Node 32830 31184 7</w071>
      <w072>Node 32844 31173 7</w072>
      <w073>Node 32835 31164 7</w073>
      <w074>Stand 32834 31156 7</w074>
      <w075>Action 32834 31156 7 if islocation(2) then;return;else;gotolabel("y7");end;;</w075>
      <y8>Stand 32834 31155 7</y8>
      <w077>Stand 32834 31153 6</w077>
      <w078>Stand 32834 31145 5</w078>
      <w079>Stand 32834 31143 6</w079>
      <w080>Action 32834 31142 7 if islocation(2) then;return;else;gotolabel("y8");end;;</w080>
      <y9>Node 32839 31128 7</y9>
      <w082>Node 32849 31113 7</w082>
      <w083>Stand 32858 31102 7</w083>
      <w084>Action 32858 31102 7 if islocation(2) then;return;else;gotolabel("y9");end;;</w084>
      <y10>Stand 32857 31102 7</y10>
      <w086>Stand 32855 31102 6</w086>
      <w087>Action 32852 31102 7 if islocation() then;return;else;gotolabel("y10");end;;</w087>
      <y11>Node 32836 31097 7</y11>
      <w089>Stand 32825 31094 7</w089>
      <w090>Use 32825 31093 7</w090>
      <w091>Stand 32825 31091 7</w091>
      <w092>Action 32825 31091 7 if islocation(0) then;setsettings("Settings\\Targeting\\Monsters\\Acolyte of the Cult\\OnlyIfTrapped", "no");setsettings("Settings\\Targeting\\Monsters\\Adept of the Cult\\OnlyIfTrapped", "no");setsettings("Settings\\Targeting\\Monsters\\Enlightened of the Cult\\OnlyIfTrapped", "no");setsettings("Settings\\Targeting\\Monsters\\Novice of the Cult\\OnlyIfTrapped", "no");setsettings("Settings\\Targeting\\Monsters\\Serpent Spawn\\OnlyIfTrapped", "no");setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound", "yes");setsettings("Settings\\Alerts\\StandTime\\PlaySound", "yes");setsettings("Settings\\Alerts\\Disconnect\\PlaySound", "yes");setsettings("Settings\\Actions\\List\\Hur\\Enabled", "yes");setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "yes");setsettings("Settings\\CaveBot\\Pathfinding\\WalkThroughPlayers", "yes");setsettings("Settings\\Actions\\List\\Mount\\Enabled", "yes");setsettings("Settings\\Actions\\List\\RefillChecker\\Enabled", "yes");setlooting("on");else;gotolabel("y11");end;;</w092>
      <entry_cave>Stand 32824 31083 7</entry_cave>
      <w094>Stand 32824 31084 7</w094>
      <w095>Action 32824 31085 8 if islocation(10) then;return;else;gotolabel("enter_cave");end;;</w095>
      <y12>Stand 32822 31084 8</y12>
      <w097>Use 32819 31084 8</w097>
      <w098>Stand 32818 31084 8</w098>
      <cave_in>Stand 32803 31084 8</cave_in>
      <w100>Stand 32803 31085 8</w100>
      <w101>Action 32803 31086 9 if islocation(20) then;return;else;gotolabel("y12");end;;</w101>
      <y13>Stand 32803 31086 9</y13>
      <w103>Stand 32803 31097 9</w103>
      <w104>Stand 32788 31093 9</w104>
      <w105>Stand 32803 31096 9</w105>
      <w106>Stand 32817 31094 9</w106>
      <w107>Stand 32802 31096 9</w107>
      <w108>Stand 32802 31104 9</w108>
      <w109>Stand 32788 31106 9</w109>
      <y141>Stand 32817 31106 9</y141>
      <y14>Stand 32803 31113 9</y14>
      <w112>Stand 32802 31115 9</w112>
      <w113>Action 32802 31116 10 if islocation(20) then;return;else;gotolabel("y14");end;;</w113>
      <y15>Stand 32802 31112 10</y15>
      <w115>Stand 32801 31096 10</w115>
      <w116>Stand 32792 31095 10</w116>
      <w117>Stand 32792 31086 10</w117>
      <w118>Stand 32783 31096 10</w118>
      <w119>Stand 32783 31109 10</w119>
      <w120>Stand 32775 31109 10</w120>
      <w121>Stand 32790 31109 10</w121>
      <w122>Stand 32783 31122 10</w122>
      <w123>Stand 32787 31128 10</w123>
      <w124>Stand 32800 31128 10</w124>
      <w125>Action 32800 31128 10 if islocation(10) then;return;else;gotolabel("y15");end;;</w125>
      <w126>Action 32800 31128 10 if SerpentSpawnFloor then;return;else;gotolabel("done_serpent");end</w126>
      <y16>Stand 32804 31128 10</y16>
      <w128>Stand 32805 31128 11</w128>
      <w129>Action 32805 31128 11 if islocation(3) then;return;else;gotolabel("y16");end;;</w129>
      <y17>Node 32806 31112 11</y17>
      <w131>Node 32806 31101 11</w131>
      <w132>Node 32814 31095 11</w132>
      <w133>Node 32820 31085 11</w133>
      <w134>Node 32821 31073 11</w134>
      <w135>Node 32814 31066 11</w135>
      <w136>Stand 32806 31065 11</w136>
      <w137>Action 32806 31065 11 if islocation(15) then;return;else;gotolabel("y17");end;;</w137>
      <w138>Stand 32806 31083 11</w138>
      <w139>Stand 32806 31083 11</w139>
      <w140>Action 32806 31083 11 if islocation() then;return;else;gotolabel("y18");end;;</w140>
      <w141>Node 32806 31073 11</w141>
      <w142>Node 32798 31066 11</w142>
      <w143>Node 32792 31074 11</w143>
      <w144>Node 32790 31081 11</w144>
      <w145>Node 32797 31094 11</w145>
      <w146>Node 32806 31103 11</w146>
      <w147>Node 32807 31112 11</w147>
      <w148>Node 32806 31122 11</w148>
      <y201>Stand 32806 31128 11</y201>
      <w150>Stand 32806 31128 11</w150>
      <w151>Action 32806 31128 11 if islocation(3) then;return;else;gotolabel("y201");end;;</w151>
      <y21>Stand 32804 31128 11</y21>
      <done_serpent>Stand 32801 31128 10</done_serpent>
      <w154>Action 32801 31128 10 if islocation(3) then;return;else;gotolabel("y21");end;;</w154>
      <w155>Node 32788 31128 10</w155>
      <w156>Node 32784 31108 10</w156>
      <w157>Node 32796 31097 10</w157>
      <y21>Stand 32802 31116 10</y21>
      <w159>Stand 32802 31116 10</w159>
      <w160>Action 32802 31116 10 if islocation(3) then;return;else;gotolabel("y21");end;;</w160>
      <y22>Stand 32802 31115 10</y22>
      <w162>Stand 32802 31114 9</w162>
      <w163>Action 32802 31114 9 if islocation(3) then;return;else;gotolabel("y22");end;;</w163>
      <w164>Stand 32802 31102 9</w164>
      <y23>Stand 32801 31087 9</y23>
      <w166>Stand 32803 31086 9</w166>
      <w167>Action 32803 31086 9 if islocation(3) then;return;else;gotolabel("y23");end;;</w167>
      <y24>Stand 32803 31085 9</y24>
      <w169>Stand 32803 31084 8</w169>
      <w170>Action 32803 31084 8 if islocation(3) then;if (itemcount(PotID) <= Mana_Check) or (cap <= CapToLeave) or (itemcount(UHPname) <= UHP_Check) or (itemcount(GHPname) <= GHP_Check);then;gotolabel("leave_cave");else;gotolabel("cave_in");end;else;gotolabel("y24");end;;</w170>
      <leave_cave>Action 32803 31084 8</leave_cave>
      <w000>Stand 32814 31084 8</w000>
      <w002>Stand 32818 31084 8</w002>
      <w004>Use 32819 31084 8</w004>
      <w005>Stand 32824 31085 8</w005>
      <w006>Action 32824 31085 8 if islocation(3) then;return;else;gotolabel("leave_cave");end;;</w006>
      <l2>Stand 32824 31084 8</l2>
      <w020>Action 32824 31083 7 if islocation(3) then;return;else;gotolabel("l2");end;;</w020>
      <l3>Stand 32824 31090 7</l3>
      <w021>Use 32825 31093 7</w021>
      <w023>Stand 32825 31094 7</w023>
      <w031>Action 32825 31094 7 if islocation(3) then;return;else;gotolabel("l3");end;;</w031>
      <w016>Stand 32835 31097 7</w016>
      <w036>Stand 32845 31102 7</w036>
      <l4>Stand 32853 31102 7</l4>
      <w051>Action 32853 31102 7 if islocation(0) then;return;else;gotolabel("l4");end;;</w051>
      <l5>Stand 32854 31102 7</l5>
      <w064>Stand 32857 31102 6</w064>
      <w067>Action 32858 31102 7 if islocation() then;return;else;gotolabel("l5");end;;</w067>
      <l6>Stand 32845 31119 7</l6>
      <w061>Stand 32836 31128 7</w061>
      <w068>Stand 32834 31142 7</w068>
      <w069>Action 32834 31142 7 if islocation(3) then;return;else;gotolabel("l6");end;;</w069>
      <l7>Stand 32834 31143 7</l7>
      <w076>Stand 32834 31145 6</w076>
      <w081>Stand 32834 31153 5</w081>
      <w085>Stand 32834 31155 6</w085>
      <w088>Action 32834 31156 7 if islocation() then;return;else;gotolabel("l7");end;;</w088>
      <l8>Node 32840 31164 7</l8>
      <w093>Node 32834 31184 7</w093>
      <w096>Node 32826 31195 7</w096>
      <w099>Node 32824 31216 7</w099>
      <w130>Action 32801 31243 7</w130>
      <w102>Node 32817 31227 7</w102>
      <w110>Node 32802 31235 7</w110>
      <depo_in>Stand 32798 31246 7</depo_in>
      <w111>Action 32798 31246 7 if islocation() then;return;else;gotolabel("l8");end;;</w111>
      <w043>Stand 32797 31246 7</w043>
      <w114>Stand 32791 31247 6</w114>
      <w127>Action 32791 31247 6 if islocation(2) then;return;else;gotolabel("depo_in");end;;</w127>
    </Waypoints>
    <Pathfinding>
      <SpecialAreas />
      <WalkThroughPlayers>no</WalkThroughPlayers>
      <WalkingMethod>Arrow Keys</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;8522;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>no</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>
      <royal-helmet>
        <Id>3392</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </royal-helmet>
      <swamplair-armor>
        <Id>8052</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </swamplair-armor>
      <spellbook-of-mind-control>
        <Id>8074</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </spellbook-of-mind-control>
      <crown-armor>
        <Id>3381</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </crown-armor>
      <mercenary-sword>
        <Id>7386</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </mercenary-sword>
      <noble-axe>
        <Id>7456</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </noble-axe>
      <blue-robe>
        <Id>3567</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </blue-robe>
      <amber-staff>
        <Id>7426</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </amber-staff>
      <tower-shield>
        <Id>3428</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </tower-shield>
      <broken-key-ring>
        <Id>11652</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </broken-key-ring>
      <skull-staff>
        <Id>3324</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </skull-staff>
      <jewelled-backpack>
        <Id>5801</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </jewelled-backpack>
      <warrior-helmet>
        <Id>3369</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </warrior-helmet>
      <lunar-staff>
        <Id>7424</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </lunar-staff>
      <mysterious-voodoo-skull>
        <Id>5668</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </mysterious-voodoo-skull>
      <wand-of-inferno>
        <Id>3071</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </wand-of-inferno>
      <hailstorm-rod>
        <Id>3067</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </hailstorm-rod>
      <platinum-amulet>
        <Id>3055</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </platinum-amulet>
      <terra-rod>
        <Id>3065</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </terra-rod>
      <charmers-tiara>
        <Id>3407</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </charmers-tiara>
      <music-sheet>
        <Id>6090</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </music-sheet>
      <winged-tail>
        <Id>10313</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </winged-tail>
      <pirate-voodoo-doll>
        <Id>5810</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </pirate-voodoo-doll>
      <strange-helmet>
        <Id>3373</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </strange-helmet>
      <cultish-symbol>
        <Id>11455</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </cultish-symbol>
      <music-sheet>
        <Id>6089</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </music-sheet>
      <snake-skin>
        <Id>9694</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </snake-skin>
      <small-diamond>
        <Id>3028</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </small-diamond>
      <cultish-mask>
        <Id>9638</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </cultish-mask>
      <golden-mug>
        <Id>2903</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </golden-mug>
      <music-sheet>
        <Id>6088</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </music-sheet>
      <small-sapphire>
        <Id>3029</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </small-sapphire>
      <small-emerald>
        <Id>3032</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </small-emerald>
      <energy-ring>
        <Id>3051</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </energy-ring>
      <clerical-mace>
        <Id>3311</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </clerical-mace>
      <cultish-robe>
        <Id>9639</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </cultish-robe>
      <great-mana-potion>
        <Id>238</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </great-mana-potion>
      <protection-amulet>
        <Id>3084</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </protection-amulet>
      <dragon-necklace>
        <Id>3085</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </dragon-necklace>
      <time-ring>
        <Id>3053</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </time-ring>
      <wand-of-vortex>
        <Id>3074</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </wand-of-vortex>
      <dwarven-ring>
        <Id>3097</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </dwarven-ring>
      <music-sheet>
        <Id>6087</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </music-sheet>
      <snakebite-rod>
        <Id>3066</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </snakebite-rod>
      <morning-star>
        <Id>3282</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </morning-star>
      <life-crystal>
        <Id>3061</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </life-crystal>
      <strong-mana-potion>
        <Id>237</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </strong-mana-potion>
      <rope-belt>
        <Id>11492</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </rope-belt>
      <life-ring>
        <Id>3052</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </life-ring>
      <silver-amulet>
        <Id>3054</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </silver-amulet>
      <garlic-necklace>
        <Id>3083</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </garlic-necklace>
      <gold-coin>
        <Id>3031</Id>
        <Destination>3</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </gold-coin>
      <scarf>
        <Id>3572</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </scarf>
      <red-robe>
        <Id>3566</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </red-robe>
      <piggy-bank>
        <Id>2995</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </piggy-bank>
      <old-parchment>
        <Id>4831</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </old-parchment>
    </List>
    <Condition>Corpses with listed items</Condition>
    <Style>After melee kill</Style>
    <OpenBodyTime>300</OpenBodyTime>
    <Range>40</Range>
    <EatFood>yes</EatFood>
    <Enabled>no</Enabled>
  </Looting>
  <Targeting>
    <Monsters>
      <Acolyte-of-the-Cult>
        <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>
      </Acolyte-of-the-Cult>
      <Adept-of-the-Cult>
        <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>
      </Adept-of-the-Cult>
      <Enlightened-of-the-Cult>
        <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>
      </Enlightened-of-the-Cult>
      <Novice-of-the-Cult>
        <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>
      </Novice-of-the-Cult>
      <Serpent-Spawn>
        <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>
      </Serpent-Spawn>
      <All>
        <Categories>-</Categories>
        <Danger>0</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>No movement</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>
      </All>
    </Monsters>
    <Settings>
      <ListOrder>7</ListOrder>
      <Health>9</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>
      <GeneralInfo>
        <Script>setsize(100,100)
setfontcolor("white")

addtext(name,10,30)
addtext("LvL :", 150,30)
addtext(level, 180,30)
addtext("Next LvL :", 150,45)
addtext(exptolevel(), 210,45)

addtext("Pos X : ", 10,45)
addtext(posx, 54,45)
addtext("Pos Y : ", 10,60)
addtext(posy, 54,60)
addtext("Pos Z : ", 10,75)
addtext(posz, 54,75)</Script>
        <RefreshRate>1000</RefreshRate>
        <Enabled>no</Enabled>
      </GeneralInfo>
      <monitor_my_hunt>
        <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 = "royal helmet", VALUE = 30000},
{NAME = "swamplair armor", VALUE = 16000},
{NAME = "spellbook of mind control", VALUE = 13000},
{NAME = "crown armor", VALUE = 12000},
{NAME = "mercenary sword", VALUE = 12000},
{NAME = "noble axe", VALUE = 10000},
{NAME = "blue robe", VALUE = 10000},
{NAME = "amber staff", VALUE = 8000},
{NAME = "tower shield", VALUE = 8000},
{NAME = "broken key ring", VALUE = 8000},
{NAME = "skull staff", VALUE = 6000},
{NAME = "jewelled backpack", VALUE = 5000},
{NAME = "warrior helmet", VALUE = 5000},
{NAME = "lunar staff", VALUE = 5000},
{NAME = "mysterious voodoo skull", VALUE = 4000},
{NAME = "wand of inferno", VALUE = 3000},
{NAME = "hailstorm rod", VALUE = 3000},
{NAME = "platinum amulet", VALUE = 2500},
{NAME = "terra rod", VALUE = 2000},
{NAME = "charmer's tiara", VALUE = 900},
{NAME = "music sheet", VALUE = 800},
{NAME = "winged tail", VALUE = 800},
{NAME = "pirate voodoo doll", VALUE = 500},
{NAME = "strange helmet", VALUE = 500},
{NAME = "cultish symbol", VALUE = 500},
{NAME = "music sheet", VALUE = 400},
{NAME = "snake skin", VALUE = 400},
{NAME = "small diamond", VALUE = 300},
{NAME = "cultish mask", VALUE = 280},
{NAME = "golden mug", VALUE = 250},
{NAME = "music sheet", VALUE = 250},
{NAME = "small sapphire", VALUE = 250},
{NAME = "small emerald", VALUE = 250},
{NAME = "energy ring", VALUE = 200},
{NAME = "clerical mace", VALUE = 170},
{NAME = "cultish robe", VALUE = 150},
{NAME = "great mana potion", VALUE = 120},
{NAME = "protection amulet", VALUE = 100},
{NAME = "dragon necklace", VALUE = 100},
{NAME = "time ring", VALUE = 100},
{NAME = "wand of vortex", VALUE = 100},
{NAME = "dwarven ring", VALUE = 100},
{NAME = "music sheet", VALUE = 100},
{NAME = "snakebite rod", VALUE = 100},
{NAME = "morning star", VALUE = 90},
{NAME = "life crystal", VALUE = 85},
{NAME = "strong mana potion", VALUE = 80},
{NAME = "rope belt", VALUE = 66},
{NAME = "life ring", VALUE = 50},
{NAME = "silver amulet", VALUE = 50},
{NAME = "garlic necklace", VALUE = 50},

            }

            MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES = false
            MONITOR_MY_HUNTING.SUPPLIES_LIST = {
                    {NAME = "mana potion", PRICE = 50},
                    {NAME = "ultimate health potion", PRICE = 310},
                    {NAME = "great health potion", PRICE = 190},

            }

            -- [[ 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 ]] --
setfontstyle("impact", 9, "gold")
    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>500</RefreshRate>
        <Enabled>yes</Enabled>
      </monitor_my_hunt>
      <NEMIKS_HUD>
        <Script>local fontfamily = "Impact"
local fontsize = 9
local headfontsize = 13
local startposx = -30
local startposy = 15
local BLACK = rgbcolor(1, 1, 1)
local ORANGE = rgbcolor(255, 165, 0)
local BLUE = rgbcolor(30, 144, 255)
local CORNSILK = rgbcolor(205, 200, 177)
local WHITE = rgbcolor(255, 255, 255)
local GREEN = rgbcolor(107, 142, 35)
local RED = rgbcolor(178, 34, 34)

local function addtextshadow(text, color, xpos, ypos)
	setfontcolor(rgbcolor(1, 1, 1))
	addtext(text, xpos+1, ypos)
	addtext(text, xpos-1, ypos)
	addtext(text, xpos, ypos+1)
	addtext(text, xpos, ypos-1)
	setfontcolor(color)
	addtext(text, xpos, ypos)
end

setfontstyle(fontfamily, headfontsize, ORANGE)
setfontcolor(ORANGE)
addtextshadow("> GENERAL INFORMATION", ORANGE,startposx+37, startposy+30)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(GREEN)
addtextshadow(":: Script name: ", GREEN, startposx+52, startposy+50)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow("Cults Yalahar [EK] v1.0", WHITE, startposx+150, startposy+50)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(GREEN)
addtextshadow(":: Script Author: ", GREEN, startposx+52, startposy+85)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow("NEMIKS", WHITE, startposx+150, startposy+85)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(GREEN)
addtextshadow(":: Official Website: ", GREEN, startposx+52, startposy+100)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow("-", WHITE, startposx+150, startposy+100)

setfontstyle(fontfamily, headfontsize, CORNSILK)
setfontcolor(ORANGE)
addtextshadow("> CONTACT:", ORANGE, startposx+37, startposy+125)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(GREEN)
addtextshadow(":: E-MAIL:", GREEN, startposx+52, startposy+145)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow("-", WHITE, startposx+150, startposy+145)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(GREEN)
addtextshadow(":: GADU-GADU:", GREEN,startposx+52, startposy+160)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow("-", WHITE, startposx+150, startposy+160)

setfontstyle(fontfamily, headfontsize, CORNSILK)
setfontcolor(ORANGE)
addtextshadow("> HUNTINH STATISTIC:", ORANGE, startposx+37, startposy+195)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: EXP PER HOUR:", CORNSILK, startposx+52, startposy+215)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow(exphour/1000, WHITE, startposx+150, startposy+215)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: EXP LEFT:", CORNSILK, startposx+52, startposy+230)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow(exptolevel()/1000, WHITE, startposx+150, startposy+230)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: EXP GAINED:", CORNSILK, startposx+52, startposy+245)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow(expgained/1000, WHITE, startposx+150, startposy+245)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: NEXT LVL FOR:", CORNSILK, startposx+52, startposy+260)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow('' .. timetolevel, WHITE, startposx+150, startposy+260)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: STAMINA:", CORNSILK, startposx+52, startposy+275)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow(math.floor(stamina/60).." Hours", WHITE, startposx+150, startposy+275)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: STAMINA:", CORNSILK, startposx+52, startposy+290)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow('' .. timehunt, WHITE, startposx+150, startposy+290)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: BANK BALANCE:", CORNSILK, startposx+52, startposy+305)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow(balance/1000, WHITE,startposx+150, startposy+305)

setfontstyle(fontfamily, headfontsize, CORNSILK)
setfontcolor(ORANGE)
addtextshadow("> BOTING STATISTIC:", ORANGE, startposx+37, startposy+350)

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: CAVEBOT:", CORNSILK, startposx+52, startposy+370)

if getsettings("Settings/CaveBot/Enabled") == 'yes' then
setfontstyle(fontfamily, fontsize, GREEN)
setfontcolor(GREEN)
addtextshadow("ON", GREEN,startposx+200, startposy+370)
else
setfontstyle(fontfamily, fontsize, RED)
setfontcolor(RED)
addtextshadow("OFF", RED,startposx+200, startposy+370)
end

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: HEALER:", CORNSILK, startposx+52, startposy+385)

if getsettings("Settings/Healer/Enabled") == 'yes' then
setfontstyle(fontfamily, fontsize, GREEN)
setfontcolor(GREEN)
addtextshadow("ON", GREEN,startposx+200, startposy+385)
else
setfontstyle(fontfamily, fontsize, RED)
setfontcolor(RED)
addtextshadow("OFF", RED,startposx+200, startposy+385)
end

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: WALK TROUGH PLAYERS:", CORNSILK, startposx+52, startposy+400)

if getsettings("Settings/CaveBot/Pathfinding/WalkThroughPlayers") == 'yes' then
setfontstyle(fontfamily, fontsize, GREEN)
setfontcolor(GREEN)
addtextshadow("ON", GREEN,startposx+200, startposy+400)
else
setfontstyle(fontfamily, fontsize, RED)
setfontcolor(RED)
addtextshadow("OFF", RED,startposx+200, startposy+400)
end

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: LOOTING:", CORNSILK, startposx+52, startposy+415)

if getsettings("Settings/Looting/Enabled") == 'yes' then
setfontstyle(fontfamily, fontsize, GREEN)
setfontcolor(GREEN)
addtextshadow("ON", GREEN,startposx+200, startposy+415)
else
setfontstyle(fontfamily, fontsize, RED)
setfontcolor(RED)
addtextshadow("OFF", RED,startposx+200, startposy+415)
end

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: OPEN NEXT BP:", CORNSILK, startposx+52, startposy+430)

if getsettings("Settings/CaveBot/Settings/OpenNextBp") == 'yes' then
setfontstyle(fontfamily, fontsize, GREEN)
setfontcolor(GREEN)
addtextshadow("ON", GREEN,startposx+200, startposy+430)
else
setfontstyle(fontfamily, fontsize, RED)
setfontcolor(RED)
addtextshadow("OFF", RED,startposx+200, startposy+430)
end

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: AUTO MOUNT:", CORNSILK, startposx+52, startposy+445)

if getsettings("Settings/CaveBot/Settings/AutoMount") == 'yes' then
setfontstyle(fontfamily, fontsize, GREEN)
setfontcolor(GREEN)
addtextshadow("ON", GREEN,startposx+200, startposy+445)
else
setfontstyle(fontfamily, fontsize, RED)
setfontcolor(RED)
addtextshadow("OFF", RED,startposx+200, startposy+445)
end

setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: AUTO HASTE:", CORNSILK, startposx+52, startposy+460)

if getsettings("Settings/Actions/List/Hur/Enabled") == 'yes' then
setfontstyle(fontfamily, fontsize, GREEN)
setfontcolor(GREEN)
addtextshadow("ON", GREEN,startposx+200, startposy+460)
else
setfontstyle(fontfamily, fontsize, RED)
setfontcolor(RED)
addtextshadow("OFF", RED,startposx+200, startposy+460)
end
addtextshadow(cursorinfo().id, RED,startposx+200, startposy+500)</Script>
        <RefreshRate>1000</RefreshRate>
        <Enabled>yes</Enabled>
      </NEMIKS_HUD>
      <Recent-Loot>
        <Script>-- you can add more items here
local warnitems = {"royal helmet", "swamplair armor", "spellbook of mind control", "crown armor", "mercenary sword", "noble axe", "blue robe", "amber staff", "tower shield", "broken key ring", "skull staff", "jewelled backpack", "warrior helmet", "lunar staff", "mysterious voodoo skull", "wand of inferno", "hailstorm rod", "platinum amulet", "terra rod"}

-- max lines to display at once 
local maxindex = 10
local GREEN = rgbcolor(18, 255, 0)
local GOLD = rgbcolor(255, 162, 0)

-- 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

local function addtextshadow(text, xpos, ypos)
	setfontcolor(rgbcolor(1, 1, 1))
	addtext(text, xpos+1, ypos)
	addtext(text, xpos-1, ypos)
	addtext(text, xpos, ypos+1)
	addtext(text, xpos, ypos-1)
	      if colorm then
         setfontcolor(GOLD)
      else
         setfontcolor(GREEN)
      end
	addtext(text, xpos, ypos)
end

      if colorm then
         setfontcolor(GOLD)
      else
         setfontcolor(GREEN)
      end
setfontstyle("impact", 9, "gold")
      addtextshadow(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>
    </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