It is currently 18 Apr 2024, 21:56

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: 27 Jul 2012, 07:04 
Offline
Эксперт

Joined: 14 Jun 2012, 08:13
Posts: 3113
Code:
sub loot()
DIM R[11] # amount of lines in the massive.
var a
R[1] = '0x1012' # key, Dastard
R[2] = '0x0EED' # gp
R[3] = '0x0F87' # eyes of newt
R[4] = '0x0F8E' # serpent, spider and scorp scales
R[5] = '0x0F80' #  deamon bones
R[6] = '0x0F78' # batwings
R[7] = '0x19B7' # 1 ore
R[8] = '0x100E' # despice keys
R[9] = '0x1078' #  hides
R[10] = '0x1010' # shame lvl 1 key
R[11] = '0x0F82' # dragon blood

UO.UseObject('lastcorpse')
uo.waittargetobject('lastcorpse')
uo.usetype('0x0EC4') #type of the skinning knife.
wait(500)
for a=1 to 11 # amount of item types set up earlier, if you have added some more, edit this line too
uo.findtype(R[a],"-1","lastcorpse")
if UO.FindCount()>0 and Uo.GetDistance("lastcorpse")<=2 then
UO.Grab("0","finditem")
wait(2000)
end if
wait(10)
next
wait(300)
if uo.count('0x1078') then
uo.waittargettype('0x1078') #corpse type, don't change anything.
uo.usetype('0x0EC4') #type of the skinning knife.
wait(100)
endif
wait(300)
end sub


You can add items to this script, just check the proper lines which you need to edit, very simple.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group