Professional Documents
Culture Documents
</sPlayerAttacking> <sDefaultMessage> <bPlaySound>no</bPlaySound> <bFlashClient>no</bFlashClient> <bPauseBot>no</bPauseBot> <bDisconnect>no</bDisconnect> <uSafeList></uSafeList> </sDefaultMessage> <sPrivateMessage> <bPlaySound>no</bPlaySound> <bFlashClient>no</bFlashClient> <bPauseBot>no</bPauseBot> <bDisconnect>no</bDisconnect> <uSafeList></uSafeList> </sPrivateMessage> <sGmDetected> <bPlaySound>no</bPlaySound> <bFlashClient>no</bFlashClient> <bPauseBot>no</bPauseBot> <bDisconnect>no</bDisconnect> </sGmDetected> <sDisconnected> <bPlaySound>no</bPlaySound> <bFlashClient>no</bFlashClient> <bPauseBot>no</bPauseBot> <bDisconnect>no</bDisconnect> </sDisconnected> <sCrashedFroze> <iFreezeTime>3000</iFreezeTime> <bPlaySound>no</bPlaySound> <bFlashClient>no</bFlashClient> <bPauseBot>no</bPauseBot> <bDisconnect>no</bDisconnect> </sCrashedFroze> </sAlerts> <sCavebot> <sLooting> <lItemList> <eGP> <iItemId>3031</iItemId> <tDestination>Jewelled backpack</tDestination> <rMinQuantity>0 to 0</rMinQuantity> <tOntoContainer></tOntoContainer> <cAlarmOn>No Alarm</cAlarmOn> </eGP>
<eTower-Shield> <iItemId>3428</iItemId> <tDestination>beach backpack</tDestination> <rMinQuantity>0 to 0</rMinQuantity> <tOntoContainer></tOntoContainer> <cAlarmOn>Couldn't Loot</cAlarmOn> </eTower-Shield> <edragon-scale-mail> <iItemId>3386</iItemId> <tDestination>beach backpack</tDestination> <rMinQuantity>0 to 0</rMinQuantity> <tOntoContainer></tOntoContainer> <cAlarmOn>Couldn't Loot</cAlarmOn> </edragon-scale-mail> <eroyal-helmet> <iItemId>3392</iItemId> <tDestination>beach backpack</tDestination> <rMinQuantity>0 to 0</rMinQuantity> <tOntoContainer></tOntoContainer> <cAlarmOn>Couldn't Loot</cAlarmOn> </eroyal-helmet> <eIce-Rapier> <iItemId>3284</iItemId> <tDestination>beach backpack</tDestination> <rMinQuantity>0 to 0</rMinQuantity> <tOntoContainer></tOntoContainer> <cAlarmOn>Couldn't Loot</cAlarmOn> </eIce-Rapier> <eLife-crystal> <iItemId>3061</iItemId> <tDestination>beach backpack</tDestination> <rMinQuantity>0 to 0</rMinQuantity> <tOntoContainer></tOntoContainer> <cAlarmOn>No Alarm</cAlarmOn> </eLife-crystal> <eSmall-Sapphire> <iItemId>3029</iItemId> <tDestination>beach backpack</tDestination> <rMinQuantity>0 to 0</rMinQuantity> <tOntoContainer></tOntoContainer> <cAlarmOn>No Alarm</cAlarmOn> </eSmall-Sapphire> <eShard> <iItemId>7290</iItemId> <tDestination>beach backpack</tDestination> <rMinQuantity>0 to 0</rMinQuantity> <tOntoContainer></tOntoContainer> <cAlarmOn>No Alarm</cAlarmOn> </eShard> <eDragon-Slayer> <iItemId>7402</iItemId> <tDestination>beach backpack</tDestination> <rMinQuantity>0 to 0</rMinQuantity> <tOntoContainer></tOntoContainer> <cAlarmOn>Loot Announced</cAlarmOn> </eDragon-Slayer> <eksiazka> <iItemId>8072</iItemId> <tDestination>beach backpack</tDestination> <rMinQuantity>0 to 0</rMinQuantity>
<tOntoContainer></tOntoContainer> <cAlarmOn>No Alarm</cAlarmOn> </eksiazka> <eFrosty-Heart> <iItemId>9661</iItemId> <tDestination>beach backpack</tDestination> <rMinQuantity>0 to 0</rMinQuantity> <tOntoContainer></tOntoContainer> <cAlarmOn>No Alarm</cAlarmOn> </eFrosty-Heart> </lItemList> <sOpenBodyPriority> <iPriority>70</iPriority> <iOverridePriority>0</iOverridePriority> <iExpireTime>5000</iExpireTime> <iLifeTime>5000</iLifeTime> <cEventType>Normal Event</cEventType> </sOpenBodyPriority> <sLootBodyPriority> <iPriority>50</iPriority> <iOverridePriority>0</iOverridePriority> <iExpireTime>500</iExpireTime> <iLifeTime>5000</iLifeTime> <cEventType>Normal Event</cEventType> </sLootBodyPriority> <bMoveItemsQuickly>no</bMoveItemsQuickly> <iOpenBodyTime>600</iOpenBodyTime> <cLootingCondition>Open all corpses</cLootingCondition> <cLootingPolicy>Loot after all dead</cLootingPolicy> <bLootingFlashOnAlert>yes</bLootingFlashOnAlert> <iLootingRange>10</iLootingRange> <bLootingEatFood>yes</bLootingEatFood> <bLootingEnabled>yes</bLootingEnabled> </sLooting> <lWaypoints> <wstart>Stand 32189 31425 7</wstart> <w>Stand 32187 31425 7</w> <w1>Stand 32187 31430 7</w1> <w>Stand 32173 31445 8</w> <w>Stand 32167 31445 8</w> <w>Stand 32159 31440 9</w> <w>Stand 32173 31455 9</w> <w>Rope 32173 31455 9</w> <w>Stand 32182 31457 8</w> <w>Stand 32173 31456 8</w> <w>Stand 32173 31455 8</w> <w>Stand 32167 31445 9</w> <w>Rope 32167 31445 9</w> <w>Stand 32187 31433 8</w> <w>Stand 32187 31430 8</w> <w>Action 32204 31435 7 dropitems (283)</w> <w>Action 32186 31426 7 if itemcount('strong mana potion') <=50 or $cap &l t;=150 then gotolabel('refill1')
else
gotolabel('shunt')
end</w> <w>Walk 32166 31423 7</w> <w>Walk 32167 31414 7</w> <w>Node 32183 31425 7</w> <w>Node 32180 31447 7</w> <w>Node 32158 31434 7</w> <w>Stand 32157 31432 7</w> <w>Node 32160 31436 6</w>
<w>Stand 32157 31432 6</w> <w>Action 32202 31425 7 dropitems (283)</w> <w>Node 32180 31446 7 </w> <wCheck-Mana>Action 32211 31406 6 if itemcount('strong mana potion') <=50 or $cap <=150 then gotolabel('refill1')
else
gotolabel('shunt')
e nd</wCheck-Mana> <wshunt1>Node 32194 31442 7</wshunt1> <w>Node 32198 31450 7</w> <w>Node 32208 31419 7</w> <w>Walk 32224 31422 7</w> <w>Node 32226 31431 7</w> <w>Node 32201 31442 7</w> <w>Action 33260 32437 7 dropitems (283)</w> <wmana>Action 32201 31442 7 if itemcount('strong mana potion') <=50 or $ca p <=200 then gotolabel('refill1')
else
gotolabel('shunt2')
end</w mana> <wshunt2>Stand 32192 31459 7</wshunt2> <w>Walk 32164 31462 7</w> <w>Stand 32145 31428 7</w> <w>Node 32166 31466 7</w> <w>Node 32191 31459 7</w> <w>Walk 32201 31446 7</w> <w>Walk 32198 31441 7</w> <w>Stand 32192 31445 7</w> <w>Stand 32190 31445 7</w> <w>Action 32190 31445 7 say 'exani hur up'
wait ('1500')</w> <w>Stand 32189 31441 6</w> <w>Stand 32179 31457 6</w> <w>Stand 32180 31439 6</w> <w>Stand 32177 31439 6</w> <w>Stand 32165 31442 5</w> <w>Stand 32165 31442 5</w> <w>Stand 32173 31439 5</w> <w>Stand 32187 31438 6</w> <w>Stand 32189 31437 6</w> <w>Stand 32185 31427 5</w> <w>Stand 32194 31420 5</w> <w>Stand 32202 31429 5</w> <w>Stand 32211 31427 6</w> <w>Stand 32210 31408 6</w> <w>Action 32321 32211 7 dropitems (283)</w> <w>Action 32210 31408 6 if itemcount('strong mana potion') <=50 or $cap &l t;=20 then gotolabel('refill1')
else
gotolabel('start5')
end</w> <wstart5>Stand 32207 31410 6</wstart5> <w>Stand 32193 31419 6</w> <w>Stand 32190 31421 6</w> <w>Node 32185 31433 7</w> <w>Node 32189 31427 7</w> <wmana>Action 32189 31427 7 if itemcount('strong mana potion') <=50 or $ca p <=20 then gotolabel('refill1')
else
gotolabel('start')
end</wma na> <wrefill1>Stand 32189 31425 7</wrefill1> <w>Stand 32189 31424 7</w> <w>Stand 32190 31424 7</w> <w>Stand 32189 31424 7</w> <w>Stand 32189 31421 7</w> <w>Node 32194 31419 6</w> <w>Node 32208 31409 6</w> <w>Stand 32217 31401 6</w> <w>Node 32225 31385 7</w>
<wKladka>Stand 32225 31381 7</wKladka> <wokolnirsvar>Action 32225 31381 7 setpriority(55, 0, 5000, 90000, 0)
&#x d;wait(1000,2000)
reachcreature('Buddel')
wait(1000,2000)

