Yoko

All sides of Injection
It is currently 2024-03-28 13:14:24

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: 2007-06-11 23:09:48 
Offline

Joined: 2005-05-02 17:37:12
Posts: 46
; Указываем по порядку бокс где лежит мясо, животное (оно у меня названо непотребно box2, ну и само мясо (рыбу, фрукты и тд))
Code:
 sub korm()
var Kol, I, Tip       ; Количество
   uo.Exec('addobject Box1')
   while uo.Targeting()
   wait(100)
   wend
   uo.Exec('addobject Box2')
   while uo.Targeting()
   wait(100)
   wend
   uo.Exec('addobject obj')
   while uo.Targeting()
   wait(100)
   wend
    Tip = uo.GetGraphic('obj')
   uo.findtype(Tip,'-1','Box1')
    wait(300)
    kol =  uo.count(Tip)
    uo.print('naideno-' + str(kol))
    uo.setreceivingcontainer('Box2')
repeat
      uo.findtype(Tip,'-1','Box1')
      wait(100)
      UO.GRAB('10','finditem')
      Wait(3600000)
      uo.print('naideno-' + str(uo.count(Tip)))
until not uo.count(Tip)
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 10 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