Miscellaneous Functions: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
Reverted to last good revision without spam
No edit summary
Line 1: Line 1:
boccnapasre
== Part 7 - Miscellaneous ==
== Part 7 - Miscellaneous ==
<p><em>Mostly internal stuff. Some good for everyone, some only for ASH wizards.</em></p>
<p><em>Mostly internal stuff. Some good for everyone, some only for ASH wizards.</em></p>

Revision as of 06:02, 20 November 2007

boccnapasre

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