say(" Default", 'hi')
wait(1000,2000)
npcsay('go')
wait(1000,2000)
npc say('svargrond')
wait(1000,2000)
npcsay('yes')
wait(1000,2000)</woko lnirsvar> <w>Stand 32256 31196 7</w> <w>Action 32256 31196 7 if not islocation() then gotolabel('okolnirsvar') end </w> <w>Stand 32256 31197 7</w> <w>Node 32254 31185 7</w> <w>Node 32252 31160 7</w> <w>Node 32274 31160 7</w> <w>Stand 32290 31139 7</w> <wbuyer2>Stand 32300 31134 7</wbuyer2> <w>Action 32300 31139 7 say('hi')
wait (1500)
npcsay('deposit all')&# xd;wait (1500)
npcsay('yes')
wait (1500)
npcsay('withdraw 40000')&#x d;wait (1500)
npcsay('yes')
wait (1500)
npcsay('balance')</w> <wbuyer1>Stand 32308 31132 7</wbuyer1> <wbuyer>Action 32308 31136 7 say('hi') wait(1000,1200)
npcsay('vial') wai t(1000,1200)
npcsay('yes') wait(1000,1200)
npcsay('yes') wait(1000,1200) 
npcsay('trade') wait(1000,1200)
buyitemsupto('strong mana potion', 300) wait(500,600)
npcsay('trade') wait(1000,1200)
buyitemsupto('sudden deat h rune', 50) wait(1100,1600)</wbuyer> <w>Stand 32276 31142 7</w> <w>Action 32728 31199 5 if itemcount(237) < 300 then gotolabel('buyer2')en d</w> <w>Stand 32274 31143 7</w> <w>Stand 32271 31140 6</w> <wReopen-bp>Action 32271 31140 6 closewindows()
wait(600,1200)
openit em('backpack of holding', 'back')
wait(600,1200)
resizewindows()
ope nitem('beach backpack', 'backpack of holding', true)
wait(600,1200)
resi zewindows()
openitem('jewelled backpack', 'backpack of holding', true)
w ait(600,1200)
resizewindows()
</wReopen-bp> <w>Action 32192 31460 7 if itemcount('burst arrow') == 3 then 
gotolabel( 'Depo 1') else
gotolabel('Reopen bp')
end
</w> <wDepo-1>Stand 32271 31138 6</wDepo-1> <w>Action 32271 31138 6 reachgrounditem("depot")
wait(5000,7500)
open item("depot")
wait(1000,1500)
openitem('fur backpack', 'locker')
wai t(3000,4000)
moveitems(8072, 'fur backpack') -- 
wait(1000,1500)
mov eitems(7402, 'fur backpack') -- 
wait(1000,1500)
moveitems(7290, 'fur ba ckpack') -- 
wait(1000,1500)
moveitems(3061, 'fur backpack') -- 
w ait(1000,1500)
moveitems(3284, 'fur backpack') -- 
wait(1000,1500)
 ;moveitems(3392, 'fur backpack') -- 
wait(1000,1500)
moveitems(3386, 'f ur backpack') -- 
wait(1000,1500)
moveitems(3428, 'fur backpack') -- & #xd;wait(1000,1500)</w> <w>Action 32271 31138 6 </w> <w>Stand 32266 31142 6</w> <w>Stand 32255 31142 6</w> <w>Stand 32254 31143 6</w> <w>Stand 32253 31141 7</w> <w>Stand 32243 31143 7</w> <w>Stand 32248 31163 7</w> <w>Stand 32255 31196 7</w> <wSvarokolnir>Action 32255 31196 7 setpriority(55, 0, 5000, 90000, 0)
&#x d;wait(1000,2000)
reachcreature('Buddel')
wait(1000,2000)

say(" Default", 'hi')
wait(1000,2000)
npcsay('go')
wait(1000,2000)
npc say('okolnir')
wait(1000,2000)
npcsay('yes')
wait(1000,2000)</wSvaro kolnir> <w>Stand 32225 31382 7</w>
<w>Action 32225 31382 7 if not islocation() then gotolabel('Svarokolnir') end </w> <wOKOLNIR>Stand 32224 31382 7</wOKOLNIR> <w>Stand 32224 31387 7</w> <w>Stand 32219 31399 7</w> <w>Stand 32217 31401 7</w> <w>Node 32207 31411 6</w> <w>Stand 32192 31420 6</w> <w>Stand 32190 31421 6</w> <w>Stand 32178 31441 8</w> <w>Stand 32167 31445 8</w> <w>Stand 32161 31442 9</w> <w>Stand 32168 31449 9</w> <w>Stand 32168 31449 9</w> <w>Stand 32177 31455 6</w> <w>Stand 32177 31439 6</w> <w>Stand 32166 31444 5</w> <w>Stand 32173 31439 5</w> <w>Stand 32189 31437 6</w> <w>Stand 32185 31432 5</w> <w>Stand 32185 31432 5</w> <w>Stand 32183 31427 5</w> <w>Stand 32194 31420 5</w> <w>Stand 32202 31429 5</w> <w>Stand 32202 31429 5</w> <w>Stand 32202 31429 5</w> <w>Stand 32189 31441 6</w> </lWaypoints> <sPathfinding> <lSpecialAreas></lSpecialAreas> <bWalkThroughPlayers>yes</bWalkThroughPlayers> <cWalkingMethod>Walk with arrow keys</cWalkingMethod> <rMapWalkDistance>20 to 50</rMapWalkDistance> <iCreatureMemoryTime>20000</iCreatureMemoryTime> <zEnergyAvoidance>15, 20</zEnergyAvoidance> <zFireAvoidance>15, 20</zFireAvoidance> <zPoisonAvoidance>15, 20</zPoisonAvoidance> <uWalkableIds>140
404
831-834
883
2131-2135
2314-2316
 ;2319
2346-2385
2418-2426
2431-2434
2441-2444
2469
24712473
2478
2480-2486
2519
2523
2775-2812
2981-2985
29 87-2988
3503-3504
3514
3807
5086-5088
6114-6115
6355-636 2
6371-6372
7864
8455
8763
9061-9062
10207
10209
 ;10216
