Skip to content
Outlands Hub

Razor script

Auto Chiv Dexxer/Tamer

by Hayes · 262 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.

Auto Dexxer Tamer Script

TamingCombat
Auto Chiv DexxerTamer.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/77aa5a06-04a2-4ab0-8bc9-1b39cd493670 for latest2# Automation by Jaseowns3## Script: Auto Chiv Dexxer/Tamer4## Created by: Hayes#32965#############################################6 7# Auto Dexxer Tamer Script 8 9//Set this to 1 if you have a tanking pet or are grouping with another player to crossheal10//Set this to 2 to auto heal any nearby mobile in friends list ##WIP##11@setvar hasCrossHealTarget 012 13if hasCrossHealTarget == 114    overhead "Target your crosshealing buddy or tank"15    setvar 'crossHealTarget'16endif17 18if not findbuff "camp" and skill "Camping" > 3919    overhead "Camping buff not active."20endif21 22if not findbuff "track" and skill "tracking" > 023    overhead "Enable tracking!"24endif25 26@setvar! cdCleanseByFire 3100027@setvar! cdCloseWounds 3100028@setvar! cdNobleSacrifice 3100029@setvar! cdHolyLight 3100030@setvar! cdHealPot 1025031@setvar! cdVetSupply 510032@setvar! cdSpamFilter 300033 34if not timerexists cleanseByFireTimer35    createtimer cleanseByFireTimer36    settimer cleanseByFireTimer cdCleanseByFire37endif38 39if not timerexists closeWoundsTimer40    createtimer closeWoundsTimer41    settimer closeWoundsTimer cdCloseWounds42endif43 44if not timerexists nobleSacrificeTimer45    createtimer nobleSacrificeTimer46    settimer nobleSacrificeTimer cdNobleSacrifice47endif48 49if not timerexists holyLightTimer50    createtimer holyLightTimer51    settimer holyLightTimer cdHolyLight52endif53 54if not timerexists healPotTimer55    createtimer healPotTimer56    settimer healPotTimer cdHealPot57endif58 59if not timerexists vetSupplyTimer60    createtimer vetSupplyTimer61    settimer vetSupplyTimer cdVetSupply62endif63 64if not timerexists spamFilterTimer65    createtimer spamFilterTimer66    settimer spamFilterTimer cdSpamFilter67endif68 69@setvar combatTarget 070 71//initiate Combat and attack closest72    73while not dead74  if combatTarget == 075    clearsysmsg 76    hotkey "Cancel Current Target"77    hotkey "Target Closest Non-Friendly Monster"78    if timer spamFilterTimer >= cdSpamFilter79        overhead "Searching for next target"80        settimer spamFilterTimer 081        cooldown SpamFilter cdSpamFilter82    endif83    84  //Remove this portion below if you do not want to attack Grey/Reds.85  //hotkey "Next Non-Friendly Player Target"86  //Remove this portion above if you do not want to attack Grey/Reds.87  88    wait 25089    if not insysmsg 'no one matching'90        if followers > 491            say "all guard"92        endif93        @setvar myKillTarget lasttarget 94        if skill "Herding" > 99 and findtype 3713 backpack as herdCrook95            dclick herdCrook96            wft 50097            target myKillTarget98        endif99        @setvar combatTarget 1 100        warmode "on"101        overhead "� Current Combatant �" 600 lasttarget102        wait 250103    endif104  endif105  if combatTarget == 1106  hotkey "Attack Last Target"107  endif108  //remove Para109  if insysmsg 'you cannot move' or insysmsg 'You must wait before using this command again'110       say '[pouch'111  endif112 113  //////////////////////START OF HEALING MODULE/////////////////////////////// 114 115    if not bandaging and hp < maxhp and not targetexists and count 'bandages' > 0116        hotkey 'Bandage Self'117        wait 300118    endif119    if not bandaging and hp = maxhp and not targetexists and findtype '25750' 'self' > 0 and timer vetSupplyTimer >= cdVetSupply120        dclicktype '25750' 'backpack'121        settimer vetSupplyTimer 0122        cooldown VetSupply cdVetSupply123        wait 250124    endif125    if not bandaging and hp = maxhp and not targetexists and not findtype '25750' 'self' and count 'bandages' > 0 and timer vetSupplyTimer >= cdVetSupply and find crossHealTarget ground -1 -1 2126            @setvar combatTarget 0127            dclicktype '3617' 'backpack'128            wait 50129            target crossHealTarget130            hotkey "Cancel Current Target"131            wait 250132     endif133    134  //poison removal sequence135  if poisoned and hp > 50 and not findbuff "I cannot gate travel" and timer cleanseByFireTimer >= cdCleanseByFire136      overhead "Activating Cleanse By Fire"137      say '[CleanseByFire'138      settimer cleanseByFireTimer 0139      cooldown CleanseByFire cdCleanseByFire140      wait 250141  endif142  143  if poisoned and hp < 51 144      overhead "Emergency Poison Removal Activated"145      146  if not findbuff "I cannot gate travel" and timer holyLightTimer >= cdHolyLight147      say '[HolyLight'148      settimer holyLightTimer 0149      cooldown HolyLight cdHolyLight150      endif151      wait 250152      if not lhandempty and skill 'alchemy' < 79153      hotkey "Arm/Disarm Left Hand"154      endif155      wait 250156      while poisoned157          hotkey "Drink Cure"158          wait 250159      endwhile160  endif161  162  //Reduce Bleed Damage163  if findbuff "bleed" and not findbuff "I cannot gate travel" and timer closeWoundsTimer >= cdCloseWounds164      overhead "Bleed detected.  Activating Close Wounds."165  wait 250166    say '[closewounds'167    settimer closeWoundsTimer 0168      cooldown CloseWounds cdCloseWounds169  endif170  171  //Reduce Disease Damage172  if findbuff "disease" and not findbuff "I cannot gate travel" and timer closeWoundsTimer >= cdCloseWounds173      overhead "Disease detected. Activating Close Wounds."174  wait 250175    say '[closewounds'176    settimer closeWoundsTimer 0177      cooldown CloseWounds cdCloseWounds178  endif179  180  //Emergency Heal Sequence181 if hp < 45182      if not findbuff "I cannot gate travel" and timer holyLightTimer >= cdHolyLight183      say '[holylight'184      wait 250185      settimer holyLightTimer 0186      cooldown HolyLight cdHolyLight187      endif 188      if hp < 45 and timer healPotTimer >= cdHealPot189          if not lhandempty and skill 'alchemy' < 80190              hotkey "Arm/Disarm Left Hand"191          endif192              wait 250193              hotkey 'Drink Heal'194              settimer healPotTimer 0195              cooldown HealPot cdHealPot196      endif 197      if hp < 45198          if not findbuff "I cannot gate travel" and timer nobleSacrificeTimer >= cdNobleSacrifice199          say '[NobleSacrifice'200          wait 250201          target self202          overhead 'Noble Sacrifice used on self, currently cannot be healed'203          wait 250204          hotkey 'cancel current target'205          wait 250206          hotkey 'clear target queue'207          wait 250208          settimer nobleSacrificeTimer 0209          cooldown NobleSacrifice cdNobleSacrifice210          endif211      endif212  endif213 214  //////////////////////END OF HEALING MODULE///////////////////////////////215  216  //////////////////////GEAR AND BUFF CHECK MODULE///////////////////////////////217 218 //check for low stamina219  if stam < 81220      if not lhandempty and skill 'alchemy' < 80221         hotkey "Arm/Disarm Left Hand"222      endif223      hotkey 'Drink Refresh'224      wait 500225  endif226  227  //if overweight use str pot228  if weight > maxweight229      230      if not lhandempty and skill 'alchemy' < 80231         hotkey "Arm/Disarm Left Hand"232      endif 233      hotkey 'Drink Strength'234      wait 500235  endif236  237  //check and equip shield if no shield equipped.238  if lhandempty and skill 'parrying' > 79239    if skill 'wrestling' > 79 240        // do nothing241    elseif lhandempty242        overhead 'Attempting to Equip Shield' 33243        wait 250244        hotkey "Arm/Disarm Left Hand"245        wait 750246    endif247  endif248  249  //check for food buffs250  if not findbuff "food satisfaction" and findtype "tray" backpack as food251    dclick food252    wait 500253  endif254  255  if not find myKillTarget ground -1 -1 8256    @setvar combatTarget 0257    warmode "off"258    wait 250259  endif260      261  //////////////////////GEAR AND BUFF CHECK MODULE///////////////////////////////262endwhile