From the NannyMUD documentation

LAST CHANGE

2002-07-19

NAME

        msp - MUD Sound Protocol

DESCRIPTION

	INTRODUCTION
	
	The MUD Sound Protocol (MSP) is a simple way of adding sound
	effects to events in the MUD, and also ambient music. The idea
	is that the MUD sends a string, which is interpreted by the
	client, and the client plays an appropriate sound on the
	players terminal.

	The MSP originated as a collaborative effort Zuggsoft,
	www.zuggsoft.com, the company behind the MUD client zMUD. zMUD
	is the prime client with MSP support.

	The NannyMUD implementation follows MSP version 0.3.


	PROTOCOL DESCRIPTION

	The MSP contains two primitives, one for 'music' and one for
	'sound'. The strings sent to the client from the server are
	very similar and looks like this:

	!!MUSIC(fname V=vol L=repeats C=continue T=type U=URL)
	!!SOUND(fname V=vol L=repeats P=priority T=type U=URL)

	The 'fname' argument shall contain a relative path, and
	possibly wildcards. The separator used shall be '/' and not
	'\' to avoid problems with escaping '\'. Wildcards are '*'
	which matches the rest of the filename, and '?' which matches
	exactly on character. If more than one file matches the
	pattern, one should be picked at random. If no extension is
	specified, it is assumed to be '.wav'.

	The 'V' argument specifies the volume, from 0 to 100. It is
	optional, with the default value of 100.
	
	The 'L' argument specifies how many times the sound should be
	repeated. It is optional with a default value of 1. If given
	the value '-1', the sound should be repeated forever.
	
	The 'P' argument specifies the priority of a sound, and is
	only valid for 'sound', not music. It is optional with a
	default value of 50. The range, if given, is 0 to 100.
	
	The 'C' argument is only valid for 'music'. It is optional
	with a default value of 1. It specifies if a music being
	played should continue, or restart, when requested again. The
	default is to continue.

	The 'U' argument specifies an URL on the WWW from where the
	sound can be downloaded. Unfortunately, this does not work
	with any version of zMUD that we have tried, including the
	latest.

	The 'T' argument specifies the class of the sound. This is is
	MUD specific.

NOTE

	NannyMUD does not use the 'T' argument.