/SetMOTD

Set the ANSI and Unicode message of the day (MOTD) text.

Each chat server may contain an ANSI and Unicode title to provide the message of the day for clients. The ANSI version of the MOTD is provided to IRC clients and to MICONLY clients that query with an ANSI message. The Unicode version of the MOTD is provided to MICONLY clients that query with a Unicode message. Unlike most properties, the MOTD can contain different values for the ANSI and Unicode versions.

Note  Both the ANSI and the Unicode MOTD are set with this command switch.

See also /SetMOTD_A, /SetMOTD_W , /GetMOTD, /GetMOTD_A, /GetMOTD_W.

Syntax

Chatcmd ServerList /SetMOTD="TextString"

Parts

ServerList   This switch supports multiple servers in its command line. To ensure complete setting of information, all applicable servers should be listed, in the form Server1,Server2,Server3¼.
TextString The MOTD. Each server on a chat network can have an ANSI and Unicode MOTD of 1,007 characters. Delimit multiple lines by embedding "\n" in the string.

Examples

chatcmd myserv01,myserv02 /setmotd="Welcome to Chat Server\nMiami, FL\nAdmin@litware.com"  
     Sets the MOTD on Myserv01 and Myserv02 to "Welcome to Chat Server Miami, FL Admin@litware.com". This appears to the user with the following line breaks:
    Welcome to Chat Server
    Miami, FL
    Admin@litware.com
  
chatcmd * /setmotd="Welcome to Chat Server\nMiami, FL\nAdmin@litware.com"&  
     Sets the MOTD on the default server to "Welcome to Chat Server Miami, FL Admin@litware.com". This appears to the user with the following line breaks:
    Welcome to Chat Server
    Miami, FL
    Admin@litware.com


© 1998 Microsoft Corporation. All rights reserved.