10286
10287-10288
11009</uWalkableIds> </sPathfinding> <sSettings> <cRopeToUse>Rope</cRopeToUse> <cShovelToUse>Shovel</cShovelToUse> <iNodeRange>4</iNodeRange> <cOpenNextBp>If cavebot enabled</cOpenNextBp> <cOpenBpsAtLogin>no</cOpenBpsAtLogin> <bPauseBotOnDeath>yes</bPauseBotOnDeath> <rRefillAmmoCount>0 to 0</rRefillAmmoCount> </sSettings> <sCavebotPriority> <iPriority>55</iPriority> <iOverridePriority>0</iOverridePriority> <iExpireTime>5000</iExpireTime> <iLifeTime>15000</iLifeTime> <cEventType>Normal Event</cEventType> </sCavebotPriority>
<bCavebotEnabled>yes</bCavebotEnabled> </sCavebot> <sHealer> <lHealRules> <eExura> <xHealthRange>61 to 87 %</xHealthRange> <xManaRange>1 to 100 %</xManaRange> <cHealMethod>Light Healing</cHealMethod> <cExtraCondition>No condition</cExtraCondition> <rSpamRate>200 to 400</rSpamRate> <sMethodPriority> <iPriority>80</iPriority> <iOverridePriority>65</iOverridePriority> <iExpireTime>1000</iExpireTime> <iLifeTime>3000</iLifeTime> <cEventType>Normal Event</cEventType> </sMethodPriority> </eExura> <eExura-Gran> <xHealthRange>41 to 60 %</xHealthRange> <xManaRange>1 to 100 %</xManaRange> <cHealMethod>Intense Healing</cHealMethod> <cExtraCondition>No condition</cExtraCondition> <rSpamRate>200 to 400</rSpamRate> <sMethodPriority> <iPriority>80</iPriority> <iOverridePriority>65</iOverridePriority> <iExpireTime>1000</iExpireTime> <iLifeTime>3000</iLifeTime> <cEventType>Normal Event</cEventType> </sMethodPriority> </eExura-Gran> <eExura-Vita> <xHealthRange>1 to 40 %</xHealthRange> <xManaRange>160 and above</xManaRange> <cHealMethod>Ultimate Healing</cHealMethod> <cExtraCondition>No condition</cExtraCondition> <rSpamRate>200 to 400</rSpamRate> <sMethodPriority> <iPriority>100</iPriority> <iOverridePriority>100</iOverridePriority> <iExpireTime>1000</iExpireTime> <iLifeTime>3000</iLifeTime> <cEventType>Normal Event</cEventType> </sMethodPriority> </eExura-Vita> <eExura-Paral> <xHealthRange>60 to 100 %</xHealthRange> <xManaRange>20 and above</xManaRange> <cHealMethod>Light Healing</cHealMethod> <cExtraCondition>If paralyzed</cExtraCondition> <rSpamRate>200 to 400</rSpamRate> <sMethodPriority> <iPriority>80</iPriority> <iOverridePriority>65</iOverridePriority> <iExpireTime>1000</iExpireTime> <iLifeTime>3000</iLifeTime> <cEventType>Normal Event</cEventType> </sMethodPriority> </eExura-Paral>
<eExura-Gran-Paral> <xHealthRange>40 to 59 %</xHealthRange> <xManaRange>70 and above</xManaRange> <cHealMethod>Intense Healing</cHealMethod> <cExtraCondition>If paralyzed</cExtraCondition> <rSpamRate>200 to 400</rSpamRate> <sMethodPriority> <iPriority>80</iPriority> <iOverridePriority>65</iOverridePriority> <iExpireTime>1000</iExpireTime> <iLifeTime>3000</iLifeTime> <cEventType>Normal Event</cEventType> </sMethodPriority> </eExura-Gran-Paral> <eExura-Vita-paral> <xHealthRange>0 to 39 %</xHealthRange> <xManaRange>160 and above</xManaRange> <cHealMethod>Ultimate Healing</cHealMethod> <cExtraCondition>If paralyzed</cExtraCondition> <rSpamRate>200 to 400</rSpamRate> <sMethodPriority> <iPriority>80</iPriority> <iOverridePriority>65</iOverridePriority> <iExpireTime>1000</iExpireTime> <iLifeTime>3000</iLifeTime> <cEventType>Normal Event</cEventType> </sMethodPriority> </eExura-Vita-paral> <eSMP> <xHealthRange>0 to 100 %</xHealthRange> <xManaRange>0 to 50 %</xManaRange> <cHealMethod>Strong Mana Potion</cHealMethod> <cExtraCondition>No condition</cExtraCondition> <rSpamRate>200 to 400</rSpamRate> <sMethodPriority> <iPriority>80</iPriority> <iOverridePriority>65</iOverridePriority> <iExpireTime>1000</iExpireTime> <iLifeTime>3000</iLifeTime> <cEventType>Normal Event</cEventType> </sMethodPriority> </eSMP> </lHealRules> <sManaTraining> <rManaMissing>4 to 30</rManaMissing> <cTrainSpell>Light Healing</cTrainSpell> <rSpamRate>500 to 1000</rSpamRate> <bEnabled>yes</bEnabled> <sSpellPriority> <iPriority>50</iPriority> <iOverridePriority>0</iOverridePriority> <iExpireTime>1000</iExpireTime> <iLifeTime>3000</iLifeTime> <cEventType>Normal Event</cEventType> </sSpellPriority> </sManaTraining> <sSettings> <iPingCompensation>30</iPingCompensation> </sSettings> <bHealerEnabled>yes</bHealerEnabled>
</sHealer> <sHotkeys> <lHotkeyList> <eHideUnhideSettings> <hScript>listas('dontlist')
showsettings()
wait(300)</hScript> <kMainKey>d</kMainKey> <kComboKey>ctrl</kComboKey> <cComboType>Must be pressed</cComboType> </eHideUnhideSettings> <eHideUnhideBot> <hScript>listas('dontlist')
showbot()
wait(300)</hScript> <kMainKey>u</kMainKey> <kComboKey>ctrl</kComboKey> <cComboType>Must be pressed</cComboType> </eHideUnhideBot> <ePauseHotkey> <hScript>if not $targeting or not $cavebot then
 settargeting('on ')
 setcavebot('on')
 setlooting('on')
 listas('Cavebot Resumed' )
else
 settargeting('off')
 setcavebot('off')
 setlooti ng('off')
 listas('Cavebot Paused.')
end
wait(300)</hScript> <kMainKey>pause</kMainKey> <kComboKey></kComboKey> <cComboType>Must be pressed</cComboType> </ePauseHotkey> </lHotkeyList> <lPersistentList> <eScreen-jak-Gleba> <hScript>init start
 local takess = true
init end

auto( 10) listas('Take screenshot on death')
if $hppc == 0 then
 if takess then screenshot() end
 takess = false
