||Usage: ||say "message"<
>say "[language#] message" || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||say "Your city is under attack."<
>say "es# Tu ciudad esta siendo atacada." || Allows you to instruct the bot to say outloud a given message using the operating system's built-in text-to-speech reader. The say command can be used with expressions and thus requires use of quotation marks around all you want it to say, so that it can differentiate between your string and a variable. An optional language value can be given to use that language by the TTS reader. In the 2nd example above, the bot would say the sentence ''Tu ciudad esta siendo atacada. (Your city is under attack)'' with a Spanish accent and voice as determined by the language value ''es''. An example of a useful line for a defensive script would be: {{{ say city.name + " has " + city.NumberOfRealAttacks + " incoming attacks" }}} You can see a list of language codes here: http://www.loc.gov/standards/iso639-2/php/code_list.php (please note that your TTS reader may not suppose all of these!) The bot will use the two character ones, for example: de for german, es for spanish, en for english, etc. ---- ScriptControlStructures