Yoko

All sides of Injection
It is currently 2024-04-18 14:55:44

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Как сделать?
PostPosted: 2013-09-12 14:41:23 
Offline

Joined: 2013-03-01 19:59:00
Posts: 19
Как записать в скрипте чтобы он выключал указанный скрипт и запускал другой?


Top
   
PostPosted: 2013-09-12 16:02:57 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
Либо так:
Code:
sub main1()
endsub

sub main2()
endsub


sub main21()
   main2() ; или    UO.Exec('exec main2')
   UO.Exec('terminate main1')
endsub


Либо так:
Code:
sub main2()

#какой то скрипт... 
   main2() ; или    UO.Exec('exec main2')
   return  ; прекратит выполнение main2
endsub


Либо через глобальные переменные - поиском по форуму. Но это сложнее.

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"
Стрелялка для олдов.


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 16 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