ID:1550393
 
(See the best response by Vrocaan.)
can someone tell me what is the right code for sounds ?
i try all types of sound codes and no use it keeps saying error.
Best response
I'm no Deblover, but you may want to post an example on what's going wrong. Just saying something doesn't work won't help anyone.
The basic syntax for playing a sound is exampled in both the sound datum and the sound proc entries of the reference. Press F1 with dream maker open and check out these entries.

If you encounter any issues please reply with the code that you used that is not giving the desired output.
First off if you're copy and pasting codes into DM, you might have to re-tab them. Also, the apporpiate proc of playing sounds is sound(). Example on how to use it:

mob
Login()
..()
src<<sound('a song.mid',volume=90)//File, loop(which was ignored by putting the volume variable), volume, channel.


But if you don't care for volume, looping, or what channel it is in, then just do this:

mob
Login()
..()
src<<'Mysong.mid'


Yep, pretty simple! =)