ThievingOrganizingLockpicking
Lockpicking using Restock.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/218a1b11-3fb7-4bdf-9327-8c0e6f6775c5 for latest2# Automation by Jaseowns3## Script: Lockpicking using Restock4## Created by: neverstopswing#05#############################################6 7@setvar PauseTime 7508@clearsysmsg9 10if findtype "metal chest|wooden chest" ground -1 -1 2 as LockedBox11 @setvar 'LockCheck' 012 dclick LockedBox13 if not hidden14 cast 'Invisibility'15 wft16 target self17 endif18 pause PauseTime19 if insysmsg 'It appears to be locked'20 @setvar 'LockCheck' 121 endif22 if 'LockCheck' = 123 gumpresponse 424 overhead 'Picking Lock..' 2025 pause 20026 while not insysmsg 'You successfully pick the lock.'27 if insysmsg 'You make some progress on the lock.'28 overhead 'Progress!' 8829 pause 20030 @clearsysmsg 31 endif32 if insysmsg 'You fail to make any progress on the lock'33 overhead 'Failed!' 3234 pause 20035 @clearsysmsg 36 endif37 endwhile38 overhead 'Picking Success!' 6339 endif40 if 'LockCheck' = 041 overhead 'Chest not Locked!' 3242 endif43 restock 10 44 waitfortarget 45 target LockedBox46 pause PauseTime47 while findtype "metal chest|wooden chest" ground -1 -1 2 as LockedBox48 getlabel LockedBox desc249 if '(0 items, 0 stones)' in desc250 script 'recall'51 endif52 endwhile53endif