Yoko

All sides of Injection
It is currently 2025-10-17 03:50:26

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2009-04-04 11:44:44 
Offline

Joined: 2009-01-09 23:44:28
Posts: 10
рылся я рылся и ничего рабочего не нашел... у меня есть стадо коров в сарае, и нужно чтобы чар каждую из них тамил а патом писал all release и начинал все с начала... помогите пожалуйста


Top
   
 Post subject:
PostPosted: 2009-04-05 12:38:20 
Offline

Joined: 2008-08-12 20:21:55
Posts: 7
Code:
sub taming()
VAR i
VAR t=3000 ### Промежутки между использованием скила Taming
VAR great='' ### Сообщение выводящие при успешном таминге
VAR bik1='' ### ID быка номер 1
VAR bik2='' ### ID быка номер 2
VAR bik3='' ### ID быка номер 3
### etc.
While not UO.Dead() ### Тамим пока не сдохним
i=0
if i==0 then
i=i+1
Uo.DeleteJournal()
repeat
waittargetobject(bik1)
uo.useskill('Animal Taming')
wait(t)
until UO.InJournal(great)
end if
if i==1 then
i=i+1
UO.DeleteJournal()
repeat
waittargetobject(bik2)
uo.useskill('Animal Taming')
wait(t)
until UO.InJournal(great)
end if
if i==2 then
i=i-2
UO.DeleteJournal()
repeat
waittargetobject(bik3)
uo.useskill('Animal Taming')
wait(t)
until UO.InJournal(great)
end if
wend
while
end sub


Ну вот в таком духе дописывай дальше сколько нужно быков ) Скрипт не проверял но поиеди должен работать так, тамит первого быка, если выводится сообщение о успешном тамлении, начинает тамить второго, ну и аналогично, заканчивает тамить 3, переходит к 1 =) Всё просто


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


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