Yoko
http://forum.yoko.com.ua/

Чисто под RUNUO(шард Нова), простой разлив в кеги
http://forum.yoko.com.ua/viewtopic.php?f=15&t=11395
Page 1 of 1

Author:  Chico [ 2007-02-05 23:31:20 ]
Post subject:  Чисто под RUNUO(шард Нова), простой разлив в кеги

Code:
sub vkegi()
var Kol, I, Tip       ; Количество
   uo.Exec('addobject Box1')
   while uo.Targeting()
   wait(100)
   wend
   uo.Exec('addobject Kega')
   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('Kega')
repeat
      uo.findtype(Tip,'-1','Box1')
      wait(100)
      UO.GRAB('1','finditem')
      Wait(1000)
until UO.Journal(0) == "cliloc# 0xA9D9"
end sub


Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/