Node:set-etc-motd, Next:, Previous:set-presentation, Up:Protocol Requests



set-etc-motd [17] (1) Recommended


        set-etc-motd [17] (( conf-no : Conf-No;
                             text-no : Text-No ))
                -> ( );

This call sets the message of the day on the conference or person conf-no to the article text-no and removes the old message. To remove an old message without setting a new one, use a text-no of zero. This call protects the new message from automatic deletion and removes such protection from the old message just as set-presentation.

Example:

        1 50 6
        =1 11HDavid Byers 1001
           26 15 11 9 5 96 0 160 1
           26 15 11 9 5 96 0 160 1
           5 0 5 0 5 0 77 1 1 0
        1 17 6 1
        =1
        1 50 6
        =1 11HDavid Byers 1001
           26 15 11 9 5 96 0 160 1
           26 15 11 9 5 96 0 160 1
           5 0 5 0 5 1 77 1 1 0

This example shows how text number one is used as the message of the day for conference six (which happens to be a mailbox.) The get-conf-stat-old calls before and after demonstrate the change in the conference structure.

Error codes

login-first
Login required before issuing this call.
undefined-conference
Conference conf-no does not exist or is secret.
conference-zero
conf-no is zero.
permission-denied
Not enough permissions to set the MOTD of conference conf-no.
mark-limit
Adding a mark to text text-no would cause it to have too many marks.