Prints a line of text in a console window of your choice. Note that the line length is limited, including HTML tags.


Command.Console.Display(console, suppressPrefix, text, html)
consoleparameterconsoleThe console to display text into. May be "general", "combat", or a console ID.
htmlparameterbooleanEnables HTML mode. In HTML mode, a limited number of formatting tags are available: <u>, <font color="#rrggbb">, and <a lua="print('This is a lua script.')">.
suppressPrefixparameterbooleanSuppress the automatic addon shortname prefix.
textparameterstringThe text to be printed.