как сделать так чтобы
как тока скрипт закончился сражу шол по 2 кругу?
Повторяемость скрпита!
Moderators: Murderator+, Murderator
Re: Повторяемость скрпита!
Xabus wrote:как сделать так чтобы
как тока скрипт закончился сражу шол по 2 кругу?
Если надо чтобы повторился два раза (всего), можешь засунуть весь текст скрипта в For:
VAR x
for x=1 to 2
...
текст скрипта
...
next
Если надо чтобы крутился постоянно, обычно ставят так:
while TRUE
...
текст скрипта
...
wend
или
repeat
...
текст скрипта
until UO.Dead()
я непонял что делать надо? вот посмтори плиззз..........
sub go()
while NOT UO.Hidden()
UO.DeleteJournal()
UO.UseSkill('Hiding')
repeat
wait(200)
until UO.InJournal('You have hidden') OR UO.InJournal('seem to hide')
wend
wait(100)
UO.press(35)
wait(1000)
while NOT UO.Hidden()
UO.DeleteJournal()
UO.UseSkill('Hiding')
repeat
wait(200)
until UO.InJournal('You have hidden') OR UO.InJournal('seem to hide')
wend
wait(100)
UO.press(35)
wait(1000)
while NOT UO.Hidden()
UO.DeleteJournal()
UO.UseSkill('Hiding')
repeat
wait(200)
until UO.InJournal('You have hidden') OR UO.InJournal('seem to hide')
wend
wait(100)
UO.press(35)
wait(1000)
while NOT UO.Hidden()
UO.DeleteJournal()
UO.UseSkill('Hiding')
repeat
wait(200)
until UO.InJournal('You have hidden') OR UO.InJournal('seem to hide')
wend
wait(100)
UO.press(35)
while NOT UO.Hidden()
UO.DeleteJournal()
UO.UseSkill('Hiding')
repeat
wait(200)
until UO.InJournal('You have hidden') OR UO.InJournal('seem to hide')
wend
wait(100)
UO.press(3
wait(1000)
while NOT UO.Hidden()
UO.DeleteJournal()
UO.UseSkill('Hiding')
repeat
wait(200)
until UO.InJournal('You have hidden') OR UO.InJournal('seem to hide')
wend
wait(100)
UO.press(3
wait(1000)
while NOT UO.Hidden()
UO.DeleteJournal()
UO.UseSkill('Hiding')
repeat
wait(200)
until UO.InJournal('You have hidden') OR UO.InJournal('seem to hide')
wend
wait(100)
UO.press(3
wait(1000)
while NOT UO.Hidden()
UO.DeleteJournal()
UO.UseSkill('Hiding')
repeat
wait(200)
until UO.InJournal('You have hidden') OR UO.InJournal('seem to hide')
wend
wait(100)
UO.press(3
while NOT UO.Hidden()
UO.DeleteJournal()
UO.UseSkill('Hiding')
repeat
wait(200)
until UO.InJournal('You have hidden') OR UO.InJournal('seem to hide')
wend
wait(100)
UO.press(3
wait(1000)
while NOT UO.Hidden()
UO.DeleteJournal()
UO.UseSkill('Hiding')
repeat
wait(200)
until UO.InJournal('You have hidden') OR UO.InJournal('seem to hide')
wend
wait(100)
end sub
что тут надо вписать чтобы он повторялся! скрипт на стелс и хидинг!
sub go()
while NOT UO.Hidden()
UO.DeleteJournal()
UO.UseSkill('Hiding')
repeat
wait(200)
until UO.InJournal('You have hidden') OR UO.InJournal('seem to hide')
wend
wait(100)
UO.press(35)
wait(1000)
while NOT UO.Hidden()
UO.DeleteJournal()
UO.UseSkill('Hiding')
repeat
wait(200)
until UO.InJournal('You have hidden') OR UO.InJournal('seem to hide')
wend
wait(100)
UO.press(35)
wait(1000)
while NOT UO.Hidden()
UO.DeleteJournal()
UO.UseSkill('Hiding')
repeat
wait(200)
until UO.InJournal('You have hidden') OR UO.InJournal('seem to hide')
wend
wait(100)
UO.press(35)
wait(1000)
while NOT UO.Hidden()
UO.DeleteJournal()
UO.UseSkill('Hiding')
repeat
wait(200)
until UO.InJournal('You have hidden') OR UO.InJournal('seem to hide')
wend
wait(100)
UO.press(35)
while NOT UO.Hidden()
UO.DeleteJournal()
UO.UseSkill('Hiding')
repeat
wait(200)
until UO.InJournal('You have hidden') OR UO.InJournal('seem to hide')
wend
wait(100)
UO.press(3
wait(1000)
while NOT UO.Hidden()
UO.DeleteJournal()
UO.UseSkill('Hiding')
repeat
wait(200)
until UO.InJournal('You have hidden') OR UO.InJournal('seem to hide')
wend
wait(100)
UO.press(3
wait(1000)
while NOT UO.Hidden()
UO.DeleteJournal()
UO.UseSkill('Hiding')
repeat
wait(200)
until UO.InJournal('You have hidden') OR UO.InJournal('seem to hide')
wend
wait(100)
UO.press(3
wait(1000)
while NOT UO.Hidden()
UO.DeleteJournal()
UO.UseSkill('Hiding')
repeat
wait(200)
until UO.InJournal('You have hidden') OR UO.InJournal('seem to hide')
wend
wait(100)
UO.press(3
while NOT UO.Hidden()
UO.DeleteJournal()
UO.UseSkill('Hiding')
repeat
wait(200)
until UO.InJournal('You have hidden') OR UO.InJournal('seem to hide')
wend
wait(100)
UO.press(3
wait(1000)
while NOT UO.Hidden()
UO.DeleteJournal()
UO.UseSkill('Hiding')
repeat
wait(200)
until UO.InJournal('You have hidden') OR UO.InJournal('seem to hide')
wend
wait(100)
end sub
что тут надо вписать чтобы он повторялся! скрипт на стелс и хидинг!