Yoko

All sides of Injection
It is currently 2025-10-31 01:17:12

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2005-10-10 14:07:39 
Offline
User avatar

Joined: 2005-04-19 07:31:01
Posts: 15
Нужен такой вот скриптик:
Чар стоит возле продовца, покупает материал, шьёт то что надо, продаёт. Надо чтоб была такая вот цикличность.
Заранее благодарен.


Top
   
 Post subject:
PostPosted: 2005-10-10 16:03:02 
Offline
Expert!
User avatar

Joined: 2005-01-15 19:15:05
Posts: 791
Location: Dragon World
Ну за спасибо тебе такой скрипт не дадут... :wink:

_________________
Image


Top
   
 Post subject:
PostPosted: 2005-10-10 16:32:59 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Попробую написать :-)
Code:
sub tailor()
repeat
uo.buy('НУЖНЫЙ ЛИСТ')
while uo.count('материал') < минимум
wait(100)
wend
while uo.count('материал') > минимум
uo.waitmenu(выборка)
uo.waittargetotype(материал)
uo.useobject('иголка')
uo.deletejournal()
repeat
wait(100)
until uo.injournal('Сшил|Не СШил|ПШел нафик')
wend
while uo.count('продукция') > 0
uo.sell('Товар')
wait(200)
wend
until 0
endsub


Top
   
 Post subject:
PostPosted: 2005-10-11 18:11:41 
Offline
User avatar

Joined: 2005-04-19 07:31:01
Posts: 15
Что значит нужный лист?
То, что я хочу купить?


Top
   
 Post subject:
PostPosted: 2005-10-11 19:07:47 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Stainless wrote:
Что значит нужный лист?
То, что я хочу купить?

Заранее установленный лист товаров, которые тебе надо купить.

В следущий раз глянь в справку и посмотри, что означает команда.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 6 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