Yoko

All sides of Injection
It is currently 2025-10-12 01:54:36

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2006-06-26 22:37:33 
Offline

Joined: 2006-04-09 18:33:27
Posts: 6
Code:
UO.FindType('0x0E34') 
while not UO.GetQuantity('finditem')==0
UO.MoveItem('finditem','0','0x40233262')
wait(500)
UO.FindType('0x0E34')
if uo.injournal("put") then
uo.waittargetobject('0x403AF6DD')
uo.cast('Recall')
wait(5000)
end if
wend

вот скрипт он перетаскивает определённый тип вещей складирующихся в кучку а как сделать так чтобы он перетаскивал ресы до определённого значения допустим у меня в паке 500нса и чтоб скрипт перетаскивал нс но оставлял 100 штук в паке
если поможете буду очень признателен :roll:


Top
   
 Post subject:
PostPosted: 2006-06-26 22:59:28 
Offline
User avatar

Joined: 2005-07-10 21:53:05
Posts: 457
Code:
while not UO.Count('0x0E34') <= 100
   UO.FindType('0x0E34')
   UO.MoveItem('finditem', UO.Count('0x0E34') - 100,'0x40233262')
   wait(500) 
   if uo.injournal("put") then
      uo.waittargetobject('0x403AF6DD')
      uo.cast('Recall')
      wait(5000)
   end if
wend


Top
   
 Post subject:
PostPosted: 2006-06-27 22:18:48 
Offline

Joined: 2006-04-09 18:33:27
Posts: 6
пасиб огромное всё работает :P


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

All times are UTC+02:00


Who is online

Users browsing this forum: Bing [Bot] and 2 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:  
Powered by phpBB® Forum Software © phpBB Limited