Чисто под RUNUO(шард Нова), простой разлив в кеги

Good scripts, not reviewed and checked yet

Moderators: Murderator+, Murderator

Post Reply
Chico
Posts: 46
Joined: 2005-05-02 17:37:12
Contact:

Чисто под RUNUO(шард Нова), простой разлив в кеги

Post by Chico »

Code: Select all

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

Post Reply