Yoko

All sides of Injection
It is currently 2025-12-11 00:49:59

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 2005-08-14 19:05:47 
Offline

Joined: 2005-02-05 13:29:00
Posts: 3
Как сделать, чтоб скрипт посторялся постоянно ?
я просто пробывал вот так

sub test()
test:
uo.say('Test')
goto test
endsub

Некоторое время проходит и пишет типа "Полетел счётчик GoTo"

пробывал так
sub test()
repeat
uo.say('Test')
until 1==0
endsub

Тоже какуюто ошибку даёт, и тоже не сразу.

Как делать ?


Top
   
 Post subject:
PostPosted: 2005-08-14 19:10:22 
Offline
Expert!
User avatar

Joined: 2005-01-15 19:15:05
Posts: 791
Location: Dragon World
Можно так:
Code:
While NOT UO.Dead
...
wend


или:
Code:
repeat
....
Until UO.Dead


Top
   
 Post subject:
PostPosted: 2005-08-14 19:15:36 
Offline

Joined: 2005-02-05 13:29:00
Posts: 3
пасип, щас попробую


Top
   
 Post subject:
PostPosted: 2005-08-14 19:15:46 
Offline

Joined: 2005-02-05 13:29:00
Posts: 3
пасип, щас попробую


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

All times are UTC+02:00


Who is online

Users browsing this forum: Bing [Bot] 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