Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Execute method
- // This is the part you put in your main script
- exec(script.txt,"script","param1","param2","param3");
- do;
- wait();
- until(@methodcomplete);
- unset(@methodcomplete);
- // End execute method
- // script.txt
- // actual code here
- // Use $$[X] to reference parameters, starting with $$[1]
- set(@methodcomplete);
- stop();
- // end script.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement