Skip to content
Outlands Hub

Razor script

Lord Glacier's Chill MINER AUTO PILOT - UO OUTLANDS RAZOR SCRIPT - v1.0 LITE

by danstock._98439 · 2482 lines
Download

Compatibility unverified

This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.

Lord Glaciers Chill MINER AUTO PILOT UO OUTLANDS RAZOR SCRIPT - version 1.0.0 - Released July 8, 2025 Compiled by Lord Glacier (aka. DanStock.) Inspired by & learned from various scripts found on: https://outlands.uorazorscripts.com/

GatheringTracking
Lord Glaciers Chill MINER AUTO PILOT - UO OUTLANDS RAZOR SCRIPT - v10 LITE.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/6535aac0-adc2-4135-94ef-ded481fe71aa for latest2# Automation by Jaseowns3## Script: Lord Glacier's Chill MINER AUTO PILOT - UO OUTLANDS RAZOR SCRIPT - v1.0 LITE4## Created by: danstock._98439#05#############################################6 7/////////8////////                      Lord Glaciers Chill MINER AUTO PILOT UO OUTLANDS RAZOR SCRIPT - version 1.0.0 - Released July 8, 20259///////10//////                      11/////                                                         Compiled by Lord Glacier (aka. DanStock.) 12////                                Inspired by & learned from various scripts found on:  https://outlands.uorazorscripts.com/ 13/// 14 15 16 17 18#    This script is a basic version of my Ultimate Harvest script!  I know many people have been wanting one for a while.  19#    For those who just want a basic mining script with auto recall and a few QOL elements included20#    This script does NOT include any offensive or defensive measures (beyond popping pouches when paralyzed and recalling)21#    It also does NOT include any AFTER RECALL support (unloading, forging, resupplying, etc.) You can trigger your own DIY RECALL SCRIPT instead!22#    Please checkout my big Harvest Script if you need more features!  GOOD LUCK OUT THERE!23 24 25 26#    Script includes:27         // AUTO RED RECALL (w/ tracking skill and non-tracking skill triggers - uses either Casting or Charged Runebook/Runetome) 28         // AUTO POUCH POP (will pop trapped pouches if paralyzed and attempt to recall) 29         // INGOT RECALL (optional - set ingot amount below) 30         // WAR MODE RECALL (optional - War Mode will trigger recall w/ brief countdown)31         // OVERHEAD MESSAGES (optional - colour coded overhead displays with multiple settings)32         // TOOL DECAY NOTICE and/or RECYCLING (optional - recyling requires 'Tool Kit' in inventory)33         // AUTOMATICALLY FORGE (optional - Locates and indicates PLAYER FORGES and always checks for NATURAL FORGES)34         // AUTOMATICALLY TRANSFER ORE TO PACK ANIMAL (optional w/ support for up to two animals) 35         // INGOT PROTECTION (optional stacking, hiding or securing in locked box)36         37         38         39# Required (or suggested *) inventory items:40 41    # Pickaxes 42    # A blessed escape runebook (charged w/ recall scrolls if no Magery skill)43    # Trapped pouches *44    # Wooden Box w/ copper key *45    # Tool Kit (for tool recycle) *46    47 48 49            50                                                                    //////////////////////////////51                                                                    //    RESET SCRIPT HERE:    //52                                                                    //////////////////////////////53 54                                        //////  SET THIS VALUE TO '1' AND RUN SCRIPT TO UNSET ALL PERMANENT SCRIPT VARIABLES:  \\\\\\55 56                                                                        @setvar! SCRIPTRESET 057 58                                    ###################  THEN RETURN 'SCRIPTRESET' TO '0' TO RESTART THE INITIAL SETUP  ###################59                                    ####  (Or you can re-target script variables individually in the 'Options' tab above the script!)  ####60 61 62 63                            64                            65    #####################################################66    ###    OPTIONAL COOLDOWNS TO ADD IN UO CLIENT:    ###67    #####################################################68 69#         Travel70#             * NOT required for script function 71 72 73                            74 75    ##########################################76    //             VARIABLES:               //77    ##########################################78 79    @setvar! EnableOverheadMessages 180        # Disable or Enable unnecessary overhead messages/texts81        # Set to '1' for ALL messages on or '2' for only important messages (or '0' for none)82 83    @setvar! EnableAutoParalyzePouch 184        # Will automatically pop trapped pouches if paralyzed85        86    @setvar! EnableToolCountdown 187        # System message countdown when pickaxe is about to break88 89    @setvar! EnableRecycleTool 090        # Will automatically recycle your pickaxe before final use91        # Requires tinker 'tool kit' in inventory92    93    @setvar! EnablePlayerForgeRadar 194    @setvar! EnableAutoSmeltPlayerForge 195    @setvar! EnableAutoSmeltNaturalForge 196 97    @setvar! EnableOreVacuum 098    @setvar! EnableOreStacker 099 100    @setvar! EnablePackAnimals 0101    @setvar! PackAnimalCount 0102        # Can be set to 1 or 2 (or 0)103        # Ore can be transfered to packy based on Ore Amount:104        @setvar! OreTransfertoPackyAmount 0105            # or Diff Weight:106        @setvar! TransfertoPackyWeightDiff 50107 108    # You can choose to set a storage bag for your Ingots:109    @setvar! EnableIngotBag 0110        # It can be a trapped pouch for security but, if so, disable opening Ingot Bag:111    @setvar! OpenIngotBag 0112        # Otherwise, this will open your Ingot Bag when stacking ingots or unloading (at home/inn/bank/etc.)113    @setvar! StackOreinIngotBag 0114        # This will stack ore inside your Ingot Bag (instead of main backpack)115    @setvar! StackIngotsinIngotBag 0116        # This will stack all the ingots on the same pixel in your Ingot Bag for additional security117        # Or you can put them in a locked box instead (recommended):118    @setvar! PutIngotsinLockedChest 0119        # Must have WOODEN BOX and matching COPPER KEY in backpack (can be crafted with 50 carpentry/50 tinkering)120 121    @setvar! EnableWeightWarningMessage 1122        @setvar! GreenWarningDiffWeight 50123        @setvar! YellowWarningDiffWeight 25124        @setvar! RedWeightLimitDiffWeight 5125            # Overhead weight warning message settings 126        127        128//////////////////////////129//     AUTO-RECALL:     //130//////////////////////////131 132    ################################133    ####    RECALL TRIGGERS:    ####134    ################################135    136        //  RED RECALL (w/ TRACKING SKILL):  //137            if skill "Tracking" >= 50138                @setvar! EnableTrackingAutoRecall 1139                @setvar! PKTrackingRange 70140                    # Range can be 50, 60 or 70 tiles (or '0' will trigger Auto Recall regardless of range)141                    # Make sure 'Ignore Houses/Ships' is checked in the Tracking skill menu!142                    # I also highly recommend setting up a Razor overhead message for tracking REDS...143                        // Doing this will display PK name and tile distance overhead (when tracked):144                        // Add overhead message w/ a trigger of 'Now tracking' and message '[ RED ALERT: {3} ]'  (hue 335)145                        // Then a second with a trigger of 'Distance to destination' and message '[ {4} TILES AWAY! ]'  (hue 253146            147        //  RED RECALL (w/ NO TRACKING SKILL):  //148            elseif skill "Tracking" < 50149                @setvar! EnablePKradar 1150                @setvar! EnableAutoRedRecall 1151            endif152                # This will work in a pinch, but is not ideal (your harvester should have tracking skill IMO)153                # PK Radar will only pikcup Reds within target distance (but it is better than nothing)154 155        //  INGOT RECALL:  //156            @setvar! EnableIngotAutoRecall 0157            @setvar! IngotRecallAmount 2500158            # Will trigger auto recall if ingot total exceeds target159            160        //  WAR MODE RECALL:  //161            @setvar! EnableWARmodeAutoRecall 0162            @setvar! EnableWarModeRecallCountdown 0163                # Will trigger auto recall if WAR MODE is activated (w/ optional brief overhead countdown)164 165            166        #####################################################167        ####  YOU CAN USE YOUR OWN RAZOR RECALL SCRIPT:  ####168        #####################################################169        170        # Enable use of your own Razor script for Auto Recall (otherwise script will prompt for a Runebook or Rune and use built-in auto recall):171 172            @setvar! EnableDIYRecallScript 0173 174            # Type the name of your own Recall Razor script here:175                createlist DIYRecallScriptList176                pushlist DIYRecallScriptList "YOUR DIY SCRIPT NAME HERE"177 178 179        #####################################################180        ####   OR USE THE BUILT-IN AUTO RECALL SCRIPT:   ####181        #####################################################182        183        // Script will use charged recall scrolls if casting is disabled184            # Casting uses RUNE or RUNEBOOK/RUNETOME (default location)185            # Scrolls uses FIRST RUNE in RUNEBOOK or FIRST RUNE in RUNETOME (set 'EnableCastRecall' to '0')186            187            @setvar! EnableCastRecall 0188 189            if EnableCastRecall = 0190                # If using scroll charges, choose to use Runebook or Runetome:191                @setvar! ChargedRunebook 1192                # or 193                @setvar! ChargedRunetome 0194            endif 195 196            if EnableCastRecall = 1197                # If casting Recall, choose to target Runebook or Rune:198                @setvar! CasttoRunebook 1199                    # or 200                @setvar! CasttoRunetome 0201                    # or 202                @setvar! CasttoRune 0203            endif 204 205            ///////////////////////////////////////////////206            //  SCRIPT ENDS UPON SUCCESSFUL AUTO RECALL  //207            ///////////////////////////////////////////////208 209 210/////////////////////211//  END OF SETUP!  //212/////////////////////213 214 215 216 217 218############   EDIT BELOW THIS LINE AT YOUR OWN RISK!   ########   EDIT BELOW THIS LINE AT YOUR OWN RISK!   ########   EDIT BELOW THIS LINE AT YOUR OWN RISK!   ########   EDIT BELOW THIS LINE AT YOUR OWN RISK!   ############219 220 221           222            223            224if not timerexists "ForgeRadar"225    createtimer "ForgeRadar"226    settimer "ForgeRadar" 3500227endif 228 229if not timerexists "OreRadar"230    createtimer "OreRadar"231    settimer "OreRadar" 3500232endif 233 234if not timerexists "IngotRadar"235    createtimer "IngotRadar"236    settimer "IngotRadar" 3500237endif238 239if not timerexists "ForgeRadar"240    createtimer "ForgeRadar"241    settimer "ForgeRadar" 3500242endif 243 244if not timerexists "ForgingTimer" 245    createtimer "ForgingTimer" 246    settimer "ForgingTimer" 3500247endif 248 249if not timerexists "SmeltingTimer" 250    createtimer "SmeltingTimer" 251    settimer "SmeltingTimer" 3500252endif 253 254if not timerexists "NaturalForgeTimer"255    createtimer "NaturalForgeTimer"256    settimer "NaturalForgeTimer" 2500257endif258 259if not timerexists "OreStackerTimer" 260    createtimer "OreStackerTimer" 261    settimer "OreStackerTimer" 60000262endif 263 264if not timerexists "StackerTimer" 265    createtimer "StackerTimer" 266    settimer "StackerTimer" 3500267endif 268 269if not timerexists "PackyFollowOne" 270    createtimer "PackyFollowOne" 271    settimer "PackyFollowOne" 30000272endif273 274if not timerexists "PackyFollowTwo" 275    createtimer "PackyFollowTwo" 276    settimer "PackyFollowTwo" 30000277endif278 279if not timerexists "PackyCheckTimer" 280    createtimer "PackyCheckTimer" 281    settimer "PackyCheckTimer" 15000282endif 283 284if not timerexists "PackySmeltTimer" 285    createtimer "PackySmeltTimer" 286    settimer "PackySmeltTimer" 3500287endif 288 289if not timerexists "PackyStorageTimer" 290    createtimer "PackyStorageTimer" 291    settimer "PackyStorageTimer" 3500292endif 293 294if not timerexists "HarvestDelay"295    createtimer "HarvestDelay"296    settimer "HarvestDelay" 5000297endif298 299if not timerexists "MinerOrganizer"300    createtimer "MinerOrganizer"301    settimer "MinerOrganizer" 30000302endif303 304if not timerexists "IngotRecallTimer" 305    createtimer "IngotRecallTimer" 306    settimer "IngotRecallTimer" 30000307endif            308 309if not timerexists "ManaTimer" 310    createtimer "ManaTimer" 311    settimer "ManaTimer" 0312endif   313 314if not timerexists "MoveTimer" 315    createtimer "MoveTimer" 316    settimer "MoveTimer" 60000317endif 318 319if not timerexists "WeightTimer" 320    createtimer "WeightTimer" 321    settimer "WeightTimer" 60000322endif   323 324if not timerexists "TravelTimer" 325    createtimer "TravelTimer" 326    settimer "TravelTimer" 60000327endif                        328            329if not dead330    if DEAD != 1331        if SCRIPTRESET = 1332            unsetvar DanStock.333            unsetvar FIRSTRUN334            unsetvar mining_runetome335            unsetvar mining_runebook336            unsetvar mining_rune337            unsetvar IngotBag338            unsetvar MyLootBag339            unsetvar MyLootChest340            unsetvar myMainPackAnimal341            unsetvar mySecondPackAnimal342            @setvar! TimeToGo 0343            clearignore 344            overhead "All permanent script variables reset!" 84345            overhead "Reset SCRIPTRESET back to 0 and restart script to prompt for new targets..." 0346            sysmsg "Make sure to set SCRIPTRESET back to 0" 253347            sysmsg "Stopping script..." 0348            stop    349        endif350 351        if not varexist DanStock.352            sysmsg "Starting script......" 0 353            wait 1500354            overhead "Lord Glacier's Mining Auto Pilot Script v1.0 LITE" 2338355            # '356            wait 500357            overhead "Released: July 8, 2025" 2234358            wait 2500359            overhead "Thank you for trying my Mining Auto Pilot script!  It appears this may be your first time running it..." 0360            wait 4000361            overhead "IMPT: Please make sure to setup all of your required VARIABLES!" 153362            wait 3000363            overhead "If you require a more from the script (ie. summons, fighting MOBs, etc), please checkout my Ultimate Harvest script instead!" 0364            wait 4500365            setvar DanStock. 1366            sysmsg "Beginning Mining Auto Pilot script setup...... " 0367            wait 1500368            sysmsg "This is best done from inside your HOME or INN ROOM!" 253369            wait 1500370        endif 371 372        if EnableDIYHomeRecallScript != 1373            if EnableTrackingAutoRecall = 1 or EnableIngotAutoRecall = 1 or EnableRecallAfterRessurection = 1374                if EnableCastRecall = 1 and CasttoRunebook = 1375                    if not varexist mining_runebook or not find mining_runebook self376                        wait 1000377                        overhead "First off, please select your Escape Runebook..." 88378                        wait 1500379                        overhead "[ SELECT RUNEBOOK... ]" 253380                        setvar mining_runebook381                        wft 500382                        while targetexists383                            wait 100384                        endwhile385                        overhead "[ RUNEBOOOK SELECTED! ]" 93386                        wait 1500387                        overhead "Script will now CAST recall to 'default' rune in RUNEBOOK upon AUTO RECALL trigger" 0388                        wait 2500389                    endif390                elseif EnableCastRecall = 1 and CasttoRunetome = 1391                    if not varexist mining_runetome or not find mining_runetome self392                        wait 1000393                        overhead "First off, please select your Escape Runetome..." 88394                        wait 1500395                        overhead "[ SELECT RUNETOME... ]" 253396                        setvar mining_runetome397                        wft 500398                        while targetexists399                            wait 100400                        endwhile401                        overhead "[ RUNETOME SELECTED! ]" 93402                        wait 1500403                        overhead "Script will now CAST recall to 'default' rune in RUNETOME upon AUTO RECALL trigger" 0404                        wait 2500405                    endif406                elseif EnableCastRecall = 1 and CasttoRune = 1407                    if not varexist mining_rune or not find mining_rune self408                        wait 1000409                        overhead "First off, please select your Escape Rune..." 88410                        wait 1500411                        overhead "[ SELECT RUNE... ]" 253412                        setvar mining_rune413                        wft 500414                        while targetexists415                            wait 100416                        endwhile417                        overhead "[ RUNE SELECTED! ]" 93418                        wait 1500419                        overhead "Script will now CAST recall to selected RUNE upon AUTO RECALL trigger" 0420                        wait 2500421                    endif422                elseif EnableCastRecall = 0 and ChargedRunebook = 1 423                    if not varexist mining_runebook or not find mining_runebook self424                        wait 1000425                        overhead "First off, please select your Escape Runebook..." 88426                        wait 1500427                        overhead "[ SELECT RUNEBOOK... ]" 253428                        setvar mining_runebook429                        wft 500430                        while targetexists431                            wait 100432                        endwhile433                        overhead "[ RUNEBOOK SELECTED! ]" 93434                        wait 1500435                        overhead "Script will now use recall SCROLL (to FIRST RUNE in RUNEBOOK) upon AUTO RECALL trigger" 0436                        wait 2500437                    endif 438                elseif EnableCastRecall = 0 and ChargedRunetome = 1 439                    if not varexist mining_runetome or not find mining_runetome self440                        wait 1000441                        overhead "First off, please select your Escape Runetome..." 88442                        wait 1500443                        overhead "[ SELECT RUNETOME... ]" 253444                        setvar mining_runetome445                        wft 500446                        while targetexists447                            wait 100448                        endwhile449                        overhead "[ RUNETOME SELECTED! ]" 93450                        wait 1500451                        overhead "Script will now use recall SCROLL (to FIRST RUNE in RUNETOME) upon AUTO RECALL trigger" 0452                        wait 2500453                    endif 454                endif455            endif456        endif457 458        if EnableIngotBag = 1459            if not varexist IngotBag460                wait 1500461                overhead "Next, choose your ingot storage bag..." 88462                wait 1500463                overhead "[ SELECT INGOT BAG... ]" 253464                setvar IngotBag465                wft 500466                while targetexists467                    wait 100468                endwhile469                overhead "[ INGOT BAG SET! ]" 93470                wait 3000471            elseif not find IngotBag self 472                wait 1000473                overhead "[ SELECT NEW INGOT BAG... ]" 253474                setvar IngotBag475                wft 500476                while targetexists477                    wait 100478                endwhile479                overhead "[ INGOT BAG SET! ]" 93480                wait 500481            endif482        endif483 484        if not varexist FIRSTRUN485            sysmsg "Verifying initial setup is complete.......... " 0486            wait 3500487            overhead "Ok, looks like you are good to go!" 0488            wait 3000489            overhead "Good luck out there and thanks again for trying my script!" 0490            overhead "                 - Dan " 0491            setvar FIRSTRUN 1492            wait 3000493            sysmsg "GLACIERS ULTIMATE MINER AUTO PILIOT SCRIPT SETUP COMPLETE!" 84494            wait 1500495            overhead "[ HAPPY MINING!! ]" 2086496            wait 3000497        endif498    endif499endif500 501while not dead502    while queued503        wait 100504    endwhile505 506    if insysmsg "Captcha successful" and EnableOverheadMessages = 1507        overhead "I guess you got the magic numbers correct??" 2086508        wait 1500509        overhead "Alright, let's hit some rocks..." 2086510        # '511        clearsysmsg512    endif513 514    if EnableAutoParalyzePouch = 1515        if paralyzed516            if EnableOverheadMessages = 1517                overhead "[  [  [ [POP] ]  ]  ]" 2117518            endif519            say "[pouch" 520            if EnableRedAlertOverhead = 1 and EnableOverheadMessages != 0521                overhead "[ !!RED ALERT!! ]" 37522            endif523            @setvar! RedTargetFound 1524            @setvar! TimeToGo 1525        endif526    endif527 528    if EnableTrackingAutoRecall = 1529        if skill "Tracking" >= 50 and not findbuff "tracking"530            while not gumpexists 4267467659531                useskill "tracking"532            endwhile533            if gumpexists 4267467659534                while not insysmsg "You will now hunt all hostile players."535                    gumpresponse 8 4267467659536                    waitforgump 4267467659 5000537                endwhile538                gumpresponse 6 4267467659539                wait 500540                clearsysmsg541            endif542            gumpclose 4267467659543            if EnableOverheadMessages = 1544                overhead "*tracking reds...*" 334545            elseif EnableOverheadMessages = 2546                overhead "[ AUTO RECALL ON! ]" 84547            endif548        endif 549 550        if PKTrackingRange = 70 551             if insysmsg ": 70 step" or insysmsg "70 space" or insysmsg ": 69 step" or insysmsg "69 space" or insysmsg ": 68 step" or insysmsg "68 space" or insysmsg ": 67 step" or insysmsg "67 space" or insysmsg ": 66 step" or insysmsg "66 space" or insysmsg ": 65 step" or insysmsg "65 space" or insysmsg ": 64 step" or insysmsg "64 space" or insysmsg ": 63 step" or insysmsg "63 space" or insysmsg ": 62 step" or insysmsg "62 space" or insysmsg ": 61 step" or insysmsg "61 space" or insysmsg ": 60 step" or insysmsg "60 space" or insysmsg ": 59 step" or insysmsg "59 space" or insysmsg ": 58 step" or insysmsg "58 space" or insysmsg ": 57 step" or insysmsg "57 space" or insysmsg ": 56 step" or insysmsg "56 space" or insysmsg ": 55 step" or insysmsg "55 space" or insysmsg ": 54 step" or insysmsg "54 space" or insysmsg ": 53 step" or insysmsg "53 space" or insysmsg ": 52 step" or insysmsg "52 space" or insysmsg ": 51 step" or insysmsg "51 space" or insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space"552                if EnableRedAlertOverhead = 1 and EnableOverheadMessages != 0553                    overhead "[ !! RED ALERT !! ]" 37554                endif 555                @setvar! RedTargetFound 1556                @setvar! TimeToGo 1557                clearsysmsg558            endif559        elseif PKTrackingRange = 60 560             if insysmsg ": 60 step" or insysmsg "60 space" or insysmsg ": 59 step" or insysmsg "59 space" or insysmsg ": 58 step" or insysmsg "58 space" or insysmsg ": 57 step" or insysmsg "57 space" or insysmsg ": 56 step" or insysmsg "56 space" or insysmsg ": 55 step" or insysmsg "55 space" or insysmsg ": 54 step" or insysmsg "54 space" or insysmsg ": 53 step" or insysmsg "53 space" or insysmsg ": 52 step" or insysmsg "52 space" or insysmsg ": 51 step" or insysmsg "51 space" or insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space"561                if EnableRedAlertOverhead = 1 and EnableOverheadMessages != 0562                    overhead "[ !! RED ALERT !! ]" 37563                endif 564                @setvar! RedTargetFound 1565                @setvar! TimeToGo 1566                clearsysmsg567            endif568        elseif PKTrackingRange = 50 569            if insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space"570                if EnableRedAlertOverhead = 1 and EnableOverheadMessages != 0571                    overhead "[ !! RED ALERT !! ]" 37572                endif 573                @setvar! RedTargetFound 1574                @setvar! TimeToGo 1575                clearsysmsg576            endif577        elseif PKTrackingRange = 0 578            if insysmsg "Now tracking"579                if EnableRedAlertOverhead = 1 and EnableOverheadMessages != 0580                    overhead "[ !! RED ALERT !! ]" 37581                endif 582                @setvar! RedTargetFound 1583                @setvar! TimeToGo 1584                clearsysmsg585            endif586        endif 587    endif588    589    if EnablePKradar = 1 and skill "Tracking" < 50590        if timer "PKRadar" > 1000591            hotkey "Next Murderer Player Target"592            wait 350593            if insysmsg "No one matching that was found"594                settimer "PKRadar" 0595                clearsysmsg596            else597                @setvar! RedTargetFound 1598                @setvar! TimeToGo 1599                @setvar! MurdererTarget lasttarget600                clearsysmsg601            endif 602        endif603    endif 604 605    if TimeToGo = 1606        if EnableAutoRedRecall = 1 and RedTargetFound = 1607            @setvar! MurdererFound 1 608            while mana < 11609                if timer "ManaTimer" > 3500 and EnableOverheadMessages != 0610                    overhead "[ MOVE!! ]" 12611                    settimer "ManaTimer" 0612                endif 613                wait 500614            endwhile615            616            if EnableOverheadMessages = 1617                overhead "[ RED ALERT!! ]" 37618            endif619            620            if EnableDIYRecallScript = 1621                @setvar! RedTargetFound 0          622                @setvar! TimeToGo 0            623                foreach RecallScript in DIYRecallScriptList624                    script RecallScript625                endfor626            else627                @setvar! RECALLTIME 1628                getlabel backpack backpacklabel629            endif 630        elseif EnableTrackingAutoRecall = 1 and RedTargetFound = 1631            @setvar! MurdererFound 1 632            while mana < 11633                if timer "ManaTimer" > 3500 and EnableOverheadMessages != 0634                    overhead "[ MOVE!! ]" 12635                    settimer "ManaTimer" 0636                endif 637                wait 500638            endwhile639            640            if EnableOverheadMessages = 1641                overhead "[ RED ALERT!! ]" 37642            endif643            644            if EnableDIYRecallScript = 1645                @setvar! RedTargetFound 0     646                @setvar! TimeToGo 0            647                foreach RecallScript in DIYRecallScriptList648                    script RecallScript649                endfor650            else651                @setvar! RECALLTIME 1652                getlabel backpack backpacklabel653            endif 654        elseif EnableWARmodeAutoRecall = 1 and AutoRecallTriggered = 1655            while mana < 11656                if timer "ManaTimer" > 3500 and EnableOverheadMessages != 0657                    overhead "*waiting for mana...*" 12658                    settimer "ManaTimer" 0659                endif  660                wait 500661            endwhile662            663            if EnableOverheadMessages = 1664                overhead "[ WAR AUTO RECALL! ]" 88665                wait 500666            endif667            668            if EnableWarModeRecallCountdown = 1669                sysmsg "Toggle PEACE MODE to cancel AUTO RECALL!" 88670                overhead "3" 77671                if not warmode 672                    if EnableOverheadMessages = 1673                        overhead "[ AUTO RECALL STOPPED... ]" 337674                    endif675                    @setvar! AutoRecallTriggered 0676                    @setvar! TimeToGo 0677                    replay678                endif 679                wait 750680                overhead "2" 44681                if not warmode 682                    if EnableOverheadMessages = 1683                        overhead "[ AUTO RECALL STOPPED... ]" 337684                    endif685                    @setvar! AutoRecallTriggered 0686                    @setvar! TimeToGo 0687                    replay688                endif 689                wait 750690                overhead "1" 33691                wait 250692            endif 693            694            if not warmode 695                if EnableOverheadMessages = 1696                    overhead "[ AUTO RECALL STOPPED... ]" 337697                endif 698                @setvar! AutoRecallTriggered 0699                @setvar! TimeToGo 0700                replay701            endif 702            703            wait 500704            705            if EnableDIYRecallScript = 1706                @setvar! AutoRecallTriggered 0            707                @setvar! TimeToGo 0708                foreach RecallScript in DIYRecallScriptList709                    script RecallScript710                endfor711            else712                @setvar! AutoRecallTriggered 0713                @setvar! TimeToGo 0714                @setvar! RECALLTIME 1715                hotkey 'Toggle Peace Only'716                getlabel backpack backpacklabel717            endif718        elseif EnableIngotAutoRecall = 1 and AutoRecallTriggered = 1719            while mana < 11720                if timer "ManaTimer" > 3500 and EnableOverheadMessages != 0721                    overhead "*waiting for mana...*" 12722                    settimer "ManaTimer" 0723                endif  724                wait 500725            endwhile726            727            if EnableOverheadMessages = 1728                overhead "[ INGOT AUTO RECALL! ]" 88729                wait 1000730            endif731            732            if EnableDIYRecallScript = 1733                @setvar! AutoRecallTriggered 0734                @setvar! TimeToGo 0735                foreach RecallScript in DIYRecallScriptList736                    script RecallScript737                endfor738            else739                @setvar! AutoRecallTriggered 0740                @setvar! TimeToGo 0741                @setvar! RECALLTIME 1742                getlabel backpack backpacklabel743            endif744        endif 745 746        if RECALLTIME = 1747            if skill 'Magery' >= 60 and EnableCastRecall = 1748            749                cast "Recall"        750                while not targetexists 751                    wait 100752                endwhile                 753                wait 500754                755                if CasttoRunebook = 1756                    wft 500757                    target mining_runebook758                    wait 500759                elseif CasttoRunetome = 1760                    wft 500761                    target mining_runetome762                    wait 500763                elseif CasttoRune = 1764                    wft 500765                    target mining_rune766                    wait 500767                endif 768                769                for 5770                wait 500771                if insysmsg "Your concentration is disturbed"772                    clearsysmsg773                    if EnableOverheadMessages != 0774                        overhead "[ INTERUPTED! ]" 153775                        wait 1500776                    endif 777                    cast "Recall"778                    779                    while not targetexists 780                        wait 100781                    endwhile 782                        783                    if CasttoRunebook = 1784                        wft 500785                        target mining_runebook786                        wait 500787                    elseif CasttoRunetome = 1788                        wft 500789                        target mining_runetome790                        wait 500791                    elseif CasttoRune = 1792                        wft 500793                        target mining_rune794                        wait 500795                    endif 796                    797                    if insysmsg "Your concentration is disturbed"798                        wait 1000799                    else 800                        break801                    endif 802                endif803                endfor804            elseif EnableCastRecall = 0 or skill 'Magery' < 60805                if ChargedRunebook = 1806                    dclick mining_runebook807                    waitforgump 1551740969 808                    gumpresponse 2809                    wait 1000     810                elseif ChargedRunetome = 1811                    dclick mining_runetome812                    waitforgump 167090027813                    gumpresponse 100814                    wait 1000  815                endif                     816                817                for 5818                wait 500819                if insysmsg "Your concentration is disturbed"820                    clearsysmsg821                    if EnableOverheadMessages != 0822                        overhead "[ INTERUPTED! ]" 153823                        wait 2500824                    endif825                    if ChargedRunebook = 1826                        dclick mining_runebook827                        waitforgump 1551740969 828                        gumpresponse 2829                        wait 1000     830                    elseif ChargedRunetome = 1831                        dclick mining_runetome832                        waitforgump 167090027833                        gumpresponse 100834                        wait 1000  835                    endif836                endif                 837                endfor838            endif839            overhead "[ SCRIPT COMPLETE! ]" 84840            @setvar! RedTargetFound 0841            @setvar! RECALLTIME 0842            @setvar! TimeToGo 0         843            stop844        endif845    endif 846        847 848    if TravelCooldownActive = 1849        clearsysmsg 850        hotkey "Use item in hand" 851        wft 1500852        hotkey "Target Self" 853        wait 500854        if insysmsg "must wait 59"855            if EnableOverheadMessages = 1856                overhead "I am tired from travelling..." 2086857                wait 1500 858                overhead "Just give me a minute to recover!" 2086859            endif 860            clearsysmsg 861            cooldown "Travel" 59000862            settimer "TravelTimer" 1000863            @setvar! TravelCooldownActive 0864            replay 865        elseif insysmsg "must wait 58"866            if EnableOverheadMessages = 1867                overhead "I am tired from travelling..." 2086868                wait 1500 869                overhead "Just give me a minute to recover!" 2086870            endif871            cooldown "Travel" 58000872            settimer "TravelTimer" 2000873            @setvar! TravelCooldownActive 0874            clearsysmsg 875            replay 876        elseif insysmsg "must wait 57"877            if EnableOverheadMessages = 1878                overhead "I am tired from travelling..." 2086879                wait 1500 880                overhead "Just give me a minute to recover!" 2086881            endif882            cooldown "Travel" 57000883            settimer "TravelTimer" 3000884            @setvar! TravelCooldownActive 0885            clearsysmsg 886            replay 887        elseif insysmsg "must wait 56"888            if EnableOverheadMessages = 1889                overhead "I am tired from travelling..." 2086890                wait 1500 891                overhead "Just give me a minute to recover!" 2086892            endif893            cooldown "Travel" 56000894            settimer "TravelTimer" 4000895            @setvar! TravelCooldownActive 0896            clearsysmsg 897            replay 898        elseif insysmsg "must wait 55"899            if EnableOverheadMessages = 1900                overhead "I am tired from travelling..." 2086901                wait 1500 902                overhead "Just give me a minute to recover!" 2086903            endif904            cooldown "Travel" 55000905            settimer "TravelTimer" 5000906            @setvar! TravelCooldownActive 0907            clearsysmsg 908            replay 909        elseif insysmsg "must wait 54"910            if EnableOverheadMessages = 1911                overhead "I am tired from travelling..." 2086912                wait 1500 913                overhead "Just give me a minute to recover!" 2086914            endif915            cooldown "Travel" 54000916            settimer "TravelTimer" 6000917            @setvar! TravelCooldownActive 0918            clearsysmsg 919            replay 920        elseif insysmsg "must wait 53"921            if EnableOverheadMessages = 1922                overhead "I am tired from travelling..." 2086923                wait 1500 924                overhead "Just give me a minute to recover!" 2086925            endif926            cooldown "Travel" 53000927            settimer "TravelTimer" 7000928            @setvar! TravelCooldownActive 0929            clearsysmsg 930            replay 931        elseif insysmsg "must wait 52"932            if EnableOverheadMessages = 1933                overhead "I am tired from travelling..." 2086934                wait 1500 935                overhead "Just give me a minute to recover!" 2086936            endif937            cooldown "Travel" 52000938            settimer "TravelTimer" 8000939            @setvar! TravelCooldownActive 0940            clearsysmsg 941            replay 942        elseif insysmsg "must wait 51"943            if EnableOverheadMessages = 1944                overhead "I am tired from travelling..." 2086945                wait 1500 946                overhead "Just give me a minute to recover!" 2086947            endif948            cooldown "Travel" 51000949            settimer "TravelTimer" 9000950            @setvar! TravelCooldownActive 0951            clearsysmsg 952            replay 953        elseif insysmsg "must wait 50"954            if EnableOverheadMessages = 1955                overhead "I am tired from travelling..." 2086956                wait 1500 957                overhead "Just give me a minute to recover!" 2086958            endif959            cooldown "Travel" 50000960            settimer "TravelTimer" 10000961            @setvar! TravelCooldownActive 0962            clearsysmsg 963            replay 964        elseif insysmsg "must wait 49"965            if EnableOverheadMessages = 1966                overhead "I am tired from travelling..." 2086967                wait 1500 968                overhead "Just give me a minute to recover!" 2086969            endif970            cooldown "Travel" 49000971            settimer "TravelTimer" 11000972            @setvar! TravelCooldownActive 0973            clearsysmsg 974            replay 975        elseif insysmsg "must wait 48"976            if EnableOverheadMessages = 1977                overhead "I am tired from travelling..." 2086978                wait 1500 979                overhead "Just give me a minute to recover!" 2086980            endif981            cooldown "Travel" 48000982            settimer "TravelTimer" 12000983            @setvar! TravelCooldownActive 0984            clearsysmsg 985            replay 986        elseif insysmsg "must wait 47"987            if EnableOverheadMessages = 1988                overhead "I am tired from travelling..." 2086989                wait 1500 990                overhead "Just give me a minute to recover!" 2086991            endif992            cooldown "Travel" 47000993            settimer "TravelTimer" 13000994            @setvar! TravelCooldownActive 0995            clearsysmsg 996            replay 997        elseif insysmsg "must wait 46"998            if EnableOverheadMessages = 1999                overhead "I am tired from travelling..." 20861000                wait 1500 1001                overhead "Just give me a minute to recover!" 20861002            endif1003            cooldown "Travel" 460001004            settimer "TravelTimer" 140001005            @setvar! TravelCooldownActive 01006            clearsysmsg 1007            replay 1008        elseif insysmsg "must wait 45"1009            if EnableOverheadMessages = 11010                overhead "I am tired from travelling..." 20861011                wait 1500 1012                overhead "Just give me a minute to recover!" 20861013            endif1014            cooldown "Travel" 450001015            settimer "TravelTimer" 150001016            @setvar! TravelCooldownActive 01017            clearsysmsg 1018            replay 1019        elseif insysmsg "must wait 44"1020            if EnableOverheadMessages = 11021                overhead "I am tired from travelling..." 20861022                wait 1500 1023                overhead "Just give me a minute to recover!" 20861024            endif1025            cooldown "Travel" 440001026            settimer "TravelTimer" 160001027            @setvar! TravelCooldownActive 01028            clearsysmsg 1029            replay 1030        elseif insysmsg "must wait 43"1031            if EnableOverheadMessages = 11032                overhead "I am tired from travelling..." 20861033                wait 1500 1034                overhead "Just give me a minute to recover!" 20861035            endif1036            cooldown "Travel" 430001037            settimer "TravelTimer" 170001038            @setvar! TravelCooldownActive 01039            clearsysmsg 1040            replay 1041        elseif insysmsg "must wait 42"1042            if EnableOverheadMessages = 11043                overhead "I am tired from travelling..." 20861044                wait 1500 1045                overhead "Just give me a minute to recover!" 20861046            endif1047            cooldown "Travel" 420001048            settimer "TravelTimer" 180001049            @setvar! TravelCooldownActive 01050            clearsysmsg 1051            replay 1052        elseif insysmsg "must wait 41"1053            if EnableOverheadMessages = 11054                overhead "I am tired from travelling..." 20861055                wait 1500 1056                overhead "Just give me a minute to recover!" 20861057            endif1058            cooldown "Travel" 410001059            settimer "TravelTimer" 190001060            @setvar! TravelCooldownActive 01061            clearsysmsg 1062            replay 1063        elseif insysmsg "must wait 40"1064            if EnableOverheadMessages = 11065                overhead "I am tired from travelling..." 20861066                wait 1500 1067                overhead "Just give me a bit to recover!" 20861068            endif1069            cooldown "Travel" 400001070            settimer "TravelTimer" 200001071            @setvar! TravelCooldownActive 01072            clearsysmsg 1073            replay 1074        elseif insysmsg "must wait 39"1075            if EnableOverheadMessages = 11076                overhead "I am tired from travelling..." 20861077                wait 1500 1078                overhead "Just give me a bit to recover!" 20861079            endif1080            cooldown "Travel" 390001081            settimer "TravelTimer" 210001082            @setvar! TravelCooldownActive 01083            clearsysmsg 1084            replay 1085        elseif insysmsg "must wait 38"1086            if EnableOverheadMessages = 11087                overhead "I am tired from travelling..." 20861088                wait 1500 1089                overhead "Just give me a bit to recover!" 20861090            endif1091            cooldown "Travel" 380001092            settimer "TravelTimer" 220001093            @setvar! TravelCooldownActive 01094            clearsysmsg 1095            replay 1096        elseif insysmsg "must wait 37"1097            if EnableOverheadMessages = 11098                overhead "I am tired from travelling..." 20861099                wait 1500 1100                overhead "Just give me a bit to recover!" 20861101            endif1102            cooldown "Travel" 370001103            settimer "TravelTimer" 230001104            @setvar! TravelCooldownActive 01105            clearsysmsg 1106            replay 1107        elseif insysmsg "must wait 36"1108            if EnableOverheadMessages = 11109                overhead "I am tired from travelling..." 20861110                wait 1500 1111                overhead "Just give me a bit to recover!" 20861112            endif1113            cooldown "Travel" 360001114            settimer "TravelTimer" 240001115            @setvar! TravelCooldownActive 01116            clearsysmsg 1117            replay                     1118        elseif insysmsg "must wait 35"1119            if EnableOverheadMessages = 11120                overhead "I am tired from travelling..." 20861121                wait 1500 1122                overhead "Just give me a bit to recover!" 20861123            endif1124            cooldown "Travel" 350001125            settimer "TravelTimer" 250001126            @setvar! TravelCooldownActive 01127            clearsysmsg 1128            replay 1129        elseif insysmsg "must wait 34"1130            if EnableOverheadMessages = 11131                overhead "I am tired from travelling..." 20861132                wait 1500 1133                overhead "Just give me a bit to recover!" 20861134            endif1135            cooldown "Travel" 340001136            settimer "TravelTimer" 260001137            @setvar! TravelCooldownActive 01138            clearsysmsg 1139            replay 1140        elseif insysmsg "must wait 33"1141            if EnableOverheadMessages = 11142                overhead "I am tired from travelling..." 20861143                wait 1500 1144                overhead "Just give me a bit to recover!" 20861145            endif1146            cooldown "Travel" 330001147            settimer "TravelTimer" 270001148            @setvar! TravelCooldownActive 01149            clearsysmsg 1150            replay 1151        elseif insysmsg "must wait 32"1152            if EnableOverheadMessages = 11153                overhead "I am tired from travelling..." 20861154                wait 1500 1155                overhead "Just give me a bit to recover!" 20861156            endif1157            cooldown "Travel" 320001158            settimer "TravelTimer" 280001159            @setvar! TravelCooldownActive 01160            clearsysmsg 1161            replay 1162        elseif insysmsg "must wait 31"1163            if EnableOverheadMessages = 11164                overhead "I am tired from travelling..." 20861165                wait 1500 1166                overhead "Just give me a bit to recover!" 20861167            endif1168            cooldown "Travel" 310001169            settimer "TravelTimer" 290001170            @setvar! TravelCooldownActive 01171            clearsysmsg 1172            replay 1173        elseif insysmsg "must wait 30"1174            if EnableOverheadMessages = 11175                overhead "I am tired from travelling..." 20861176                wait 1500 1177                overhead "Just give me a bit to recover!" 20861178            endif1179            cooldown "Travel" 300001180            settimer "TravelTimer" 300001181            @setvar! TravelCooldownActive 01182            clearsysmsg 1183            replay 1184        elseif insysmsg "must wait 29"1185            if EnableOverheadMessages = 11186                overhead "I am tired from travelling..." 20861187                wait 1500 1188                overhead "Just give me a bit to recover!" 20861189            endif1190            cooldown "Travel" 290001191            settimer "TravelTimer" 310001192            @setvar! TravelCooldownActive 01193            clearsysmsg 1194            replay 1195        elseif insysmsg "must wait 28"1196            if EnableOverheadMessages = 11197                overhead "I am tired from travelling..." 20861198                wait 1500 1199                overhead "Just give me a bit to recover!" 20861200            endif1201            cooldown "Travel" 280001202            settimer "TravelTimer" 320001203            @setvar! TravelCooldownActive 01204            clearsysmsg 1205            replay 1206        elseif insysmsg "must wait 27"1207            if EnableOverheadMessages = 11208                overhead "I am tired from travelling..." 20861209                wait 1500 1210                overhead "Just give me a bit longer to recover!" 20861211            endif1212            cooldown "Travel" 270001213            settimer "TravelTimer" 330001214            @setvar! TravelCooldownActive 01215            clearsysmsg 1216            replay 1217        elseif insysmsg "must wait 26"1218            if EnableOverheadMessages = 11219                overhead "I am tired from travelling..." 20861220                wait 1500 1221                overhead "Just give me a bit longer to recover!" 20861222            endif1223            cooldown "Travel" 260001224            settimer "TravelTimer" 340001225            @setvar! TravelCooldownActive 01226            clearsysmsg 1227            replay 1228        elseif insysmsg "must wait 25"1229            if EnableOverheadMessages = 11230                overhead "I am tired from travelling..." 20861231                wait 1500 1232                overhead "Just give me a bit longer to recover!" 20861233            endif1234            cooldown "Travel" 250001235            settimer "TravelTimer" 350001236            @setvar! TravelCooldownActive 01237            clearsysmsg 1238            replay 1239        elseif insysmsg "must wait 24"1240            if EnableOverheadMessages = 11241                overhead "I am tired from travelling..." 20861242                wait 1500 1243                overhead "Just give me a bit longer to recover!" 20861244            endif1245            cooldown "Travel" 240001246            settimer "TravelTimer" 360001247            @setvar! TravelCooldownActive 01248            clearsysmsg 1249            replay 1250        elseif insysmsg "must wait 23"1251            if EnableOverheadMessages = 11252                overhead "I am tired from travelling..." 20861253                wait 1500 1254                overhead "Just give me a bit longer to recover!" 20861255            endif1256            cooldown "Travel" 230001257            settimer "TravelTimer" 370001258            @setvar! TravelCooldownActive 01259            clearsysmsg 1260            replay 1261        elseif insysmsg "must wait 22"1262            if EnableOverheadMessages = 11263                overhead "I am tired from travelling..." 20861264                wait 1500 1265                overhead "Just give me a bit longer to recover!" 20861266            endif1267            cooldown "Travel" 220001268            settimer "TravelTimer" 380001269            @setvar! TravelCooldownActive 01270            clearsysmsg 1271            replay 1272        elseif insysmsg "must wait 21"1273            if EnableOverheadMessages = 11274                overhead "I am tired from travelling..." 20861275                wait 1500 1276                overhead "Just give me a bit longer to recover!" 20861277            endif1278            cooldown "Travel" 210001279            settimer "TravelTimer" 390001280            @setvar! TravelCooldownActive 01281            clearsysmsg 1282            replay 1283        elseif insysmsg "must wait 20"1284            if EnableOverheadMessages = 11285                overhead "I am tired from travelling..." 20861286                wait 1500 1287                overhead "Just give me a bit longer to recover!" 20861288            endif1289            cooldown "Travel" 200001290            settimer "TravelTimer" 400001291            @setvar! TravelCooldownActive 01292            clearsysmsg 1293            replay 1294        elseif insysmsg "must wait 19"1295            if EnableOverheadMessages = 11296                overhead "I am tired from travelling..." 20861297                wait 1500 1298                overhead "Just give me a bit longer to recover!" 20861299            endif1300            cooldown "Travel" 190001301            settimer "TravelTimer" 410001302            @setvar! TravelCooldownActive 01303            clearsysmsg 1304            replay 1305        elseif insysmsg "must wait 18"1306            if EnableOverheadMessages = 11307                overhead "I am tired from travelling..." 20861308                wait 1500 1309                overhead "Just give me a bit longer to recover!" 20861310            endif1311            cooldown "Travel" 180001312            settimer "TravelTimer" 420001313            @setvar! TravelCooldownActive 01314            clearsysmsg 1315            replay 1316        elseif insysmsg "must wait 17"1317            if EnableOverheadMessages = 11318                overhead "I am tired from travelling..." 20861319                wait 1500 1320                overhead "Just give me a bit longer to recover!" 20861321            endif1322            cooldown "Travel" 170001323            settimer "TravelTimer" 430001324            @setvar! TravelCooldownActive 01325            clearsysmsg 1326            replay 1327        elseif insysmsg "must wait 16"1328            if EnableOverheadMessages = 11329                overhead "I am tired from travelling..." 20861330                wait 1500 1331                overhead "Just give me a bit longer to recover!" 20861332            endif1333            cooldown "Travel" 160001334            settimer "TravelTimer" 440001335            @setvar! TravelCooldownActive 01336            clearsysmsg 1337            replay 1338        elseif insysmsg "must wait 15"1339            if EnableOverheadMessages = 11340                overhead "I am tired from travelling..." 20861341                wait 1500 1342                overhead "Just give me a bit longer to recover!" 20861343            endif1344            cooldown "Travel" 150001345            settimer "TravelTimer" 450001346            @setvar! TravelCooldownActive 01347            clearsysmsg 1348            replay 1349        elseif insysmsg "must wait 14"1350            if EnableOverheadMessages = 11351                overhead "I am tired from travelling..." 20861352                wait 1500 1353                overhead "Just give me a bit longer to recover!" 20861354            endif1355            cooldown "Travel" 140001356            settimer "TravelTimer" 460001357            @setvar! TravelCooldownActive 01358            clearsysmsg 1359            replay 1360        elseif insysmsg "must wait 13"1361            if EnableOverheadMessages = 11362                overhead "I am tired from travelling..." 20861363                wait 1500 1364                overhead "Just give me a little bit longer to recover!" 20861365            endif1366            cooldown "Travel" 130001367            settimer "TravelTimer" 470001368            @setvar! TravelCooldownActive 01369            clearsysmsg 1370            replay 1371        elseif insysmsg "must wait 12"1372            if EnableOverheadMessages = 11373                overhead "I am tired from travelling..." 20861374                wait 1500 1375                overhead "Just give me a little bit longer to recover!" 20861376            endif1377            cooldown "Travel" 120001378            settimer "TravelTimer" 480001379            @setvar! TravelCooldownActive 01380            clearsysmsg 1381            replay 1382        elseif insysmsg "must wait 11"1383            if EnableOverheadMessages = 11384                overhead "I am tired from travelling..." 20861385                wait 1500 1386                overhead "Just give me a little bit longer to recover!" 20861387            endif1388            cooldown "Travel" 110001389            settimer "TravelTimer" 490001390            @setvar! TravelCooldownActive 01391            clearsysmsg 1392            replay 1393        elseif insysmsg "must wait 10"1394            if EnableOverheadMessages = 11395                overhead "I am tired from travelling..." 20861396                wait 1500 1397                overhead "Just give me a little bit longer to recover!" 20861398            endif1399            cooldown "Travel" 100001400            settimer "TravelTimer" 500001401            @setvar! TravelCooldownActive 01402            clearsysmsg 1403            replay 1404        elseif insysmsg "must wait 9"1405            if EnableOverheadMessages = 11406                overhead "I am tired from travelling..." 20861407                wait 1500 1408                overhead "Just give me a few more seconds to recover!" 20861409            endif1410            cooldown "Travel" 90001411            settimer "TravelTimer" 510001412            @setvar! TravelCooldownActive 01413            clearsysmsg 1414            replay 1415        elseif insysmsg "must wait 8"1416            if EnableOverheadMessages = 11417                overhead "I am tired from travelling..." 20861418                wait 1500 1419                overhead "Just give me a few more seconds to recover!" 20861420            endif1421            cooldown "Travel" 80001422            settimer "TravelTimer" 820001423            @setvar! TravelCooldownActive 01424            clearsysmsg 1425            replay 1426        elseif insysmsg "must wait 7"1427            if EnableOverheadMessages = 11428                overhead "I am tired from travelling..." 20861429                wait 1500 1430                overhead "Just give me a few more seconds to recover!" 20861431            endif1432            cooldown "Travel" 70001433            settimer "TravelTimer" 530001434            @setvar! TravelCooldownActive 01435            clearsysmsg 1436            replay                     1437        elseif insysmsg "must wait 6"1438            if EnableOverheadMessages = 11439                overhead "I am tired from travelling..." 20861440                wait 1500 1441                overhead "Just give me a few more seconds to recover!" 20861442            endif1443            cooldown "Travel" 60001444            settimer "TravelTimer" 540001445            @setvar! TravelCooldownActive 01446            clearsysmsg 1447            replay 1448        elseif insysmsg "must wait 5"1449            if EnableOverheadMessages = 11450                overhead "I am tired from travelling..." 20861451                wait 1500 1452                overhead "Just give me a few more seconds to recover!" 20861453            endif1454            cooldown "Travel" 50001455            settimer "TravelTimer" 550001456            @setvar! TravelCooldownActive 01457            clearsysmsg 1458            replay 1459        elseif insysmsg "must wait 4"1460            if EnableOverheadMessages = 11461                overhead "I am tired from travelling..." 20861462                wait 1500 1463                overhead "Just give me a few more seconds to recover!" 20861464            endif1465            cooldown "Travel" 40001466            settimer "TravelTimer" 560001467            @setvar! TravelCooldownActive 01468            clearsysmsg 1469            replay 1470        elseif insysmsg "must wait 3"1471            if EnableOverheadMessages = 11472                overhead "I am tired from travelling..." 20861473                wait 1500 1474                overhead "Just give me a few more seconds to recover!" 20861475            endif1476            cooldown "Travel" 30001477            settimer "TravelTimer" 570001478            @setvar! TravelCooldownActive 01479            clearsysmsg 1480            replay 1481        elseif insysmsg "must wait 2"1482            if EnableOverheadMessages = 11483                overhead "I am tired from travelling..." 20861484                wait 1500 1485                overhead "Just give me a couple more seconds to recover!" 20861486            endif1487            cooldown "Travel" 20001488            settimer "TravelTimer" 580001489            @setvar! TravelCooldownActive 01490            clearsysmsg 1491            replay 1492        elseif insysmsg "must wait 1"1493            if EnableOverheadMessages = 11494                overhead "I am tired from travelling..." 20861495                wait 1500 1496                overhead "Just give me a second to recover!" 20861497            endif1498            cooldown "Travel" 10001499            settimer "TravelTimer" 590001500            @setvar! TravelCooldownActive 01501            clearsysmsg 1502            replay 1503        else 1504            @setvar! TravelCooldownActive 01505            clearsysmsg 1506            replay             1507        endif 1508    endif1509 1510    if timer "TravelTimer" < 600001511        if timer "RestingTimer" > 6000 and EnableOverheadMessages != 0 1512            overhead "*resting...*" 01513            settimer "RestingTimer" 01514        endif1515 1516        if insysmsg "Being perfectly rested" and EnableOverheadMessages = 11517            overhead "Leave me alone, I am tryin to rest here..." 20861518            wait 5001519            clearsysmsg 1520        endif    1521        replay1522    elseif timer "TravelTimer" > 60000 and skill "Mining" < 501523        wait 5001524        overhead "Train your mining skill to 50.0 at NPC and then restart script!" 01525        wait 25001526        overhead "[ STOPPING SCRIPT... ]" 3371527        stop1528    endif1529            1530    if timer "TravelTimer" > 600001531        if hidden1532            if EnableOverheadMessages != 01533                overhead "[ HIDDEN... ]" 61534            endif 1535            wait 10001536            sysmsg "You cannot mine while hidden!  Please unhide and try again..." 01537            wait 30001538            replay1539        endif1540 1541        if PutIngotsinLockedChest = 11542            if not findtype "wooden box" backpack or not findtype "copper key" backpack1543                if EnableOverheadMessages != 01544                    overhead "[ NO LOCKBOX FOUND! ]" 3391545                endif 1546                wait 500 1547            elseif counttype 2474 backpack > 1 or counttype 4110 backpack > 1 1548                if EnableOverheadMessages != 01549                    overhead "[ TOO MANY LOCKBOXES/KEYS! ]" 3391550                endif 1551                wait 500       1552            elseif findtype "wooden box" backpack as lockbox and findtype "copper key" backpack as key1553                getlabel lockbox lockboxLabel1554                if "items" in lockboxLabel1555                    dclick key1556                    wft 10001557                    target lockbox1558                    wait 5001559                    if EnableOverheadMessages != 01560                        overhead "[lockbox secured]" 841561                    endif 1562                endif1563            endif 1564        endif1565 1566        if EnablePlayerForgeRadar = 11567            if findtype "4017|6526|6538|6550|6562" ground -1 -1 15 as forge or findtype 0x0FB1 ground -1 -1 15 as forge and findtype "iron ore" backpack and timer "ForgeRadar" > 35001568                if EnableOverheadMessages = 11569                    overhead "[ FORGE ]" 44 forge1570                    overhead "�" 44 forge1571                elseif EnableOverheadMessages = 21572                    overhead "�" 44 forge1573                endif 1574                settimer "ForgeRadar" 01575            endif 1576        endif1577 1578        if EnableOreVacuum = 11579            if findtype "iron ore" ground -1 -1 15 as droppedore and timer "OreRadar" > 3500 1580                if EnableOverheadMessages = 11581                    overhead "[ ORE ]" 93 droppedore             1582                    overhead "�" 93 droppedore1583                elseif EnableOverheadMessages = 21584                    overhead "�" 93 droppedore1585                endif1586                settimer "OreRadar" 01587            endif1588 1589            if findtype "iron ingot%s" ground -1 -1 15 as droppedingots and timer "IngotRadar" > 3500 1590                if EnableOverheadMessages = 1  1591                    overhead "[ INGOTS ]" 69 droppedingots              1592                    overhead "�" 69 droppedingots1593                elseif EnableOverheadMessages = 21594                    overhead "�" 69 droppedingots1595                endif 1596                settimer "IngotRadar" 01597            endif1598 1599            while findtype "iron ore|iron ingot%s" ground -1 -1 2 as droppedmetal1600                clearsysmsg1601                if EnableOverheadMessages = 1 1602                    overhead "*picking up metal...*" 931603                endif 1604                hotkey "Grab Item"1605                wft 15001606                target droppedmetal1607                wait 5001608                if insysmsg "Invalid or inaccessible item"1609                    if EnableOverheadMessages = 1 1610                        overhead "I cannot get to that!" 20861611                    endif 1612                    @ignore droppedmetal1613                endif1614                if SetIngotBagtoOrganizer03 = 11615                    hotkey "Organizer Agent-03"  1616                endif 1617            endwhile1618        endif 1619 1620        if EnableIngotAutoRecall = 11621            if timer "IngotRecallTimer" > 300001622                settimer "IngotRecallTimer" 01623                @clearignore1624            endif 1625 1626            if counttype "iron ingot%s" self > IngotRecallAmount1627                if EnableOverheadMessages = 1 1628                    overhead "I would hate to lose all this hard work..." 20861629                    wait 25001630                    overhead "I am going to go unload before its too late!" 20861631                    sysmsg "Disable 'EnableIngotAutoRecall' in script variables to turn off this feature!" 01632                    wait 20001633                endif 1634                @setvar! AutoRecallTriggered 11635                @setvar! TimeToGo 11636                replay1637            endif1638        endif 1639 1640        if EnablePackAnimals = 11641            if not varexist idonthaveapacky1642                @setvar! idonthaveapacky 01643            endif 1644            1645            if dead myMainPackAnimal or not varexist myMainPackAnimal and PackAnimalCount = 11646                wait 10001647                overhead "[ SELECT YOUR MAIN PACK ANIMAL... ]" 2531648                setvar myMainPackAnimal1649                wft 5001650                while targetexists 1651                    wait 1001652                endwhile1653                overhead "[ MAIN PACKY SET! ]" 931654                wait 1500    1655            endif 1656            1657            if dead mySecondPackAnimal or not varexist mySecondPackAnimal and PackAnimalCount = 21658                wait 10001659                overhead "[ SELECT YOUR 2ND PACK ANIMAL... ]" 2531660                setvar mySecondPackAnimal1661                wft 5001662                while targetexists 1663                    wait 1001664                endwhile1665                overhead "[ TWO PACKY SET! ]" 931666                wait 1500 1667            endif 1668            1669            if not find myMainPackAnimal ground -1 -1 12 or not find mySecondPackAnimal ground -1 -1 12 and PackAnimalCount = 21670                if findtype "291|292" ground -1 -1 2 as PackAnimal1671                    if noto PackAnimal = "friend"1672                        if not find myMainPackAnimal 1673                            @setvar PackAnimal myMainPackAnimal 1674                        elseif not find mySecondPackAnimal1675                            @setvar PackAnimal mySecondPackAnimal1676                        endif1677                    else1678                        if EnableOverheadMessages = 1 1679                            overhead "Where did that damn animal go now..." 20861680                            wait 1500 1681                        endif 1682                        @setvar! idonthaveapacky 11683                    endif1684                endif1685            endif1686            1687            if timer "PackyFollowOne" > 30000 and PackAnimalCount = 11688                menu myMainPackAnimal 41689                settimer "PackyFollowOne" 01690            endif1691            1692            if timer "PackyFollowTwo" > 30000 and PackAnimalCount = 21693                menu mySecondPackAnimal 41694                settimer "PackyFollowTwo" 01695            endif 1696        endif1697        1698        if EnablePackAnimals = 1 and idonthaveapacky != 11699            if find myMainPackAnimal ground -1 -1 12       1700                if findtype "6585" backpack as oretostoreinpacky and StoreinMainPacky = 11701                    if counttype oretostoreinpacky > OreTransfertoPackyAmount and OreTransfertoPackyAmount != 0 1702                        while findtype "6585" as oretostoreinpacky backpack 1703                            lift oretostoreinpacky 600001704                            if timer "PackyStorageTimer" > 3500 and EnableOverheadMessages != 01705                                overhead "*moving ore to pack animal...*" 3491706                                settimer "PackyStorageTimer" 01707                            endif 1708                            drop myMainPackAnimal 1709                            wait 650   1710                        endwhile 1711                    elseif diffweight < TransfertoPackyWeightDiff and TransfertoPackyWeightDiff != 0 1712                        while findtype "6585" as oretostoreinpacky backpack 1713                            lift oretostoreinpacky 600001714                            if timer "PackyStorageTimer" > 3500 and EnableOverheadMessages != 01715                                overhead "*moving ore to pack animal...*" 3491716                                settimer "PackyStorageTimer" 01717                            endif 1718                            drop myMainPackAnimal 1719                            wait 650   1720                        endwhile 1721                    endif        1722                elseif findtype "6585" backpack as oretostoreinpacky and StoreinSecondPacky = 11723                    if counttype oretostoreinpacky > OreTransfertoPackyAmount and OreTransfertoPackyAmount != 0 1724                        while findtype "6585" as oretostoreinpacky backpack 1725                            lift oretostoreinpacky 600001726                            if timer "PackyStorageTimer" > 3500 and EnableOverheadMessages != 01727                                overhead "*moving ore to pack animal...*" 3491728                                settimer "PackyStorageTimer" 01729                            endif 1730                            drop mySecondPackAnimal1731                            wait 650   1732                        endwhile 1733                    elseif diffweight < TransfertoPackyWeightDiff and TransfertoPackyWeightDiff != 0 1734                        while findtype "6585" as oretostoreinpacky backpack 1735                            lift oretostoreinpacky 600001736                            if timer "PackyStorageTimer" > 3500 and EnableOverheadMessages != 0 1737                                overhead "*moving ore to pack animal...*" 3491738                                settimer "PackyStorageTimer" 01739                            endif 1740                            drop mySecondPackAnimal1741                            wait 650   1742                        endwhile 1743                    endif         1744                endif1745                1746                if timer "PackyCheckTimer" > 150001747                    getlabel myMainPackAnimal MainPackyWeight1748 1749                    if "1975/2000|1976/2000|1977/2000|1978/2000|1979/2000|1980/2000|1981/2000|1982/2000|1983/2000|1984/2000|1985/2000|1986/2000|1987/2000|1988/2000|1989/2000|1990/2000|1991/2000|1992/2000|1993/2000|1994/2000|1995/2000|1996/2000|1997/2000|1998/2000|1999/2000|2000/2000|3975/4000|3976/4000|3977/4000|3978/4000|3979/4000|3980/4000|3981/4000|3982/4000|3983/4000|3984/4000|3985/4000|3986/4000|3987/4000|3988/4000|3989/4000|3990/4000|3991/4000|3992/4000|3993/4000|3994/4000|3995/4000|3996/4000|3997/4000|3998/4000|3999/4000|4000/4000" in MainPackyWeight1750                        @setvar! StoreinMainPacky 01751                        if EnableOverheadMessages != 01752                            overhead "[ PACKY FULL! ]" 333 myMainPackAnimal1753                        endif 1754                    else 1755                        @setvar! StoreinMainPacky 11756                    endif 1757 1758                    getlabel mySecondPackAnimal SecondPackyWeight1759 1760                    if "1975/2000|1976/2000|1977/2000|1978/2000|1979/2000|1980/2000|1981/2000|1982/2000|1983/2000|1984/2000|1985/2000|1986/2000|1987/2000|1988/2000|1989/2000|1990/2000|1991/2000|1992/2000|1993/2000|1994/2000|1995/2000|1996/2000|1997/2000|1998/2000|1999/2000|2000/2000|3975/4000|3976/4000|3977/4000|3978/4000|3979/4000|3980/4000|3981/4000|3982/4000|3983/4000|3984/4000|3985/4000|3986/4000|3987/4000|3988/4000|3989/4000|3990/4000|3991/4000|3992/4000|3993/4000|3994/4000|3995/4000|3996/4000|3997/4000|3998/4000|3999/4000|4000/4000" in SecondPackyWeight1761                        @setvar! StoreinSecondPacky 01762                        if EnableOverheadMessages != 01763                            overhead "[ PACKY FULL! ]" 333 mySecondPackAnimal1764                        endif1765                    else 1766                        @setvar! StoreinSecondPacky 11767                    endif 1768                    settimer "PackyCheckTimer" 01769                endif 1770                1771                if StoreinMainPacky = 0 and PackAnimalCount = 11772                    if EnableOverheadMessages = 11773                        overhead "My packy is full! Time to find a forge..." 20861774                    elseif EnableOverheadMessages = 21775                        overhead "[ PACKY FULL!! ]" 333 myMainPackAnimal 1776                    endif1777                    wait 15001778                    @setvar! TimeToGo 11779                    replay1780                elseif StoreinMainPacky = 0 and PackAnimalCount = 21781                    @setvar! StoreinSecondPacky 11782                elseif StoreinMainPacky = 0 and StoreinSecondPacky = 0 1783                    if EnableOverheadMessages = 11784                        overhead "All my pack animals are full!" 20861785                        wait 5001786                        overhead "Time to find a forge..." 20861787                    elseif EnableOverheadMessages = 21788                        overhead "[ PACKYS FULL! ]" 337 mySecondPackAnimal 1789                    endif 1790                    wait 15001791                    @setvar! TimeToGo 11792                    replay1793                endif                  1794            else 1795                if EnableOverheadMessages = 11796                    overhead "Slow ass pack animal... come on!" 20861797                    wait 10001798                    overhead "*whistles!*" 23291799                elseif EnableOverheadMessages = 21800                    overhead "*whistles!*" 23291801                endif 1802                @setvar! idonthaveapacky 11803            endif 1804        elseif idonthaveapacky = 11805            if find myMainPackAnimal ground -1 -1 2 1806                @setvar! idonthaveapacky 01807                replay1808            endif1809        endif1810 1811        if EnableAutoSmeltPlayerForge = 11812            if findtype "forge" ground -1 -1 2 as forge or findtype 0x0FB1 ground -1 -1 2 as forge and findtype "iron ore" backpack as ore1813                while findtype "iron ore" backpack as ore 1814                    if timer "SmeltingTimer" > 3500 and EnableOverheadMessages != 01815                        overhead "*smelting ore...*" 2114 forge1816                        settimer "SmeltingTimer" 01817                    endif 1818 1819                    dclick ore1820 1821                    if timer "ForgingTimer" > 3500 and EnableOverheadMessages != 01822                        overhead "*forging ingots...*" 21171823                        settimer "ForgingTimer" 01824                    endif1825 1826                    wait 10001827                    @setvar! NeedtoSecureIngots 11828 1829                    if insysmsg "You do not see any nearby forges"1830                       settimer "NaturalForgeTimer" 01831                       @setvar! ForgeFound 01832                       break1833                    endif1834 1835                    if SetIngotBagtoOrganizer03 = 11836                        hotkey "Organizer Agent-03"  1837                        wait 5001838                    endif 1839                endwhile1840                1841                if EnablePackAnimals = 11842                    if find myMainPackAnimal ground -1 -1 21843                        getlabel myMainPackAnimal PackyLabel1844                        if "[0/2000" in PackyLabel1845                            // Do nothing1846                        elseif "[0/4000" in PackyLabel1847                            // Do nothing1848                        else1849                            dclick myMainPackAnimal 1850                            wait 5001851                            while findtype "iron ore" myMainPackAnimal as packyoretosmelt1852                                dclick packyoretosmelt1853                                if timer "PackySmeltTimer" > 3500 and EnableOverheadMessages != 0 1854                                    overhead "*smelting from pack animal...*" 2114 myMainPackAnimal 1855                                    settimer "PackySmeltTimer" 01856                                endif 1857                                wait 6501858                            endwhile1859                            @setvar! NeedtoSecureIngots 11860                        endif1861                    endif 1862                    1863                    if find mySecondPackAnimal ground -1 -1 21864                        getlabel mySecondPackAnimal TwoPackyLabel1865                        if "[0/2000|[0/4000" in TwoPackyLabel1866                            // Do nothing1867                        elseif "[0/4000" in TwoPackyLabel1868                            // Do nothing1869                        else1870                            dclick mySecondPackAnimal 1871                            wait 5001872                            while findtype "iron ore" myMainPackAnimal as twopackyoretosmelt1873                                dclick twopackyoretosmelt1874                                if timer "PackySmeltTimer" > 3500 and EnableOverheadMessages != 0 1875                                    overhead "*smelting from pack animal...*" 2114 mySecondPackAnimal 1876                                    settimer "PackySmeltTimer" 01877                                endif 1878                                wait 6501879                            endwhile1880                            @setvar! NeedtoSecureIngots 11881                        endif1882                    endif 1883                endif 1884            endif1885        endif1886 1887        if EnableAutoSmeltNaturalForge = 1 1888            if findtype "iron ore" backpack as ore and MiningActive = 01889                @setvar! ForgeFound 0            1890                if timer "NaturalForgeTimer" >= 25001891                    dclick ore1892                    wait 5001893                    if insysmsg "You do not see any nearby forges"1894                        settimer "NaturalForgeTimer" 01895                        clearsysmsg1896                    else1897                        @setvar! ForgeFound 11898                        clearsysmsg1899                        if EnableOverheadMessages = 1 1900                            overhead "*found a forge!*" 21171901                        endif 1902                    endif1903                endif1904            endif 1905            1906            if ForgeFound = 1  1907                while findtype "iron ore" backpack as ore1908                    dclick ore1909                    wait 5001910                    @setvar! NeedtoSecureIngots 11911                    if insysmsg "You do not see any nearby forges"1912                        settimer "NaturalForgeTimer" 01913                        @setvar! ForgeFound 01914                        clearsysmsg1915                        break1916                    endif1917                    if SetIngotBagtoOrganizer03 = 11918                        hotkey "Organizer Agent-03"  1919                        wait 5001920                    endif 1921                endwhile1922                1923                if EnablePackAnimals = 11924                    if find myMainPackAnimal ground -1 -1 21925                        getlabel myMainPackAnimal PackyLabel1926                        if "[0/2000" in PackyLabel1927                            // Do nothing1928                        elseif "[0/4000" in PackyLabel1929                            // Do nothing1930                        else1931                            dclick myMainPackAnimal 1932                            wait 5001933                            while findtype "iron ore" myMainPackAnimal as packyoretosmelt1934                                dclick packyoretosmelt1935                                if timer "PackySmeltTimer" > 3500 and EnableOverheadMessages != 0 1936                                    overhead "*smelting from pack animal...*" 2114 myMainPackAnimal 1937                                    settimer "PackySmeltTimer" 01938                                endif 1939                                wait 6501940                                if insysmsg "You do not see any nearby forges"1941                                    @setvar! ForgeFound 01942                                    break1943                                endif 1944                            endwhile1945                            @setvar! NeedtoSecureIngots 11946                        endif1947                    endif 1948                    1949                    if find mySecondPackAnimal ground -1 -1 21950                        getlabel mySecondPackAnimal TwoPackyLabel1951                        if "[0/2000" in TwoPackyLabel1952                            // Do nothing1953                        elseif "[0/4000" in TwoPackyLabel1954                            // Do nothing1955                        else1956                            dclick mySecondPackAnimal 1957                            wait 5001958                            while findtype "iron ore" myMainPackAnimal as twopackyoretosmelt1959                                dclick twopackyoretosmelt1960                                if timer "PackySmeltTimer" > 3500 and EnableOverheadMessages != 0 1961                                    overhead "*smelting from pack animal...*" 2114 mySecondPackAnimal 1962                                    settimer "PackySmeltTimer" 01963                                endif 1964                                wait 6501965                                if insysmsg "You do not see any nearby forges"1966                                    @setvar! ForgeFound 01967                                    break 1968                                endif1969                            endwhile1970                            @setvar! NeedtoSecureIngots 11971                        endif1972                    endif 1973                endif 1974            endif1975        endif 1976 1977        if warmode and EnableWARmodeAutoRecall = 11978            @setvar! AutoRecallTriggered 11979            @setvar! TimeToGo 11980            replay1981        endif 1982        1983        if not findtype "pickaxe" hand and findtype "pickaxe" backpack as myPickaxe1984            dclick myPickaxe1985            getlabel backpack backpacklabel1986        endif        1987 1988        if EnableWeightWarningMessage = 1 and diffweight < RedWeightLimitDiffWeight 1989            replay1990        endif 1991    1992        if findtype "pickaxe" hand as myPickaxe1993            dclick myPickaxe1994            wft 5001995            target self1996            getlabel backpack backpacklabel1997            wait 150         1998 1999            if insysmsg "world is saving"                     2000                for 502001                    wait 1002002                    if insysmsg "world save complete" 2003                        if EnableOverheadMessages = 12004                            overhead "[ SAVE COMPLETE! ]" 2532005                        endif  2006                        clearsysmsg                                 2007                    endif 2008                endfor 2009                replay 2010            elseif insysmsg "Harvesting is not allowed"2011                if EnableOverheadMessages = 1 2012                    overhead "We need to leave the safe zone..." 842013                elseif EnableOverheadMessages = 22014                    overhead "[ LEAVE TOWN! ]" 842015                endif2016                clearsysmsg 2017                wait 5000 2018                replay 2019            elseif insysmsg "You have worn out your tool" 2020                if EnableOverheadMessages = 1 2021                    overhead "Hang on, my pickaxe just broke!" 2086=2022                    wait 1500 2023                endif2024                if counttype "pickaxe" self > 0 2025                    wait 5002026                    if EnableOverheadMessages = 1 2027                        overhead "But I think I have another.. one sec..." 20862028                        wait 15002029                    endif2030                else 2031                    if EnableOverheadMessages = 1 2032                        overhead "Dammit, that is my last pickaxe.  Time to resupply!" 20862033                        wait 15002034                    endif2035                    @setvar! TimeToGo 12036                endif 2037                clearsysmsg2038                replay2039            elseif insysmsg "You have recently traveled"2040                @setvar! TravelCooldownActive 12041                replay2042            elseif insysmsg "You do not see any" or insysmsg "You cannot produce any"2043 2044                @setvar! MiningActive 02045                           2046                if EnableOverheadMessages != 02047                    if MOVE = 1                 2048                        if timer "MoveTimer" > 30002049                            @setvar! MOVE 02050                            overhead "[ KEEP MOVING... ]" 882051                            settimer "MoveTimer" 02052                            @setvar! MOVE 02053                        endif2054                    elseif MOVE = 02055                        if timer "MoveTimer" > 30002056                            overhead "[ KEEP MOVING... ]" 15902057                            settimer "MoveTimer" 02058                            @setvar! MOVE 12059                        endif2060                    else 2061                        if timer "MoveTimer" > 30002062                            overhead "[ KEEP MOVING... ]" 15902063                            settimer "MoveTimer" 02064                            @setvar! MOVE 12065                        endif2066                    endif2067                endif 2068 2069                if findtype "iron ore" backpack as oretostack and EnableOreStacker = 1 and timer "OreStackerTimer" > 600002070                    if findtype "iron ore" backpack as oretostack2071                        while findtype "iron ore" backpack as oretostack2072                            if find oretostack IngotBag2073                                @ignore oretostack2074                            else2075                                if timer "StackerTimer" > 3500 and EnableOverheadMessages = 12076                                    overhead "*stacking ore...*" 772077                                    settimer "StackerTimer" 02078                                endif 2079                                lift oretostack 99992080                                if StackOreinIngotBag = 12081                                    drop IngotBag2082                                    wait 5002083                                else 2084                                    drop backpack 100 100 02085                                    @ignore oretostack2086                                    wait 5002087                                endif2088                            endif2089                        endwhile 2090                    endif2091                    clearignore 2092                    settimer "OreStackerTimer" 02093                endif2094 2095                if timer "HarvestDelay" > 8000                    2096                    if timer "MinerOrganizer" > 300002097                        hotkey "Organizer Agent-04"2098                        settimer "MinerOrganizer" 02099                    endif2100                endif2101 2102                if PutIngotsinLockedChest = 1 and NeedtoSecureIngots = 12103                    if not findtype "wooden box" backpack or not findtype "copper key" backpack2104                        if EnableOverheadMessages != 02105                            overhead "[ NO LOCKBOX FOUND! ]" 3392106                        endif 2107                        wait 1500 2108                    elseif counttype 2474 backpack > 1 or counttype 4110 backpack > 1 2109                        if EnableOverheadMessages != 0  2110                            overhead "[ TOO MANY LOCKBOXES/KEYS! ]" 3392111                        endif 2112                        wait 1500  2113                    else 2114                        if findtype "wooden box" backpack as lockbox and findtype "copper key" backpack as key2115                            if findtype "iron ingot%s" backpack as ingotstostore                                      2116                                getlabel lockbox lockboxLabel2117                                if "items" in lockboxLabel2118                                    wait 5002119                                    if EnableOverheadMessages = 12120                                        overhead "*securing ingots...*" 1492121                                    endif 2122                                    while findtype "iron ingot%s" backpack as ingotstostore2123                                        if find ingotstostore lockbox2124                                            @ignore ingotstostore2125                                        else 2126                                            clearsysmsg 2127                                            lift ingotstostore 99992128                                            wait 150 2129                                            drop lockbox -1 -1 -12130                                            wait 2502131                                        endif2132                                    endwhile 2133                                    dclick key2134                                    wft 15002135                                    target lockbox2136                                    if EnableOverheadMessages != 02137                                        overhead "[ingot box locked]" 692138                                    endif 2139                                    @setvar! NeedtoSecureIngots 0                                            2140                                else 2141                                    if EnableOverheadMessages != 02142                                        overhead "[ingot box unlocked]" 842143                                    endif 2144                                    dclick key2145                                    wft 15002146                                    target lockbox2147                                    if EnableOverheadMessages = 12148                                        overhead "*securing ingots...*" 1492149                                    endif 2150                                    while findtype "iron ingot%s" backpack as ingotstostore2151                                        if find ingotstostore lockbox2152                                            @ignore ingotstostore2153                                        else 2154                                            clearsysmsg 2155                                            lift ingotstostore 99992156                                            wait 1502157                                            drop lockbox -1 -1 -12158                                            wait 2502159                                        endif2160                                    endwhile 2161                                    dclick key2162                                    wft 15002163                                    target lockbox2164                                    if EnableOverheadMessages != 0 2165                                        overhead "[ingot box locked]" 692166                                    endif 2167                                    @setvar! NeedtoSecureIngots 02168                                endif 2169                            endif                                         2170                            wait 150 2171                            getlabel lockbox lockboxLabel                                        2172                            if "items" in lockboxLabel2173                                dclick key2174                                wft 15002175                                target lockbox2176                                @setvar! NeedtoSecureIngots 02177                            endif2178                        endif2179                    endif 2180                elseif StackIngotsinIngotBag = 12181                    while findtype "iron ingot%s" backpack as metaltomove2182                        if find IngotBag self2183                            if OpenIngotBag = 12184                                dclick IngotBag2185                                wait 2502186                            endif2187                            wait 5002188                            if EnableOverheadMessages = 12189                                overhead "*stacking ingots...*" 20862190                            endif2191                            lift metaltomove 99992192                            drop IngotBag 1 1 02193                            wait 5002194                            @ignore metaltomove2195                        elseif EnableOverheadMessages != 02196                            overhead "[ NO INGOT BAG! ]" 3372197                        endif                                    2198                    endwhile2199                endif            2200                replay2201            else2202                @setvar! MiningActive 12203                getlabel backpack backpacklabel2204            endif2205        endif 2206 2207        while MiningActive = 1            2208            if targetexists 2209                target self2210            endif 2211 2212            if diffweight < RedWeightLimitDiffWeight2213                replay2214            endif 2215           2216            if findtype "pickaxe" hand as myPickaxe2217                dclick myPickaxe2218                wft 5002219                target self2220                getlabel backpack backpacklabel2221            endif2222 2223            if warmode and EnableWARmodeAutoRecall = 12224                @setvar! AutoRecallTriggered 12225                @setvar! TimeToGo 12226                replay2227            endif2228 2229            if diffhits > 252230                replay2231            endif2232 2233            if EnableTrackingAutoRecall = 12234                if PKTrackingRange = 70 2235                    if insysmsg ": 70 step" or insysmsg "70 space" or insysmsg ": 69 step" or insysmsg "69 space" or insysmsg ": 68 step" or insysmsg "68 space" or insysmsg ": 67 step" or insysmsg "67 space" or insysmsg ": 66 step" or insysmsg "66 space" or insysmsg ": 65 step" or insysmsg "65 space" or insysmsg ": 64 step" or insysmsg "64 space" or insysmsg ": 63 step" or insysmsg "63 space" or insysmsg ": 62 step" or insysmsg "62 space" or insysmsg ": 61 step" or insysmsg "61 space" or insysmsg ": 60 step" or insysmsg "60 space" or insysmsg ": 59 step" or insysmsg "59 space" or insysmsg ": 58 step" or insysmsg "58 space" or insysmsg ": 57 step" or insysmsg "57 space" or insysmsg ": 56 step" or insysmsg "56 space" or insysmsg ": 55 step" or insysmsg "55 space" or insysmsg ": 54 step" or insysmsg "54 space" or insysmsg ": 53 step" or insysmsg "53 space" or insysmsg ": 52 step" or insysmsg "52 space" or insysmsg ": 51 step" or insysmsg "51 space" or insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space"2236                        @setvar! TimeToGo 12237                        @setvar! RedTargetFound 12238                        replay2239                    endif2240                elseif PKTrackingRange = 60 2241                     if insysmsg ": 60 step" or insysmsg "60 space" or insysmsg ": 59 step" or insysmsg "59 space" or insysmsg ": 58 step" or insysmsg "58 space" or insysmsg ": 57 step" or insysmsg "57 space" or insysmsg ": 56 step" or insysmsg "56 space" or insysmsg ": 55 step" or insysmsg "55 space" or insysmsg ": 54 step" or insysmsg "54 space" or insysmsg ": 53 step" or insysmsg "53 space" or insysmsg ": 52 step" or insysmsg "52 space" or insysmsg ": 51 step" or insysmsg "51 space" or insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space"2242                        @setvar! TimeToGo 12243                        @setvar! RedTargetFound 12244                        replay2245                    endif2246                elseif PKTrackingRange = 50 2247                    if insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space"2248                        @setvar! TimeToGo 12249                        @setvar! RedTargetFound 12250                        replay2251                    endif2252                elseif PKTrackingRange = 0 2253                    if insysmsg "Now tracking"2254                        @setvar! TimeToGo 12255                        @setvar! RedTargetFound 12256                        replay2257                    endif2258                endif 2259            endif2260 2261            if EnablePKradar = 1 and skill "Tracking" < 502262                if timer "PKRadar" > 10002263                    hotkey "Next Murderer Player Target"2264                    wait 5002265                    if insysmsg "No one matching that was found"2266                        settimer "PKRadar" 02267                    else2268                        @setvar! RedTargetFound 12269                        @setvar! TimeToGo 12270                        @setvar! MurdererTarget lasttarget2271                        clearsysmsg2272                        replay 2273                    endif 2274                endif2275            endif               2276 2277            if EnableWeightWarningMessage = 1 2278                if diffweight < GreenWarningDiffWeight and diffweight > YellowWarningDiffWeight and timer "WeightTimer" > 5000 and EnableOverheadMessages != 02279                    overhead "[ WEIGHT WARNING... ]" 772280                    settimer "WeightTimer" 02281                elseif diffweight < YellowWarningDiffWeight and diffweight > RedWeightLimitDiffWeight and timer "WeightTimer" > 5000 and EnableOverheadMessages != 02282                    overhead "[ TIME TO FORGE! ]" 1532283                    settimer "WeightTimer" 02284                elseif diffweight < RedWeightLimitDiffWeight and timer "WeightTimer" > 50002285                    overhead "[ WEIGHT LIMIT REACHED! ]" 372286                    settimer "WeightTimer" 02287                    wait 15002288                    overhead "Find a forge in order to continue..." 02289                    replay2290                endif 2291            endif 2292        2293            if EnablePlayerForgeRadar = 12294                if findtype "4017|6526|6538|6550|6562" ground -1 -1 15 as forge or findtype 0x0FB1 ground -1 -1 15 as forge and findtype "iron ore" backpack and timer "ForgeRadar" > 35002295                    overhead "�" 44 forge2296                    settimer "ForgeRadar" 02297                endif 2298            endif2299     2300            if EnableOreVacuum = 12301                if findtype "iron ore" ground -1 -1 15 as droppedore and timer "OreRadar" > 3500            2302                    overhead "�" 93 droppedore2303                    settimer "OreRadar" 02304                endif2305                if findtype "iron ingot%s" ground -1 -1 15 as droppedingots and timer "IngotRadar" > 3500                2306                    overhead "�" 69 droppedingots2307                    settimer "IngotRadar" 02308                endif2309            endif 2310 2311            if EnableToolCountdown = 12312                if findtype "pickaxe" hand as MyAxe2313                    getlabel MyAxe AxeLabel2314                    if "(5 uses|(4 uses|(3 uses|2 uses|1 use" in AxeLabel2315                        if EnableRecycleTool = 02316                            sysmsg "YOUR TOOL IS ABOUT TO BREAK....." 1532317                        elseif EnableRecycleTool = 12318                            sysmsg "YOUR TOOL IS ABOUT TO BE RECYCLED....." 932319                        endif 2320                    endif 2321                endif 2322            endif2323 2324            if EnableRecycleTool = 12325                if findtype "tool kit" self as ToolKit2326                    if findtype "pickaxe" hand as MyAxe2327                        getlabel MyAxe AxeLabel2328                        if "(3 use|(2 use" in AxeLabel2329                            replay2330                        endif2331                    endif2332                endif 2333            endif2334 2335            if EnableOverheadMessages != 02336                if insysmsg "world is saving" 2337                    for 502338                        wait 1002339                        if insysmsg "world save complete" 2340                            wait 1002341                            if EnableOverheadMessages = 12342                                overhead "[ SAVE COMPLETE! ]" 253 2343                            endif 2344                            clearsysmsg 2345                            break2346                        endif 2347                    endfor 2348                    clearsysmsg2349                elseif insysmsg "You loosen some rocks"2350                    overhead "*you fail to harvest anything...*" 3372351                    clearsysmsg 2352                elseif insysmsg "You dig some iron ore" 2353                    if insysmsg "Harvest double yield"2354                        overhead "*you double harvest iron ore*" 1900                       2355                    else 2356                        overhead "*you harvest iron ore*" 19002357                    endif2358                    clearsysmsg2359                elseif insysmsg "You dig some dull copper ore" 2360                    if insysmsg "Harvest double yield"2361                        overhead "*you double harvest dullcopper ore*" 2419                       2362                    else 2363                        overhead "*you harvest dullcopper ore*" 24192364                    endif2365                    clearsysmsg     2366                elseif insysmsg "You dig some shadow iron ore" 2367                    if insysmsg "Harvest double yield"2368                        overhead "*you double harvest shadowiron ore*" 2406                       2369                    else 2370                        overhead "*you harvest shadowiron ore*" 24062371                    endif2372                    clearsysmsg     2373                elseif insysmsg "You dig some copper ore" 2374                    if insysmsg "Harvest double yield"2375                        overhead "*you double harvest copper ore*" 2413                       2376                    else 2377                        overhead "*you harvest copper ore*" 24132378                    endif2379                    clearsysmsg  2380                elseif insysmsg "You dig some bronze ore" 2381                    if insysmsg "Harvest double yield"2382                        overhead "*you double harvest bronze ore*" 2418                       2383                    else 2384                        overhead "*you harvest bronze ore*" 24182385                    endif2386                    clearsysmsg2387                elseif insysmsg "You dig some golden ore" 2388                    if insysmsg "Harvest double yield"2389                        overhead "*you double harvest golden ore!*" 2213                       2390                    else 2391                        overhead "*you harvest golden ore*" 22132392                    endif2393                    clearsysmsg2394                elseif insysmsg "You dig some agapite ore" 2395                    if insysmsg "Harvest double yield"2396                        overhead "*you double harvest agapite ore!*" 2425                       2397                    else 2398                        overhead "*you harvest agapite ore*" 24252399                    endif2400                    clearsysmsg2401                elseif insysmsg "You dig some verite ore" 2402                    if insysmsg "Harvest double yield"2403                        overhead "*you double harvest verite ore!!*" 2207                       2404                    else 2405                        overhead "*you harvest verite ore!*" 22072406                    endif2407                    clearsysmsg2408                elseif insysmsg "You dig some valorite ore" 2409                    if insysmsg "Harvest double yield"2410                        overhead "*you double harvest valorite ore!!*" 2219                       2411                    else 2412                        overhead "*you harvest valorite ore!*" 22192413                    endif2414                    clearsysmsg2415                elseif insysmsg "You dig some avarite ore" 2416                    if insysmsg "Harvest double yield"2417                        overhead "*you double harvest avarite ore!!!*" 1763     2418                        if EnableOverheadMessages = 1 2419                            overhead "Woot! Woot!!" 2086 2420                        endif                 2421                    else 2422                        overhead "*you harvest avarite ore!!*" 17632423                        if EnableOverheadMessages = 1 2424                            overhead "Woot!" 20862425                        endif 2426                    endif2427                    clearsysmsg2428                endif 2429            endif 2430            2431            if insysmsg "You have recently traveled"2432                @setvar! TravelCooldownActive 12433                replay2434            elseif insysmsg "You have worn out your tool" 2435                if EnableOverheadMessages = 1 2436                    overhead "Hang on, my pickaxe just broke!" 20862437                    wait 1500 2438                endif2439                clearsysmsg2440                if counttype "pickaxe" self > 02441                    wait 10002442                    if EnableOverheadMessages = 1 2443                        overhead "But I think I have another.. one sec..." 20862444                        wait 15002445                    endif 2446                else2447                    if EnableOverheadMessages = 1  2448                        overhead "Dammit, thats my last pickaxe.  Time to resupply!" 20862449                    endif 2450                    @setvar! TimeToGo 12451                    wait 15002452                endif 2453                replay    2454            elseif insysmsg "You do not see any" or insysmsg "You cannot produce any"2455                settimer "HarvestDelay" 02456                2457                if EnableOverheadMessages != 0 2458                    overhead "[ TIME TO MOVE ]" 692459                endif 2460                2461                @setvar! MiningActive 02462                replay2463            endif2464 2465            if not findtype "pickaxe" hand and findtype "pickaxe" backpack as myPickaxe2466                dclick myPickaxe2467                getlabel backpack backpacklabel2468            endif2469        endwhile2470    endif2471endwhile2472replay            2473 2474 2475////////////////2476//  THE END!  //2477////////////////   2478 2479 2480 2481 2482