Node:set-motd-of-lyskom, Next:, Previous:set-unread, Up:Protocol Requests



set-motd-of-lyskom [41] (1) Recommended


        set-motd-of-lyskom [41] ( text-no : Text-No )
                -> ( );

This call sets the login message of LysKOM. It can only be executed by a privileged person, with the proper privileges enabled. A somewhat less convenient way of doing this is to use the set-info

call.

Example:

        1 36
        =1 10900 1 2 3 4 0
        1 41 435
        =1
        1 36
        =1 10900 1 2 3 4 435

This example shows how the login message of LysKOM is set using the set-motd-of-lyskom call. The results of the get-info calls demonstrate the effect.

Error codes

login-first
Login required before issuing this call.
permission-denied
Administrator bit not set or privilege level not enabled.
no-such-text
The text text-no does not exist.
mark-limit
The text text-no already has the maximum number of marks.