Difference between revisions of "Miscellaneous Functions"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | + | == Part 7 - Miscellaneous == | |
− | + | <p><em>Mostly internal stuff. Some good for everyone, some only for ASH wizards.</em></p> | |
+ | |||
+ | <p><strong>void print( string output )</strong><br /> | ||
+ | <strong>void print( string output, string color )</strong><br /> | ||
+ | Prints <i>output</i> to the CLI buffer and displays it in the status line of the main Adventuring window. If <i>color</i> is specified any HTML in <i>output</i> is escaped and the string is wrapped in a font tag before being printed.</p> | ||
+ | |||
+ | <p><strong>boolean cli_execute( string command )</strong><br /> | ||
+ | Executes the given command as if it were entered into the graphical CLI window. This can be used for CLI commands or, if you |
Revision as of 14:01, 28 October 2007
== Part 7 - Miscellaneous ==
Mostly internal stuff. Some good for everyone, some only for ASH wizards.
void print( string output )
void print( string output, string color )
Prints output to the CLI buffer and displays it in the status line of the main Adventuring window. If color is specified any HTML in output is escaped and the string is wrapped in a font tag before being printed.
boolean cli_execute( string command )
Executes the given command as if it were entered into the graphical CLI window. This can be used for CLI commands or, if you