Annotation of embedaddon/mpd/doc/mpd54.html, revision 1.1.1.3
1.1 misho 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>Match events</TITLE>
6: </HEAD>
7: <BODY text="#000000" bgcolor="#ffffff">
8:
1.1.1.3 ! misho 9: <A HREF="mpd.html"><EM>Mpd 5.8 User Manual</EM></A>
1.1 misho 10: <b>:</b> <A HREF="mpd50.html"><EM>Chat Scripting</EM></A>
11: <b>:</b> <A HREF="mpd52.html"><EM>Events</EM></A>
12: <b>:</b> <EM>Match events</EM><BR>
13: <b>Previous:</b> <A HREF="mpd53.html"><EM>Timer events</EM></A><BR>
14: <b>Next:</b> <A HREF="mpd55.html"><EM>Sets</EM></A>
15:
16:
17: <HR NOSHADE>
18: <H2><A NAME="54"></A>6.2.2. Match events</H2>
19: <p>Match events are created with the <code>match</code> and <code>regex</code>
20: commands. A match event occurs when the pattern specified in
21: the <code>match</code> or <code>regex</code> command has been matched in
22: the input. Characters are only input during the execution of
23: <code>wait</code> commands. In order for a pattern to match, the
24: first matching character of the pattern must be read
25: <em>after</em> the event is created (i.e., during a subsequent
26: <code>wait</code> command).</p>
27: <p>When the pattern is matched, chat script execution continues
28: starting at the target label. When multiple patterns match on
29: the same input character, mpd chooses the first one defined to
30: be the one that matches.</p>
31: <p>The pattern is either plain text or an extended regular
32: expression (see below).</p>
33:
34: <HR NOSHADE>
1.1.1.3 ! misho 35: <A HREF="mpd.html"><EM>Mpd 5.8 User Manual</EM></A>
1.1 misho 36: <b>:</b> <A HREF="mpd50.html"><EM>Chat Scripting</EM></A>
37: <b>:</b> <A HREF="mpd52.html"><EM>Events</EM></A>
38: <b>:</b> <EM>Match events</EM><BR>
39: <b>Previous:</b> <A HREF="mpd53.html"><EM>Timer events</EM></A><BR>
40: <b>Next:</b> <A HREF="mpd55.html"><EM>Sets</EM></A>
41:
42:
43:
44: </BODY>
45: </HTML>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>