by Jaseowns UO Outlands - https://youtu.be/K3bVPhHcInE BOOM JUUICEEEE
Placing Explosion Traps down and blowing them up.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/7e29d911-56ef-4345-8fd5-988da0d20e9c for latest2# Automation by Jaseowns3## Script: Placing Explosion Traps down and blowing them up 4## Created by: Jaseowns#66945#############################################6 7# Placing Explosion Traps down and blowing them up by Jaseowns8# UO Outlands - https://youtu.be/K3bVPhHcInE9# BOOM JUUICEEEE10 11@setvar! cdTrap 42000012 13if not timerexists myTrapTimer114 createtimer myTrapTimer115 settimer myTrapTimer1 cdTrap16endif17if not timerexists myTrapTimer218 createtimer myTrapTimer219 settimer myTrapTimer2 cdTrap20endif21if not timerexists myTrapTimer322 createtimer myTrapTimer323 settimer myTrapTimer3 cdTrap24endif25if not timerexists myTrapTimer426 createtimer myTrapTimer427 settimer myTrapTimer4 cdTrap28endif29if not timerexists myTrapTimer530 createtimer myTrapTimer531 settimer myTrapTimer5 cdTrap32endif33 34if not findtype "Purple Potion" backpack 35 overhead "Thou hast a distinct lack of boom juice" 3436 stop37endif38 39clearsysmsg 40 41if findtype "barrel lid" ground -1 -1 242 overhead "Already on a trap!"43 stop 44endif45 46if timer myTrapTimer1 >= cdTrap47 if findtype 6263|6264 backpack as jire48 while not gumpexists 348996891549 dclick jire50 wft 50051 target self52 endwhile53 if gumpexists 348996891554 overhead "Using trap 1 of 5" 8855 gumpresponse 20 348996891556 wait 20057 if insysmsg "You place a trap."58 overhead "Sucess" 6659 settimer myTrapTimer1 060 endif61 endif62 endif63elseif timer myTrapTimer2 >= cdTrap64 if findtype 6263|6264 backpack as jire65 while not gumpexists 348996891566 dclick jire67 wft 50068 target self69 endwhile70 if gumpexists 348996891571 overhead "Using trap 2 of 5" 8872 gumpresponse 20 348996891573 wait 20074 if insysmsg "You place a trap."75 overhead "Sucess" 6676 settimer myTrapTimer2 077 endif78 endif79 endif80elseif timer myTrapTimer3 >= cdTrap81 if findtype 6263|6264 backpack as jire82 while not gumpexists 348996891583 dclick jire84 wft 50085 target self86 endwhile87 if gumpexists 348996891588 overhead "Using trap 3 of 5" 8889 gumpresponse 20 348996891590 wait 20091 if insysmsg "You place a trap."92 overhead "Sucess" 6693 settimer myTrapTimer3 094 endif95 endif96 endif97elseif timer myTrapTimer4 >= cdTrap98 if findtype 6263|6264 backpack as jire99 while not gumpexists 3489968915100 dclick jire101 wft 500102 target self103 endwhile104 if gumpexists 3489968915105 overhead "Using trap 4 of 5" 88106 gumpresponse 20 3489968915107 wait 200108 if insysmsg "You place a trap."109 overhead "Sucess" 66110 settimer myTrapTimer4 0111 endif112 endif113 endif114elseif timer myTrapTimer5 >= cdTrap115 if findtype 6263|6264 backpack as jire116 while not gumpexists 3489968915117 dclick jire118 wft 500119 target self120 endwhile121 if gumpexists 3489968915122 overhead "Using trap 5 of 5" 88123 gumpresponse 20 3489968915124 wait 200125 if insysmsg "You place a trap."126 overhead "Sucess" 66127 settimer myTrapTimer5 0128 endif129 endif130 endif131elseif findtype 6263|6264 backpack as jire132 while not gumpexists 3489968915133 dclick jire134 wft 500135 target self136 endwhile137 if gumpexists 3489968915138 if ingump "5/5" 3489968915139 // do nothing140 overhead "NO MORE BOOM!" 34141 else142 settimer myTrapTimer1 cdTrap143 gumpresponse 8 3489968915144 endif145 endif146else147 overhead "NO MORE BOOM WIRE!" 34148endif149 150// This code will blow shit up151if findtype "barrel lid" ground -1 -1 8 and findtype "music box" backpack as item152 dclick item153 wft 500154 target self155endif