playsound
The playsound command plays a sound on the object.



"then(playsound, sound index)"


Argument Function
sound index The index in which the sound is being stored under, used in other scripts



And example of the playsound command used in a script is as follows...




The following script plays a sound when the block is destroyed.


if(destroyed)
{
then(playsound,snd_explosion)
}