This command adds a line to the MOTD. If there is no text yet then this becomes the first line of the MOTD.
Example:
/as client z-default motd append This is the first line of my motd.
Append is the basic command for creating a motd. If you leave something out you can use the insert command. See INSERT.
This command deletes a line from the MOTD.
Example:
/as client z-default motd del 2
This command allows you to remove a single line if you either changed your mind or made a mistake such as a typo in the line.
This command deletes all the lines in the MOTD.
Example:
/as client z-default motd erase
This is the easy way to start over and create a new motd.
This command will insert a line of text into the MOTD The text will be inserted above whichever line number is sent in the command.
Example:
/as client z-default motd insert 1 Now this is the first line of the motd.
This is an easy way to edit the motd. If you left something out, you can insert it. If you made a mistake in a line, you can delete it and insert a replacement where it was.
Example:
/as client z-default motd list
This is an important command to use before deleting or inserting lines from a motd. You should make sure you have the correct line number to match the text.