| |
- casebold(text, boldcolor)
- Color by character case. - Capitals returns in bold of suplied color, lowercase in suplied color.
@param string $text Input text to color
@param int $boldcolor Color for lowercase letters
- caseclr(text, boldcolor, normcolor)
- Color by character case. - Capitals returns in boldcolor, lowercase in normcolor
@param string $text Input text to color
@param int $boldcolor Color for capital letters
@param int $normcolor Color for lowercase letters
- colorcode(text)
- Process user entered color codes. - Uses color codes contained in curly braces. Standard ANSI codes work.
@todo Add error correction and checking. Could be used to hose other players.
@param string $text Text to convert to escape string
- getLine(connection, echo, prompt='')
- Get line from user
- getclientconfig(connection, log)
- Retrieve client generated line speed / noise configuration for emulation
- maketime(user)
- Make a time since login string
- menu_2col(text1, text2, col1, col2)
- 2 Column Menu - Generate a 2 column menu entry
@param string $text1 Menu Option 1
@param string $text2 Menu Option 2
@param int $col1 Option color for menu option 1
@param int $col2 Option color for menu option 2
- normmenu(text)
- Return a standard colored menu entry.
@param string $text Text to convert to menu entry
- padnumcol(text, col)
- Pad a selection of text to be a specied number of columns wide.
@param string $text Text to pad
@param int $col Number of columns to fill
- padright(text, col)
- Pad a selection of text to be a specied number of columns wide, right justified.
@param string $text Text to pad
@param int $col Number of columns to fill
- pauser(connection)
- Sreen pauser
- slowecho(connection, data, LINESPEED=0, NOISE=0)
- Modem speed emulation display routine
|