Yoko

All sides of Injection
It is currently 2026-01-16 20:50:45

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2004-08-29 17:39:01 
Offline

Joined: 2004-08-25 23:06:06
Posts: 41
Мне нужно что бы была проверка, например, если у меня нету 20 БП что бы он их взял из сундука . . . тока что бы не приплюсовал 20 штук, а добавил к имеющимся что бы получилось 20


Top
   
PostPosted: 2004-08-29 18:44:45 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
Krbisa wrote:
Мне нужно что бы была проверка, например, если у меня нету 20 БП что бы он их взял из сундука . . . тока что бы не приплюсовал 20 штук, а добавил к имеющимся что бы получилось 20


дык

Code:
VAR BP = 'тип BP', Sunduk = 'сериал сундука', i
i = UO.Count( BP )
if i < 20 then
   UO.Findtype( BP, -1, Sunduk )
   UO.Grab( str( 20 - i ), 'finditem' )
   wait(500)
endif


В чем проблема-то?


Top
   
 Post subject:
PostPosted: 2004-08-29 22:20:57 
Offline

Joined: 2004-08-25 23:06:06
Posts: 41
Спасибо! Чуток я не так делал :)


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