Miscellaneous Functions

From Kolmafia
Revision as of 03:20, 16 November 2007 by imported>Duffkiligan (removed spam)
Jump to navigation Jump to search

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