Yoko

All sides of Injection
It is currently 2024-03-29 10:50:57

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
 Post subject: CorpseOpen + autoloot
PostPosted: 2010-12-14 17:01:55 
Offline

Joined: 2010-12-14 16:55:34
Posts: 1
Hi guys, i need your help. I've got a PvPloot script. But i need to open corpse and iam not first on the body. So i need script wich will open a nearest body to me, like iam standing 2 titles from it, i will press a button, script will automaticaly open a corpse and then it will loot weapons (this i have). But i don't know, how to make it open a body whenever it is, can somebody help me please?

I've got this

Quote:
sub PvPLoot()
var kam="0x400E3D93" #kam to chces sazet
var i,n
Dim A[15]
A[1] = 0x1400 ;kryss
A[2] = 0x13B6 ;scym
A[3] = 0x13F9 ;gnardled staffka
A[4] = 0x0DF0 ;black staffka
A[5] = 0x0DF1 ;quarter staffka
A[6] = 0x13FA ;LBA
A[7] = 0x0F4B ;double axe
A[8] = 0x143E ;halapartna
A[9] = 0x13B9 ;viking sword
A[10] = 0x13FE ;katana
A[11] = 0x1438 ;war hammer
A[12] = 0x143C ;hammerpick
A[13] = 0x1440 ;cuttlas
A[14] = 0x1404 ;war forks
A[15] = 0x13B1 ;bow
i = 1000

FOR n=1 TO 15
uo.findtype(A[n],"-1","lastcontainer")
if UO.findcount() >0 Then
UO.moveitem("finditem",0,kam)
UO.DeleteJournal()
Wait(i)
end if

NEXT

Endsub


Thanks for help :)


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 21 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited