Yoko

All sides of Injection
It is currently 2025-11-05 19:10:03

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2006-02-09 14:21:36 
Offline

Joined: 2006-02-09 14:10:44
Posts: 2
Я конешно всё понимаю. Что постить много не желательно. Но я смарел скрипт на перекладку, там не то что мне надо. мне надо чтобы он перебрасывал из мешка "regi1" в "regi2" реги до 100.
Зарание спсибо :) :) :D :)


Top
   
 Post subject:
PostPosted: 2006-02-09 14:41:09 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
Code:
sub movereg()
   uo.Print('Откуда брать реги?')
   uo.AddObject('srcbag')
   while uo.Targeting()
      wait(100)
   wend
   uo.Print('Куда ложить реги?')
   uo.AddObject('desbag')
   while uo.Targeting()
      wait(100)
   wend
   for var i = 3960 to 3985
      uo.FindType(i, -1, 'srcbag')
      if uo.FindCount() then
         uo.moveitem('finditem', 100, 'desbag')
         while uo.ContainerOf('finditem') <> uo.GetSerial('desbag')
            wait(100)
         wend
      end if
   next
end sub


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 7 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