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

Скрипт на лут,особенный :)
http://forum.yoko.com.ua/viewtopic.php?f=20&t=12250
Page 1 of 1

Author:  D`Kor [ 2007-07-25 04:22:30 ]
Post subject:  Скрипт на лут,особенный :)

напишите пожалуйста скрипт,суть такова-
Если у чара в паке иеньше вещей чам задано,он берёт эту вещь с пола(тип вещи прописать) до токого же кол-ва итемов паке как и было.

Author:  Scripts Writer [ 2007-07-25 07:19:11 ]
Post subject: 

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

Author:  uo-injection Project [ 2007-07-30 13:49:54 ]
Post subject: 

скрипт на добор регов можешь взять тут :)

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