Difference between revisions of "RunBatchScript"

Jump to navigation Jump to search
306 bytes added ,  10:46, 24 November 2007
There's no info on the console function in the wiki, so putting up some alternative information
imported>Haama
(Reomved link to console functions - no info on it there either)
imported>Haama
(There's no info on the console function in the wiki, so putting up some alternative information)
 
==Notes==
*The text will run as if it's been injected into that part of the script. For instance, if you have the script
* Works the same way as the console function '''bat'''.
<pre>scn YourScript
 
short YourVar
 
begin GameMode
set YourVar to 0
RunBatchScript "Batch.txt"
printc "YourVar is %g", YourVar
end</pre>
and in the text file
<pre>set YourVar to 1</pre>
you will see the console message ''YourVar is 1'' in-game.
 
[[Category: Functions]]
Anonymous user

Navigation menu