Mpd 5.8 User Manual : Chat Scripting : Script file format and execution
Previous: Chat Scripting
Next: Events

6.1. Script file format and execution

The syntax for mpd.script is similar to the other mpd configuration files. Lines beginning with a hash sign are ignored. A label sits on its own line, starting in the first column and ends with a colon character.

Chat commands are indented with tab characters and written one per line.

Commands are executed sequentially. Execution continues without stopping until there is an error or one of the following commands is encountered:

Events are described in the next section.


Mpd 5.8 User Manual : Chat Scripting : Script file format and execution
Previous: Chat Scripting
Next: Events