File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / mpd / doc / mpd51.html
Revision 1.1.1.4 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Mar 17 00:39:23 2021 UTC (3 years, 7 months ago) by misho
Branches: mpd, MAIN
CVS tags: v5_9p16, v5_9, HEAD
mpd 5.9

    1: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
    2: <HTML>
    3: <HEAD>
    4: <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    5: <TITLE>Script file format and execution</TITLE>
    6: </HEAD>
    7: <BODY text="#000000" bgcolor="#ffffff">
    8: 
    9: <A HREF="mpd.html"><EM>Mpd 5.9 User Manual</EM></A>
   10:  <b>:</b> <A HREF="mpd50.html"><EM>Chat Scripting</EM></A>
   11:  <b>:</b> <EM>Script file format and execution</EM><BR>
   12: <b>Previous:</b> <A HREF="mpd50.html"><EM>Chat Scripting</EM></A><BR>
   13: <b>Next:</b> <A HREF="mpd52.html"><EM>Events</EM></A>
   14: 
   15: 
   16: <HR NOSHADE>
   17:   <H2><A NAME="51"></A>6.1. Script file format and execution</H2>
   18: <p>The syntax for <code>mpd.script</code> is similar to the other mpd
   19: configuration files. Lines beginning with a hash sign are ignored.
   20: A <b>label</b> sits on its own line, starting in the first
   21: column and ends with a colon character.</p>
   22: <p><b>Chat commands</b> are indented with tab characters and written
   23: one per line.</p>
   24: <p>Commands are executed sequentially.
   25: Execution continues without stopping until there is an error or
   26: one of the following commands is encountered:
   27: <ul>
   28: <li><b><code>success</code></b> The script returns success.</li>
   29: <li><b><code>failure</code></b> The script returns failure.</li>
   30: <li><b><code>wait</code></b> Execution of the script is halted
   31: until an <b>event</b> occurs.</li>
   32: </ul>
   33: 
   34: Events are described in the next section.</p>
   35: 
   36:  <HR NOSHADE>
   37: <A HREF="mpd.html"><EM>Mpd 5.9 User Manual</EM></A>
   38:  <b>:</b> <A HREF="mpd50.html"><EM>Chat Scripting</EM></A>
   39:  <b>:</b> <EM>Script file format and execution</EM><BR>
   40: <b>Previous:</b> <A HREF="mpd50.html"><EM>Chat Scripting</EM></A><BR>
   41: <b>Next:</b> <A HREF="mpd52.html"><EM>Events</EM></A>
   42: 
   43: 
   44: 
   45: </BODY>
   46: </HTML>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>