A. How to write to terminal from script?
When i run
:put (2+2)
in terminal i get 4 as response as expected.
If I do
add name=“scrput” source=“:put (2+2)”
and then run it from terminal prompt using
/system script run scrput
I do not get result displayed.
Am I missing something?
B. How to use arrays in MT script
Only thing I found is that MT knows about list type for variables whch are supposed to be arrays. Are there some examples how to use them?
[/code]