calling

tedrock

New member
When calling another script can you use a varible from the current script or even send a varible to it to use?

And can the current script use a varible set in the called script after the script has been called?

The only thing the manual says is:
Note that the script will use all the character and inventory data from the current scripting session and all consequences will be reflected in the current session as well.

The syntax shown is:
Code:
call [#] <filename>
but i'm not sure what the number sign is there for... to call it more then once?
 
I do not believe sending variables to another script is possible, however I may be wrong.

the problem is that since call is a cli command, the call function would have very limited scope in passing variables. That scope would be strings. and possibly numbers.
 
Top