else
 takess = true&# xd;end </hScript> <bEnabled>yes</bEnabled> </eScreen-jak-Gleba> <eGeneralStatusSETUP> <hScript>init start
 generalStatus = {
 fontSize = 7,&#x d; font = 'Tahoma',
 fontSpace = 4,
 marging = 2,
 defaultColor = color('white'),
 titleColor = color('white'),
 space = 2,
 maxChar = 17,
 secondBlock = 115,
 showPriceLoot = true,&#x d; showPriceSupplie = true,
 showAllLoot = true,
 showAllSupplie = true,
 showMed = true,
 showStat us = true,
 bkGcolor = color(60,60,60,60)
 }

 supplies = {
 suppliesname = {'strong mana potion', 'soft boot s'},
 defineprice = {
 {name = 'soft boots', price = 10000},
 {name = 'ultimate health potion', price = 350},
 {name = 'great health potion', price = 190},
 }
 }

 loots = {
 itemlist = {'gold coin', 'wand o f inferno', 'dragon shield', 'dragon scale mail', 'dragon slayer', 'dragon lord trophy', 'red dragon scale', 'red dragon leather', 'small diamond', 'small sapph ire', 'dragonbone staff', 'fire sword', 'royal helmet', 'tower shield', "dragon' s tail", 'serpent sword', 'green dragon scale', 'green dragon leather'},
 defineprice = {
 {name = 'wand of inferno', price = 3000},
 {name = 'dragon shield', price = 4000},
 {name = 'dragon scale mail', price = 6000},
 {name = 'hibiscus dress', price = 3000},
 {name = 'lightning pendant', price = 1500},
 {name = 'shockwave amulet', price = 3000},
 {name = 'small diamond', price = 300},
{name = 'wand of starstorm', price = 3600},
 {name = 'wand of draconia', price = 1500},
 {name = 'wyrm scale', price = 400},
 {name = 'guardian shield', price = 2000},
 {name = 'wand of cosmic energy', price = 2000},
 {name = 'small amethyst', price = 200},
 {name = 'strong mana potion', price = 80},
 }
 }

 generalStatus.fontSpacing = generalStatus.fontSize+gener alStatus.fontSpace

 function additemcounter(name, amount)
 local amount = amount or 1
 local index = table.find(suppliescount, name, 'name')

 if index then
 supplies count[index].count = suppliescount[index].count+amount
 else
 ; printerror('Unable to find ' .. name .. ', please add it on supplies list!')
 end
 end
init end</hScrip t> <bEnabled>yes</bEnabled> </eGeneralStatusSETUP> <eSuppliesCounter> <hScript>--CODED BY PEDROSHOW
auto(100) dontlist()

suppliescoun t = suppliescount or {}

if #supplies.suppliesname ~= #suppliescount the n
 suppliescount = {}
 for a, b in pairs(supplies.suppliesname) do
 local itemprice = itemprice(b)
 for y=1, #supplies.defineprice d o
 if b == supplies.defineprice[y].name then
 itemprice = supplies.defineprice[y].price
 end
 end
 table.insert(suppliescount, {name = b:lower(), t otalcount = servercount(b), count = 0, price = itemprice})
 end
 table.newsort(suppliescount, 'name', 'asc')
end

for f, m in pairs(s uppliescount) do
 if servercount(m.name) ~= m.totalcount then
 m.count,m.totalcount = m.count+1,servercount(m.name)
 end
end</hSc ript> <bEnabled>yes</bEnabled> </eSuppliesCounter> <eLootCounter> <hScript>--CODED BY PEDROSHOW
auto(200) dontlist()

lootcheck = lootcheck or {}
if #loots.itemlist ~= #lootcheck then
 lootcheck = {}&# xd; for c, d in pairs(loots.itemlist) do
 local itemprice = itemvalue(d)
 for y=1, #loots.defineprice do
 if loots.defineprice[y].name == d then
 itempric e = loots.defineprice[y].price
 end
 end
 table.insert(lootcheck, {name = d:lower(), count = 0, pr ice = itemprice})
 end
 table.newsort(lootcheck, 'name', 'asc')& #xd;end

foreach newmessage m do
 if m.type == MSG_INFO and m.cont ent:sub(1,8) == 'Loot of ' then
 local content = (m.content:match ('Loot of .-: (.+)')):token(nil,', ')
 for i,j in ipairs(conten t) do
 for x=1, #lootcheck do
 if j:find(lootcheck[x].name) then
 local am ount = tonumber(j:match('(%d-) .-')) or 1
 lootcheck[x].count = lootcheck[x].count + amount
 end
 end
 end
 end
 end</hScript> <bEnabled>yes</bEnabled> </eLootCounter> <eAuto-Mount> <hScript>auto(10000)
if not $pzone and $self.mount == 0 then
 mou nt() waitping(1,5)
end</hScript> <bEnabled>yes</bEnabled> </eAuto-Mount> </lPersistentList> <lCavebotList> <esoftbootschanger>
<hScript>init start
 local softequip = {65,75} --Mana percent range t o equip soft boots, randomized
 local softunequip = {85,95} --Mana percen t range to unequip soft boots, randomized
 local softid = 6529 --Soft Boo ts ID
 local softuseid = 3549 --Soft Boots in use ID
 local wornso ftid = 6530 --Used Soft Boots ID
 local bootsid = 'boots of haste' --Boot s to be weared ID or name
 local alertifnosoft = true --true or false. Do you want it to play a sound if no softs was found?
 local soundfile = 'm onster.wav' --It is the file name
 bootsid = itemid(bootsid)
 loca l randomequip,randomunequip = math.random(table.unpack(softequip)),math.random(t able.unpack(softunequip))
init end

auto(100) listas('dontlist')
 ;if ($mppc <= randomequip or ($feet.id == wornsoftid and itemcount(softid) > 0)) and not $pzone and $feet.id ~= softuseid then
 equipitem(softid,'feet ','backpack')
 randomequip = math.random(table.unpack(softequip))
 wait(500,1000)
elseif ($mppc >= randomunequip or ($feet.id == wornsoftid an d itemcount(softid) == 0) or $pzone) and $feet.id ~= bootsid then
 equipi tem(bootsid,'feet','backpack')
 randomunequip = math.random(table.unpack( softunequip))
 wait(500,1000)
end
if $feet.id ~= softuseid and it emcount(softid) == 0 and itemcount(wornsoftid) > 0 and alertifnosoft then
 playsound(soundfile) 
end</hScript> <bEnabled>yes</bEnabled> </esoftbootschanger> <eLife-ring> <hScript>auto (200) 
equipitem('life ring', 'finger')</hScript> <bEnabled>yes</bEnabled> </eLife-ring> <eleczenie> <hScript>init start
 local lastid, lasthp = 0, 0
init end
 &# xd;auto(100)
if $targetingtarget.id ~= lastid then
 lastid,lasthp = $ targetingtarget.id,$targetingtarget.hppc
elseif $targetingtarget.hppc-lasthp <= 15 then
 lasthp = $targetingtarget.hppc
else
 settarget ing('off')
 gotolabel('refilek')
 auto(0)
end</hScript> <bEnabled>yes</bEnabled> </eleczenie> <etraped> <hScript>auto(100) if $standtime >= 60000 then playsound("monster.wav") end< /hScript> <bEnabled>yes</bEnabled> </etraped> <emf> <hScript>auto(200,1000) listas('dontlist')
if itemcount('strong mana pot ion') < 20
then playsound('defaultmessage.wav')
 listas('Low on manas')
end</hScript> <bEnabled>yes</bEnabled> </emf> <eNewCavebot> <hScript>init start
 local spells = {"exura gran mas res", "exura sio "}
init end
auto(100)
foreach newmessage m do
 if m.type == M SG_DEFAULT then
 for i,j in ipairs(spells) do
 if m.co ntent:find(j) then
 playsoundflash('monster.wav')
 break
 end
 end
 end
end</hScript> <bEnabled>yes</bEnabled> </eNewCavebot> <eAnti-Yellow-Skull-by-Wesker> <hScript>auto(200)
listas('Anti Yellow Skull')
foreach creature x "p s" do
 if paround (3) >= 1
 then
 setsetting('Cave bot/Looting/LootingEnabled', 'no', false)
 else
 setsetti ng('Cavebot/Looting/LootingEnabled', 'yes', false)
 end
end</hScript> <bEnabled>yes</bEnabled> </eAnti-Yellow-Skull-by-Wesker> <eStandtime-Alert>
<hScript>auto(100) listas('dontlist')
if $standtime > 300000 then
 playsound("monster.wav")
 listas('Standtime alert')
end </hScript> <bEnabled>yes</bEnabled> </eStandtime-Alert> </lCavebotList> <cHotkeyCondition>Client focus required</cHotkeyCondition> <sDefaultEventPriority> <iPriority>50</iPriority> <iOverridePriority>0</iOverridePriority> <iExpireTime>1000</iExpireTime> <iLifeTime>10000</iLifeTime> <cEventType>Normal Event</cEventType> </sDefaultEventPriority> </sHotkeys> <sHud> <lDisplaysList> <eGeneralInfo> <hScript>init start
 local fontsize = 8
 local fontspacing = font size+2
 local expgained
 local spells = {
 {'utito tempo san', 450},
 {'utito tempo', 290},
 {'utevo vis lux', 140},
 {'utevo res ina', 100},
 {'utevo lux', 20},
 {'utevo gran lux', 60},
 {'utani temp o hur', 100},
 {'utani hur', 60},
 {'utani gran hu r', 100},
 {'utana vid', 440},
 {'utamo vita', 50} ,
 {'utamo tempo san', 400},
 {'utamo tempo', 200} ,
 {'exura vita', 160},
 {'exura sio', 140},
 {'exura san', 210},
 {'exura gran mas res', 150},
 {'exura gran', 70},
 {'exura', 20},
 { 'exori vis', 20},
 {'exori tera', 20},
 {'exori sa n', 20},
 {'exori mort', 20},
 {'exori mas', 160}, 
 {'exori hur', 40},
 {'exori gran', 340},
 {'exori frigo', 20},
 {'exori flam', 20},
 {'exori con', 25},
 {'exori', 115},
 {'exiva', 2 0},
 {'exevo vis lux', 40},
 {'exevo vis hur', 170 },
 {'exevo tera hur', 210},
 {'exevo pan', 120},& #xd; {'exevo mas san', 160},
 {'exevo gran vis lux', 1 10},
 {'exevo gran mas vis', 650},
 {'exevo gran m as tera', 770},
 {'exevo gran mas frigo', 1200},
 {'exevo gran mas flam', 1200},
 {'exevo frigo hur', 25},
 {'exevo flam hur', 25},
 {'exevo con vis', 700},
 {'exevo con pox', 130},
 {'exevo con mort', 140},
 {'exevo con hur', 160},
 {'exevo con grav', 180},
 {'exevo con flam', 290},
 {'exevo con', 100},
 {'exeta vis', 80},
 {'exeta res', 30},
 {'e xeta con', 350},
 {'exani tera', 20},
 {'exani hur ', 50},
 {'exana pox', 30},
 {'exana mort', 65},&# xd; {'exana mas mort', 500},
 {'exana ina', 200},
 {'adura vita', 400},
 {'adura gran', 120},
 {'adori vis', 350},
 {'adori tera', 350},
 { 'adori san', 300},
 {'adori min vis', 120},
 {'ado ri mas vis', 430},
 {'adori mas tera', 430},
 {'ad ori mas frigo', 530},
 {'adori mas flam', 530},
 { 'adori gran mort', 985},
 {'adori frigo', 460},
 { 'adori flam', 460},
 {'adito tera', 200},
 {'adito grav', 120},
 {'adevo res flam', 420},
 {'adevo m as vis', 880},
 {'adevo mas pox', 520},
 {'adevo m as hur', 570},
 {'adevo mas grav vis', 1000},
 {'a devo mas grav pox', 640},
 {'adevo mas grav flam', 780},
 {'adevo mas flam', 600},
 {'adevo ina', 600},
 {'adevo grav vita', 600},
 {'adevo grav vis', 320},
{'adevo grav tera', 750},
 {'adevo grav pox', 200},
 {'adevo grav flam', 240},
 {'adeta sio', 200},
 {'adana pox', 200},
 {'adana mort', 600},
 {'adana ani', 1400},
 }
 local manaspent = 0
init en d

if not expgained then 
 expgained = $exp 
end

loc al m, did
foreach newmessage m do
 if m.sender == $name and (string.s ub(m.content,1,2) == 'ex' or string.sub(m.content,1,2) == 'ut' or string.sub(m.c ontent,1,2) == 'al' or string.sub(m.content,1,2) == 'ad') then
 for i =1, #spells do
 if string.find(m.content,spells[i][1]) == 1 then& #xd; manaspent,did = manaspent+spells[i][2],true
 break
 end
 if did then
 br eak
 end
 end
 end
end

local balan ce = balance()

function spellformula(spell)
 if spell == 'min exura' then
 spellavg = (($level*0.2)+($mlevel*1.4)+8)
 return spellavg
 end
 if spell == 'maxexura' then
 spellavg = (($level*0.2)+($mlevel*1.795)+11)
 return spellavg& #xd; end
 if spell == 'minexuragran' then
 spellavg = (($level*0.2)+($mlevel*3.184)+20)
 return spellavg
 end
 if spell == 'maxexuragran' then
 spellavg = (($le vel*0.2)+($mlevel*5.59)+35)
 return spellavg
 end
 if spell == 'minexuravita' then
 spellavg = (($level*0.2)+($mleve l*7.22)+44)
 return spellavg
 end
 if spell == 'maxexuravita' then
 spellavg = (($level*0.2)+($mlevel*12.79) +79)
 return spellavg
 end
end

-------------------------------------------------------------------

setposition($ clientwin.x+5, $clientwin.y+30)
setfontstyle("Tahoma", fontsize, 0x35C0CD)&# xd;setfontweight(75)

--PING BAR
addtext("Ping:", 0, 0)
addtext( $pingaverage, 33, 0)

--EXP BAR
addtext("XP\\h:", 92, 0)
addtext (num($exphour), 130, 0)

--EXP TO LEVEL BAR
addtext("Next:", 0, 15)& #xd;addtext(num(exptolevel()), 33, 15)

--TIME TO LEVEL BAR
addtext( "Time:", 92, 15)
addtext(time(timetolevel()), 130, 15)

--EXP GAINED BAR
addtext("XP Gained:", 0, 35)
addtext(num($exp-expgained), 65, 35)&# xd;
--MANA SPEND BAR
addtext("Mp Spent:", 0, 50)
addtext(manaspent, 65, 50)

--ID BAR
if cursorinfo() ~= nil then
 addtext("ID:", 0 , 70)
 addtext(cursorinfo().id, 30, 70)
end

--XYZ BAR
 addtext("XYZ:", 0, 85)
addtext($self.posx .. "," .. $self.posy .. "," .. $se lf.posz, 30, 85)

--SPELL RATE BAR
addtext("Exura:", 0, 105)
add text(("min " .. spellformula('minexura')), 45, 105)
addtext(("max " .. spell formula('maxexura')), 115, 105)</hScript> <rRefreshRate>200 to 200</rRefreshRate> <bEnabled>yes</bEnabled> </eGeneralInfo> <eSpellTimers> <hScript>local row = 0
local fontsize = 10
local fontspacing = fonts ize+2

setposition($clientwin.x+10, $clientwin.y+10)
setfontstyle("T ahoma", fontsize, 0)
setfontweight(75)

if $hastetime > 0 then 
 setfontcolor(0x64FF64)
 addtext("Haste: " .. timeshort($hastetime), 0, 0)
 row = 1
end

if $mshieldtime > 0 then
 setfontc olor(0x6464FF)
 addtext("MShield: " .. timeshort($mshieldtime), 0, row* fontspacing)
 row = row + 1
end

if $invistime > 0 then &# xd; setfontcolor(0xFF64FF)
 addtext("Invis: " .. timeshort($invi stime), 0, row*fontspacing)
 row = row + 1
end

if $stren ghtentime > 0 then 
 setfontcolor(0xFF4646)
 addtext("Strengh t: " .. timeshort($strenghtentime), 0, row*fontspacing)
 row = row + 1&#x d;end</hScript> <rRefreshRate>100 to 100</rRefreshRate> <bEnabled>yes</bEnabled> </eSpellTimers> <eActiveHotkeys> <hScript>local fontsize = 8
local fontspacing = fontsize+3

setf
ontstyle("Arial", fontsize, 0xE4B31B)
setfontweight(75)

local row = 0

local i = 0
while isscript("hotkey", i) do
 local listname = scriptlistname("hotkey", i)

 if listname ~= "" then
 setfontcolor(scriptlistcolor("hotkey", i))
 addtext(listname, 0, row *fontspacing)
 row = row + 1
 end
 i=i+1&#x d;end

