04-13-2009, 04:28 PM
It`s simple script written by me for gaining Lockpicking on any container.
* Check on a container openness \closeness is added
* Now script will not get off after world saving
Code:
#####################################################################
#
# Lockpicking Gain Script
#
# From Russia by XoD (c) 2009
#
#
# Instruction:
#
# 1. Create Object 'Box' and target it on your container
# 2. Create Object 'Key' and target it on key of your container in your backpack
# 3. Create Object 'Lock' and target it on lockpicks in your backpack
# 4. Lock your container
# 5. Run function 'lock'
#
#####################################################################
sub lock()
while NOT UO.Dead()
repeat
UO.DeleteJournal()
uo.waittargetground('Box')
UO.UseObject('Lock')
wait(5000)
until UO.InJournal('This does not') OR UO.InJournal("You are unable") OR UO.InJournal("The lock quickly")
if UO.InJournal('The lock quickly') OR UO.InJournal('This does not') then
UO.DeleteJournal()
uo.waittargetground('Box')
UO.UseObject('Key')
wait(2500)
endif
wend
end sub
* Check on a container openness \closeness is added
* Now script will not get off after world saving