# This is an automated backup - check out https://outlands.uorazorscripts.com/script/a9fecfe5-ba73-4b8e-a9f0-6cd4a305eb98 for latest # Automation by Jaseowns ## Script: Explosion Potion Helper (throw explopot safely) ## Created by: doubleduke#0 ############################################# # INFO # Set this to an hotkey and try it in Sanctuary Dungeon before anything else # If needed: remove the # from the last line and add your own script to auto-start # TO DO # - Various improvements # - Set a cooldown timer # SETTINGS # Select your target (0) or target nearest grey mob (1) @setvar! useTargetSystem 0 # Information System is helpful for debug or trace what went wrong on target @setvar! useInformationSystem 0 # COOLDOWN TIMER # some options on the work # ACTUAL SCRIPT if skill "Alchemy" >= 80 if findtype 3853 self >= 1 # Clear target queue (why?: prevent throwing explopot to yourself or friendly) hotkey 'Clear Target Queue' wait 150 # Throwing and targeting system if useTargetSystem = 0 overhead "Select your ExploPot Target" 66 hotkey "Set Last Target" wait 200 while targetexists // wait before throwing wait 50 endwhile hotkey 'Drink Explosion' wft hotkey 'Last Target' if useInformationSystem = 1 getlabel lasttarget descTarget @setvar! lastTargetSeriel lasttarget sysmsg "Last Target: {{descTarget}} {{lastTargetSeriel}}" 88 elseif useInformationSystem = 0 // do nothing endif elseif useTargetSystem = 1 hotkey "Target Closest Grey Monster" if insysmsg "No one matching that was found on your screen" // do nothing overhead "No Target Found, get closer to a mob" 55 else overhead "Throwing ExploPot" 66 hotkey 'Drink Explosion' wft hotkey 'Last Target' if useInformationSystem = 1 getlabel lasttarget descTarget @setvar! lastTargetSeriel lasttarget sysmsg "Last Target: {{descTarget}} {{lastTargetSeriel}}" 88 elseif useInformationSystem = 0 // do nothing endif endif endif else overhead "No ExploPot: restock!" 55 endif else overhead "Alchemy is below 80, explopot does not stick to mobs." 55 endif # THE SCRIPT TO AUTO-START # for example auto-heal-bandage script # script "BandageSelfCombat"