Core Help Root: Objects: motd


$motd is an object which controls the display which users receive upon connecting, as well as the web page which the HTTP server returns. This object allows administrators to easily change and customize this information. This can be done via the following settings:

$motd:login-sequence:
Sets the sequence of items to be displayed on the login screen
$motd:server-name:
Sets the default server name for MOTD displays
$motd:server-title:
Sets the default server title for MOTD displays

$motd:login-sequence is a list of items which can be passed to $motd.build() to construct the login display. The list of valid arguments are as follows:

'admins:
Displays a list of administrators
'connected:
Displays the number of currently connected users
'core_version:
Displays the current core version
'default:
Constructs a default login display
'driver_version:
Displays the version of the driver currently in use
'help:
Displays a help message
'long:
Displays the server's title, then its name
'name:
Displays the server name
'notes:
Displays the contents of the notes variable on $motd
'short:
Displays only the server's title
'title:
Displays the server title
'quote:
Displays a random quote


Colors | Trie | List Library | has_text | mutex | Heap | Weather System | Math Library | Integer | Data Lib | Object Lib | Help Node | Code Lib | Generic Map | Scrabble | World Time | Time | Robot | Native Function Reference | Complex Number Library | Bytecode Docs | motd | Mail List | Float | Collective | libraries | social_ui


the Cold Dark