How I start and stop a sub?

Anything and all.

Moderators: Murderator+, Murderator

Post Reply
Palerique
Posts: 4
Joined: 2005-09-28 05:09:56

How I start and stop a sub?

Post by Palerique »

I want to start determinated sub in a time and stop they in other time, in other sub.

like:

Sub 1()
if p=1 then
stop sub2
else
start sub2
End sub

sub 2()
End sub

How I make that?
Leo
Expert!
Posts: 791
Joined: 2005-01-15 19:15:05
Location: Dragon World
Contact:

Post by Leo »

UO.Exec("exec name") - start script

UO.Exec("terminate name") - terminate script
Image
Post Reply