Lare2 wrote:Where can i look to learn more about how the quotes affect the scripts.
Quoting the help file on quoting:
Using Quotes in Scripting
It's strongly recommended that you (double- or single-) quote your strings! While the script engine is currently still permissive with unquoted strings (msg Hi! works) this might not be so in the future, so you better do msg "Hi!" right away!
Here's the basic laws of quoting:
(1) Everything is either in double-quotes, or in single-quotes, or outside of any quotes.
(2) To have double-quotes inside double-quotes they must be doubled.
(3) To have single-quotes inside single-quotes they must be doubled.
(4) Variables are resolved in double-quotes and outside of any quotes, but not in single-quotes.
There's also a function quote()
which can help you avoid too many doubled double quotes...