File geyser/GeyserMiniConsole.lua

Functions

Geyser.MiniConsole:replace (with) Replaces the currently selected text.
Geyser.MiniConsole:setBold (bool) Sets bold status for this miniconsole
Geyser.MiniConsole:setBufferSize (linesLimit, sizeOfBatchDeletion) Sets the size of this miniconsole's buffer.
Geyser.MiniConsole:setFontSize (size) Sets the font size for this miniconsole.
Geyser.MiniConsole:setItalics (bool) Sets italics status for this miniconsole
Geyser.MiniConsole:setTextFormat (r1, g1, b1, r2, g2, b2, bold, underline, italics) Sets the text format for this window.
Geyser.MiniConsole:setUnderline (bool) Sets underline status for this miniconsole
Geyser.MiniConsole:setWrap (wrapAt) Sets the point at which text is wrapped in this miniconsole

Tables

Geyser.MiniConsole Represents a miniconsole primitive


Functions

Geyser.MiniConsole:replace (with)
Replaces the currently selected text.
Parameters
  • with: The text to use as a replacement.
Geyser.MiniConsole:setBold (bool)
Sets bold status for this miniconsole
Parameters
  • bool: True for bolded
Geyser.MiniConsole:setBufferSize (linesLimit, sizeOfBatchDeletion)
Sets the size of this miniconsole's buffer.
Parameters
  • linesLimit: The number of lines to store - same limitations as Mudlet function of the same name.
  • sizeOfBatchDeletion: See Mudlet documentation. (I don't know offhand =)
Geyser.MiniConsole:setFontSize (size)
Sets the font size for this miniconsole.
Parameters
  • size: The font size.
Geyser.MiniConsole:setItalics (bool)
Sets italics status for this miniconsole
Parameters
  • bool: True for italicized
Geyser.MiniConsole:setTextFormat (r1, g1, b1, r2, g2, b2, bold, underline, italics)
Sets the text format for this window. Note that the *echo() functions will override these settings.
Parameters
  • r1: The red foreground component.
  • g1: The green foreground component.
  • b1: The blue foreground component.
  • r2: The red background component.
  • g2: The green background component.
  • b2: The blue background component.
  • bold: The bolded status. 1 is bold, 0 is normal.
  • underline: The underlined status. 1 is underlined, 0 is normal.
  • italics: The italicized status. 1 is italicized, 0 is normal.
Geyser.MiniConsole:setUnderline (bool)
Sets underline status for this miniconsole
Parameters
  • bool: True for underlined
Geyser.MiniConsole:setWrap (wrapAt)
Sets the point at which text is wrapped in this miniconsole
Parameters
  • wrapAt: The number of characters to start wrapping.

Tables

Geyser.MiniConsole
Represents a miniconsole primitive Fields
  • wrapAt: Where line wrapping occurs. Default is 300 characters.

Valid XHTML 1.0!