Yoko

All sides of Injection
It is currently 2026-01-17 14:30:55

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: 2009-01-11 05:10:04 
Offline
User avatar

Joined: 2008-09-18 21:09:33
Posts: 47
Привет умельцы добавте в этот скрипт плиз чтобы он ешё брал щепки с сундука и зажигал их когда кастер погаснет очень буду благадарен
Code:
sub Cook()
VAR Exit=0, LastTimer, TryToPoison
uo.print('Выбери СУНДУК С Жратвой:')
uo.exec('addobject Container')
while uo.targeting()
wait(100)
wend
uo.print('Выбери Жаровню:')
uo.exec('addobject Forge')
while uo.targeting()
wait(100)
wend     
while Exit<>1
UO.DeleteJournal()
UO.FindType('0x097B','0x0000','backpack');
If UO.GetQuantity('finditem')>200 Then
UO.SetReceivingContainer('Container');
wait(1000)
UO.Grab('all','finditem')
wait(1000)
UO.UnSetReceivingContainer()
Endif
UO.FindType('0x097A',-1,'backpack') ;
If UO.GetQuantity('finditem')<2 then
UO.FindType('0x097A','0x0000','Container') ;
wait(1000)
UO.Grab('300','finditem')
wait(1000)
Endif
LastTimer=UO.Timer()
UO.DeleteJournal()
UO.FindType('0x097A','0x0000','backpack')
UO.WaitTargetObject('Forge')
UO.UseObject('finditem')
wait(4000)
CheckLag()
If UO.InJournal("You burn") then
repeat
wait(100)
until UO.Timer()>=LastTimer+100
Else
EndIf
wend   
end sub

sub CheckLag()
   UO.DeleteJournal()
   UO.Click('backpack')

   repeat
      wait(500)
   until UO.InJournal('backpack')
end sub


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 6 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