local i = 0
while isscript("persistent", i) do
 local li stname = scriptlistname("persistent", i)

 if listname ~= "" then&# xd; setfontcolor(scriptlistcolor("persistent", i))
 addtext(listname, 0, row*fontspacing)
 row = row + 1
 end
 i=i+1
end

local i = 0
while isscript("cavebot", i) do
 local listname = scriptlistname("cavebot", i)

 if listn ame ~= "" then
 setfontcolor(scriptlistcolor("cavebot", i))
 addtext(listname, 0, row*fontspacing)
 row = row + 1
 end
 i=i+1
end

setposition($clientwin.x+5, $clientwin.y+ 200)
</hScript> <rRefreshRate>200 to 200</rRefreshRate> <bEnabled>yes</bEnabled> </eActiveHotkeys> <eRecentLoot> <hScript>init start
 local warnitems = {'fire sword', 'dragon scale m ail', 'royal helmet', 'dragon slayer', 'dragon lord trophy', 'tower shield', 'bo ots of haste', 'wand of inferno'} -- you can add more items here
 local ma xindex = 5 -- max lines to display at once

 local fontsize = 10
 local fontspacing = fontsize+3

 local index = 0
 local lo otmsgs = {}
 local lootcolors = {}
init end

setfontstyle ("Tahoma", fontsize, 0x00FF00)
setfontweight(75)

foreach newmessage m do
 if m.content:sub(0,8) == "Loot of " then
 local sh ortloot = m.content:sub(10)
 lootmsgs[index] = shortloot
 lootcolors[index] = 0x00FF00

 local i = 1
 while warnitems[i] do
 if shortloot:find(warnitems[i]) then
 lootcolors[index] = 0xFF0000
 break
 end
 i = i + 1
 end

 index = index + 1
 if index >= maxindex the n index = 0 end
 end
end

local row = 0
local i = index&# xd;local j = 0
while j < maxindex do
 if lootmsgs[i] then
 setfontcolor(lootcolors[i])
 addtext(lootmsgs[i], 0, row*font spacing)
 row = row + 1
 end

 j=j+1
 i=i+1

 if i >= maxindex then i = 0 end
end

setjustify("rig ht")
setposition($worldwin.right-5, $worldwin.bottom-3-row*fontspacing)
 </hScript> <rRefreshRate>200 to 200</rRefreshRate> <bEnabled>yes</bEnabled> </eRecentLoot> <eNewDisplay> <hScript>init start
 local mwalls = {}
 local ids = {{id = 212 8, time=20000},{id = 2129, time=20000},{id = 2130, time=45000},{id = 10181, time =20000},{id = 10182, time=45000}}

 setfontstyle('tahoma', 9, 0xF FFF00)
 setfontweight(75)
init end
auto(200) setposition($cli entwin.left,$clientwin.top)

for i=-7,7 do
 for j=-5,5 do
 local x,y,z = $posx+i,$posy+j,$posz local topid = topitem(x,y,z).id local p os = table.find(ids,topid,'id')
 if pos and not table.find(mwalls,gro und(x,y,z),'pos') then
 table.insert(mwalls,{x=x,y=y,z=z,time=ids [pos].time+$timems+200,id=topid,pos=ground(x,y,z)})
 end
 end& #xd;end
for i,j in ipairs(mwalls) do
 if j.time-$timems > 0 then
 local pos = findpixel(j.x,j.y)
 if pos and topitem(j.x,j.y,j. z).id == j.id and j.z == $posz then
 addtext(timeshort(j.time-$ti mems),pos.x-13,pos.y-6)
 end
 else
 table.remove(mw alls,i)
 end
end </hScript> <rRefreshRate>1000 to 1000</rRefreshRate> <bEnabled>yes</bEnabled>
</eNewDisplay> <ePrivate-Messages> <hScript>init start
 local othersMessages = true -- Show messages fro m other players?
 local selfMessages = false -- Show your own messages?&# xd; local showTime = true -- Display the time?
 local showNick = true -- Display sender nickname?
 local showLevel = true -- Display sender lev el?
 local selfMsgColor = 0x9F9FFE -- Your own message color. (hex)
 local othersMsgColor = 0x06FFFF -- Others message color (hex)
 local m axlength = 80 -- Max message length. 0 = no limit
 local maxindex = 5 -Max lines

 local fontsize = 10
 local fontspacing = fontsize + 3

 local rows = 0
 local privatecolors = {}
 local p rivatemsgs = {}
 for i = 1, maxindex do
 table.insert(privatem sgs, '')
 table.insert(privatecolors, '')
 end
init end&#x d;
setfontstyle('Tahoma', fontsize, 0x00FF00)
setfontweight(75)

 ;foreach newmessage privmsg do
 if (privmsg.type == 6 and othersMessages == true) or (privmsg.type == 21 and selfMessages == true) then
 local privatemsg = ''
 if showTime then
 privatemsg = os.da te('%H')..':'..os.date('%M')..' '
 end
 if showNick == tru e then
 privatemsg = privatemsg..privmsg.sender..' '
 end
 if showLevel == true then
 privatemsg = privatems g..'['..privmsg.level..']'
 end
 privatemsg = privatemsg.. ': '..privmsg.content
 if #privatemsg > maxlength + 3 and maxlength > 0 then
 privatemsg = privatemsg:sub(0,maxlength)..'...'
 end
 table.insert(privatemsgs, 1, privatemsg)
 table.r emove(privatemsgs)
 local privatecolor = selfMsgColor
 if privmsg.type == 6 and othersMessages == true then
 privatecolor = othersMsgColor
 end
 table.insert(privatecolors, 1, priva tecolor)
 table.remove(privatecolors)
 end
end

fo r i = 1, maxindex do
 if privatemsgs[i] ~= '' then
 setfontcol or(privatecolors[i])
 addtext(privatemsgs[i], 0, (maxindex-i+1)*fonts pacing)
 end
end

setjustify('left')
setposition($worldwi n.left+5, $worldwin.bottom-3-(maxindex+1)*fontspacing) </hScript> <rRefreshRate>200 to 200</rRefreshRate> <bEnabled>yes</bEnabled> </ePrivate-Messages> <eMana-Counter> <hScript>local fontsize = 10
local fontspacing = fontsize+2

set position($clientwin.x+740, $clientwin.y+10)
setfontstyle("Tahoma", fontsize, 0x58f46a)
setfontweight(75)

if itemcount(237) <= 100 then
s etfontcolor (0xFF0000)
end

addtext(itemcount(237).. " Manas" , 0, 0 )</hScript> <rRefreshRate>1000 to 1000</rRefreshRate> <bEnabled>yes</bEnabled> </eMana-Counter> <eGeneralStatus> <hScript>init start
 if $windowsxp then
 generalStatus.bk Gcolor = generalStatus.bkGcolor % 16777216
 end
 filterinput(false, t rue, false, false)
 local moving = false
 local temp,moved = {0,0} , {0,0}
 function inputevents(type, v1, v2)
 if type == IEVENT _MMOUSEDOWN then
 moving = true
 temp = {$cursor.x -moved[1],$cursor.y-moved[2]}
 end
 if type == IEVENT_MMOU SEUP then
 moving = false
 end
 end
init en d

if moving then
 auto(10)
 moved = {$cursor.x-temp[1],$c ursor.y-temp[2]}
end

--CODED BY PEDROSHOW

shapeSize = shap eSize or 0
clist = generalStatus.space

setfontweight(75)
setfil lstyle("color", generalStatus.bkGcolor)
addshape("rect", 0, 0, 207, shapeSiz e + generalStatus.marging)
setposition($clientwin.left+moved[1], $worldwin.c entery+moved[2])

setfontstyle(generalStatus.font, 5, generalStatus.titl eColor)
addtext('By Pedroshow', generalStatus.marging, generalStatus.marging )

setfontstyle(generalStatus.font, 10, generalStatus.titleColor)
ad
dtext('Items looted so far', generalStatus.marging, generalStatus.marging+12)&#x d;setfontstyle(generalStatus.font, generalStatus.fontSize, generalStatus.default Color)
clist = clist+1

for x=1, #lootcheck do
 local itemname = string.capitalizeall(lootcheck[x].name)
 if #itemname > generalStatus.max Char then
 itemname = string.match(string.sub(itemname, 1, generalS tatus.maxChar), '(.-)%s?$') .. '...'
 end

 if generalStatus .showPriceLoot then
 lootstring = num(lootcheck[x].count) .. ' (' .. math.floor((lootcheck[x].price*lootcheck[x].count)/100)/10 .. 'k)'
 else
 lootstring = num(lootcheck[x].count), generalStatus.seco ndBlock, clist*generalStatus.fontSpacing
 end

 if generalStatus .showAllLoot then
 addtext(itemname, generalStatus.marging, clist*g eneralStatus.fontSpacing)
 addtext(lootstring, generalStatus.second Block, clist*generalStatus.fontSpacing)
 clist = clist+1
 elseif lootcheck[x].count > 0 then
 addtext(itemname, generalStatus. marging, clist*generalStatus.fontSpacing)
 addtext(lootstring, gene ralStatus.secondBlock, clist*generalStatus.fontSpacing)
 clist = clist+1
 end
end
clist = clist+1

local loottotal = 0
 ;for a, b in pairs(lootcheck) do 
 loottotal = loottotal + (b.count * b.price)
end
addtext('Total: '.. num(loottotal).. ' GPs', generalStat us.marging, clist*generalStatus.fontSpacing)
clist = clist+generalStatus.spa ce

setfontstyle(generalStatus.font, 10, generalStatus.titleColor)
a ddtext('Supplies wasted so far', generalStatus.marging, clist*generalStatus.font Spacing)
setfontstyle(generalStatus.font, generalStatus.fontSize, generalSta tus.defaultColor)
clist = clist+generalStatus.space

for x=1, #suppl iescount do
 local itemname = string.capitalizeall(suppliescount[x].n ame)
 if #itemname > generalStatus.maxChar then
 itemname = string.match(string.sub(itemname, 1, generalStatus.maxChar), '(.-)%s?$') .. ' ...'
 end

 if generalStatus.showPriceSupplie then
 suppliestring = num(suppliescount[x].count) .. ' (' .. math.abs(math.floor((supp liescount[x].price*suppliescount[x].count)/100)/10) .. 'k)'
 else
 ; suppliestring = num(suppliescount[x].count)
 end
 
 if generalStatus.showAllSupplie then
 addtext(itemname , generalStatus.marging, clist*generalStatus.fontSpacing)
 addtext( suppliestring, generalStatus.secondBlock, clist*generalStatus.fontSpacing)
 clist = clist+1
 elseif suppliescount[x].count > 0 then
 addtext(itemname, generalStatus.marging, clist*generalStatus.fontSpacing)
 addtext(suppliestring, generalStatus.secondBlock, clist*generalStatus.fontSpacin g) 
 clist = clist+1
 end
end
clist = clist+1

local totalwasted = 0
for a, b in pairs(suppliescount) do&# xd; totalwasted = totalwasted + math.max(b.count * b.price, 0)
end
a ddtext('Total: '.. num(totalwasted).. ' GPs', generalStatus.marging, clist*gener alStatus.fontSpacing)
clist = clist+generalStatus.space

if generalS tatus.showStatus then
 local profit = loottotal-totalwasted

 if profit > 0 then
 text = 'PROFIT'
 colorbased = col or('green')
 else 
 text = 'WASTE'
 colorbased = color('red')
 end
 
 setfontstyle(generalStat us.font, 10, colorbased)
 if generalStatus.showMed then
 local goldh = math.floor((profit*3600)/($exptime/1000)/100)/10
 addtext(text .. ': ' .. num(profit) .. ' GPs (' .. math.abs(goldh) .. ' k/h)', g eneralStatus.marging, clist*generalStatus.fontSpacing)
 else
 addtext(text .. ': ' .. num(profit) .. ' GPs', generalStatus.marging, clist*gene ralStatus.fontSpacing)
 end
 clist = clist+1
end

 ;shapeSize = clist*generalStatus.fontSpacing</hScript> <rRefreshRate>200 to 200</rRefreshRate> <bEnabled>yes</bEnabled> </eGeneralStatus> </lDisplaysList> <cHudPolicy>Show if focused</cHudPolicy> </sHud> <sInput>
