||Usage: ||command "command [parameters]" || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||command "invite !NewDude" || This script will allow you to utilize the in-line commands in the scripting window. The in-line command plus all arguments for it should be encased in quotation marks. In the example above, instead of typing \invite !NewDude in the commands window, you could use it via script with the line ''command "invite !NewDude"''. You can mix variables into the command script, exclude them from the quotes as you would any other expression. For example: {{{ var = "SomeDude" command "who " + var }}} You can find a list of all the In-Line Commands here: [[InLineCommands]]. The results returned from these commands will be stored in $result, which you can echo or set to a variable or process with the various functions in the bot. For example: {{{ command "quickarmyreport" echo $result Echoes: 16:17:10 Page: 1/53 [42666]ATT Attack Reports from City1(111,111) to Target(111,333) on Sun Nov 17 2013 01:15:10 PM [42555]ATT Scout Reports from City2(111,222) to Barbarian's city(111,444) on Sun Nov 17 2013 01:01:28 PM [42444]ATT Scout Reports from City2(111,222) to Barbarian's city(111,455) on Sun Nov 17 2013 12:57:48 PM [42333]ATT Scout Reports from City2(111,222) to Barbarian's city(111,466) on Sun Nov 17 2013 12:54:09 PM [42222]ATT Scout Reports from City2(111,222) to Barbarian's city(111,477) on Sun Nov 17 2013 12:48:58 PM [42111]ATT Scout Reports from City2(111,222) to Barbarian's city(111,488) on Sun Nov 17 2013 12:45:15 PM }}} ---- ScriptControlStructures