Остановка скрипта
Moderators: Murderator+, Murderator
Остановка скрипта
Есть какая то команда, чтобы остановить скрипт при наступлении каких то условий? Типа как в пилоте stop_script
-
- Junior Expert
- Posts: 3221
- Joined: 2004-06-24 22:08:56
Code: Select all
sub script_killer()
repeat
wait(100)
until uo.dead()
uo.exec( "terminate myscript" )
endsub
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
Destruction wrote:Code: Select all
sub script_killer()
repeat
wait(100)
until uo.dead()
uo.exec( "terminate myscript" )
endsub
Code: Select all
sub meditation()
uo.wait(100)
if uo.mana > 100 then
uo.exec( "terminate meditation" )
end if
until uo.dead()
endsub
Так будет работать? Где можно найти описание функции terminate?