Yoko

All sides of Injection
It is currently 2024-04-28 17:10:03

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: 2007-12-23 10:41:59 
Offline

Joined: 2005-08-25 23:35:29
Posts: 96
Вот скрипт на лут последнего корпуса мне нада суда еще добавить что бы когда монстра убивал еще подымал допустим какую то вещь с пола! Можно допустим так if You gained in journal и проверял сразу на земле и труп!

Code:
sub LootAll() 
VAR X=0
repeat
uo.set("finddistance","3")
UO.DeleteJournal()
repeat
    repeat
        wait(1000)
    Until UO.InJournal('Body') and UO.GetDistance('lastcorpse') <= 2
    wait(500)
    UO.FindType(-1,-1,'lastcorpse')
    While UO.FindCount()>0
        UO.Grab('0', 'finditem')
uo.ignore('finditem')
        wait(1000)
        UO.FindType(-1,-1,'lastcorpse')
    wend
    UO.DeleteJournal()
Until UO.Dead()
endsub


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: Bing [Bot] and 38 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 Limited