Yoko

All sides of Injection
It is currently 2024-03-28 13:12:54

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Рунбук
PostPosted: 2015-12-21 09:22:37 
Offline

Joined: 2015-11-26 10:16:44
Posts: 61
помогите кто как может надо скрипт чтобы зарядил скролами рекал рунбук
у нас на сервере просто перетаскиваеш скролы в рунбук


Top
   
 Post subject: Re: Рунбук
PostPosted: 2015-12-22 09:57:46 
Offline

Joined: 2011-05-23 00:33:30
Posts: 949
Укажи ID контейнеров в условиях.
Code:
sub Charger()
  var runebook = "ID рунбука"
  var box = "ID контейнера где лежат скролы рекола"
  var quantity = 10 ; Количество скролов
  uo.opencontainer(box, 500)
  if uo.findtype("0x1F4C", -1, box) and uo.getquantity("finditem") >= quantity then
    uo.moveitem("finditem", quantity, runebook)
    uo.print("Рунбук заряжен!")
  else
    uo.print("Недостаточно скролов!")
  end if
end sub

_________________
CodeSweeper


Top
   
 Post subject: Re: Рунбук
PostPosted: 2015-12-22 15:43:48 
Offline

Joined: 2015-11-26 10:16:44
Posts: 61
спс ты мне очень помог


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 21 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