Лут из ящика

Anything and all.

Moderators: Murderator+, Murderator

Post Reply
Mr. Gluk
Posts: 42
Joined: 2006-02-04 04:39:51
Contact:

Лут из ящика

Post by Mr. Gluk »

Нужно чтобы чар брал из определенного ящика 40 регов (один вид)
Заранее спасибо
Scripts Writer
Posts: 2259
Joined: 2005-04-19 18:00:29
Location: Московская область
Contact:

Post by Scripts Writer »

Code: Select all

VAR sunduk='' ;ID Сундука где реги

sub get()
uo.findtype('','',sunduk) # Type & Color регов
 if uo.GetQuantity('finditem') then
    uo.moveitem('finditem',40,'backpack')
 else
    uo.Print("There aren't any Reagents")
 end if
end sub
Post Reply