<sKeyboard> <cKeyboardMode>Simulate keyboard</cKeyboardMode> <cStuckCtrlShiftPolicy>If cavebot on, release after 1 sec</cStuckCtrlShiftPol icy> <rTypeWaitTime>20 to 45</rTypeWaitTime> <rPressWaitTime>45 to 65</rPressWaitTime> </sKeyboard> <sMouse> <cMouseMode>Simulate mouse</cMouseMode> <cScrollMode>Use mouse wheel</cScrollMode> <cStuckCursorPolicy>If cavebot on, release instantly</cStuckCursorPolicy> <cMoveSpeed>Instantaneous</cMoveSpeed> <rClickWaitTime>20 to 35</rClickWaitTime> </sMouse> <cFocusPolicy>Don't auto-focus</cFocusPolicy> <cOpenMenuPolicy>Confirm if cavebotting</cOpenMenuPolicy> </sInput> <sTargeting> <lMonsters> <eFrost-Dragon_6> <pName>Frost Dragon</pName> <pCategories></pCategories> <cCount>4+</cCount> <sSetting1> <rHpRange>0 to 100</rHpRange> <iDanger>11</iDanger> <cMonsterAttacks>Avoid Wave</cMonsterAttacks> <cDesiredStance>Keep Away</cDesiredStance> <cCustomDistance>Default</cCustomDistance> <cDesiredAttack>Attack</cDesiredAttack> <cFirstSpell>Sudden Death</cFirstSpell> <cSecondSpell>No Action</cSecondSpell> <cThirdSpell>No Action</cThirdSpell> <cFourthSpell>No Action</cFourthSpell> <rSpellRate>2000 to 3000</rSpellRate> <bSyncSpell>yes</bSyncSpell> <cAttackMode>No Change</cAttackMode> </sSetting1> <sSetting2> <rHpRange>0 to 0</rHpRange> <iDanger>0</iDanger> <cMonsterAttacks>No Avoidance</cMonsterAttacks> <cDesiredStance>No Movement</cDesiredStance> <cCustomDistance>Default</cCustomDistance> <cDesiredAttack>No Action</cDesiredAttack> <cFirstSpell>No Action</cFirstSpell> <cSecondSpell>No Action</cSecondSpell> <cThirdSpell>No Action</cThirdSpell> <cFourthSpell>No Action</cFourthSpell> <rSpellRate>2000 to 3000</rSpellRate> <bSyncSpell>no</bSyncSpell> <cAttackMode>No Change</cAttackMode> </sSetting2> <sSetting3> <rHpRange>0 to 0</rHpRange> <iDanger>0</iDanger> <cMonsterAttacks>No Avoidance</cMonsterAttacks> <cDesiredStance>No Movement</cDesiredStance> <cCustomDistance>Default</cCustomDistance> <cDesiredAttack>No Action</cDesiredAttack>
<cFirstSpell>No Action</cFirstSpell> <cSecondSpell>No Action</cSecondSpell> <cThirdSpell>No Action</cThirdSpell> <cFourthSpell>No Action</cFourthSpell> <rSpellRate>2000 to 3000</rSpellRate> <bSyncSpell>no</bSyncSpell> <cAttackMode>No Change</cAttackMode> </sSetting3> <sSetting4> <rHpRange>0 to 0</rHpRange> <iDanger>0</iDanger> <cMonsterAttacks>No Avoidance</cMonsterAttacks> <cDesiredStance>No Movement</cDesiredStance> <cCustomDistance>Default</cCustomDistance> <cDesiredAttack>No Action</cDesiredAttack> <cFirstSpell>No Action</cFirstSpell> <cSecondSpell>No Action</cSecondSpell> <cThirdSpell>No Action</cThirdSpell> <cFourthSpell>No Action</cFourthSpell> <rSpellRate>2000 to 3000</rSpellRate> <bSyncSpell>no</bSyncSpell> <cAttackMode>No Change</cAttackMode> </sSetting4> <bLootMonster>no</bLootMonster> <bMustAttackMe>no</bMustAttackMe> <bOnlyIfTrapped>no</bOnlyIfTrapped> <bPlayAlarm>no</bPlayAlarm> </eFrost-Dragon_6> <eFrost-dragon_0> <pName>Frost dragon</pName> <pCategories>b</pCategories> <cCount>Any</cCount> <sSetting1> <rHpRange>60 to 100</rHpRange> <iDanger>9</iDanger> <cMonsterAttacks>Avoid Wave</cMonsterAttacks> <cDesiredStance>Keep Away</cDesiredStance> <cCustomDistance>Default</cCustomDistance> <cDesiredAttack>Attack</cDesiredAttack> <cFirstSpell>Strong Energy Strike</cFirstSpell> <cSecondSpell>Energy Strike</cSecondSpell> <cThirdSpell>No Action</cThirdSpell> <cFourthSpell>No Action</cFourthSpell> <rSpellRate>1000 to 1000</rSpellRate> <bSyncSpell>no</bSyncSpell> <cAttackMode>No Change</cAttackMode> </sSetting1> <sSetting2> <rHpRange>61 to 20</rHpRange> <iDanger>10</iDanger> <cMonsterAttacks>Avoid Wave</cMonsterAttacks> <cDesiredStance>Keep Away</cDesiredStance> <cCustomDistance>Default</cCustomDistance> <cDesiredAttack>Attack</cDesiredAttack> <cFirstSpell>Strong Energy Strike</cFirstSpell> <cSecondSpell>Energy Strike</cSecondSpell> <cThirdSpell>No Action</cThirdSpell> <cFourthSpell>No Action</cFourthSpell> <rSpellRate>1000 to 1000</rSpellRate> <bSyncSpell>no</bSyncSpell>
<cAttackMode>No Change</cAttackMode> </sSetting2> <sSetting3> <rHpRange>19 to 0</rHpRange> <iDanger>11</iDanger> <cMonsterAttacks>Avoid Wave</cMonsterAttacks> <cDesiredStance>Approach</cDesiredStance> <cCustomDistance>Default</cCustomDistance> <cDesiredAttack>Attack</cDesiredAttack> <cFirstSpell>Energy Strike</cFirstSpell> <cSecondSpell>No Action</cSecondSpell> <cThirdSpell>No Action</cThirdSpell> <cFourthSpell>No Action</cFourthSpell> <rSpellRate>2000 to 3000</rSpellRate> <bSyncSpell>no</bSyncSpell> <cAttackMode>No Change</cAttackMode> </sSetting3> <sSetting4> <rHpRange>0 to 0</rHpRange> <iDanger>0</iDanger> <cMonsterAttacks>No Avoidance</cMonsterAttacks> <cDesiredStance>No Movement</cDesiredStance> <cCustomDistance>Default</cCustomDistance> <cDesiredAttack>No Action</cDesiredAttack> <cFirstSpell>No Action</cFirstSpell> <cSecondSpell>No Action</cSecondSpell> <cThirdSpell>No Action</cThirdSpell> <cFourthSpell>No Action</cFourthSpell> <rSpellRate>2000 to 3000</rSpellRate> <bSyncSpell>no</bSyncSpell> <cAttackMode>No Change</cAttackMode> </sSetting4> <bLootMonster>yes</bLootMonster> <bMustAttackMe>no</bMustAttackMe> <bOnlyIfTrapped>no</bOnlyIfTrapped> <bPlayAlarm>no</bPlayAlarm> </eFrost-dragon_0> <eFrost-Dragon-Hatchling_0> <pName>Frost Dragon Hatchling</pName> <pCategories></pCategories> <cCount>Any</cCount> <sSetting1> <rHpRange>60 to 100</rHpRange> <iDanger>5</iDanger> <cMonsterAttacks>Avoid Wave</cMonsterAttacks> <cDesiredStance>Keep Away</cDesiredStance> <cCustomDistance>Default</cCustomDistance> <cDesiredAttack>Attack</cDesiredAttack> <cFirstSpell>Strong Energy Strike</cFirstSpell> <cSecondSpell>Energy Strike</cSecondSpell> <cThirdSpell>No Action</cThirdSpell> <cFourthSpell>No Action</cFourthSpell> <rSpellRate>2000 to 3000</rSpellRate> <bSyncSpell>no</bSyncSpell> <cAttackMode>No Change</cAttackMode> </sSetting1> <sSetting2> <rHpRange>0 to 59</rHpRange> <iDanger>6</iDanger> <cMonsterAttacks>No Avoidance</cMonsterAttacks>
<cDesiredStance>Keep Away</cDesiredStance> <cCustomDistance>Default</cCustomDistance> <cDesiredAttack>Attack</cDesiredAttack> <cFirstSpell>Energy Strike</cFirstSpell> <cSecondSpell>No Action</cSecondSpell> <cThirdSpell>No Action</cThirdSpell> <cFourthSpell>No Action</cFourthSpell> <rSpellRate>2000 to 3000</rSpellRate> <bSyncSpell>no</bSyncSpell> <cAttackMode>No Change</cAttackMode> </sSetting2> <sSetting3> <rHpRange>0 to 0</rHpRange> <iDanger>0</iDanger> <cMonsterAttacks>No Avoidance</cMonsterAttacks> <cDesiredStance>No Movement</cDesiredStance> <cCustomDistance>Default</cCustomDistance> <cDesiredAttack>No Action</cDesiredAttack> <cFirstSpell>No Action</cFirstSpell> <cSecondSpell>No Action</cSecondSpell> <cThirdSpell>No Action</cThirdSpell> <cFourthSpell>No Action</cFourthSpell> <rSpellRate>2000 to 3000</rSpellRate> <bSyncSpell>no</bSyncSpell> <cAttackMode>No Change</cAttackMode> </sSetting3> <sSetting4> <rHpRange>0 to 0</rHpRange> <iDanger>0</iDanger> <cMonsterAttacks>No Avoidance</cMonsterAttacks> <cDesiredStance>No Movement</cDesiredStance> <cCustomDistance>Default</cCustomDistance> <cDesiredAttack>No Action</cDesiredAttack> <cFirstSpell>No Action</cFirstSpell> <cSecondSpell>No Action</cSecondSpell> <cThirdSpell>No Action</cThirdSpell> <cFourthSpell>No Action</cFourthSpell> <rSpellRate>2000 to 3000</rSpellRate> <bSyncSpell>no</bSyncSpell> <cAttackMode>No Change</cAttackMode> </sSetting4> <bLootMonster>yes</bLootMonster> <bMustAttackMe>no</bMustAttackMe> <bOnlyIfTrapped>no</bOnlyIfTrapped> <bPlayAlarm>no</bPlayAlarm> </eFrost-Dragon-Hatchling_0> </lMonsters> <sStanceOptions> <bDiagonalMovement>yes</bDiagonalMovement> <cRangeDistance>2</cRangeDistance> <iLureIntensity>30</iLureIntensity> </sStanceOptions> <sTargetSelection> <iListOrder>0</iListOrder> <iHealth>60</iHealth> <iProximity>96</iProximity> <iDanger>1</iDanger> <iRandom>0</iRandom> <iStick>0</iStick> <bMustBeReachable>yes</bMustBeReachable>
<bMustBeShootable>no</bMustBeShootable> </sTargetSelection> <sTargetingPriority> <iPriority>60</iPriority> <iOverridePriority>0</iOverridePriority> <iExpireTime>2000</iExpireTime> <iLifeTime>5000</iLifeTime> <cEventType>Normal Event</cEventType> </sTargetingPriority> <bTargetingEnabled>yes</bTargetingEnabled> </sTargeting> </sNeoSettings>