Yoko

All sides of Injection
It is currently 2025-10-21 15:37:56

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2007-07-25 04:22:30 
Offline

Joined: 2006-12-17 12:48:55
Posts: 6
напишите пожалуйста скрипт,суть такова-
Если у чара в паке иеньше вещей чам задано,он берёт эту вещь с пола(тип вещи прописать) до токого же кол-ва итемов паке как и было.


Top
   
 Post subject:
PostPosted: 2007-07-25 07:19:11 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Code:
sub Get(type,Quantity)
  uo.FindType(type,'-1','backpack')
  if uo.GetQuantity('finditem') < Quantity then
    uo.FindType(type,'-1','ground')
    if uo.FindCount() then
      uo.moveitem('finditem')
      wait(750)
    end if
  end if
end sub


Запускать в виде:

Code:
sub Get_Iron()
  Get('type of iron ingot','quantity')
end sub


Top
   
 Post subject:
PostPosted: 2007-07-30 13:49:54 
Offline

Joined: 2007-03-27 21:57:51
Posts: 19
скрипт на добор регов можешь взять тут :)


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: No registered users and 13 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