obj
boomBox
icon = 'Boom Box.dmi'
icon_state = "Boom Box"
Click(S as sound)
alert("You will be able to play your own kind of music (note: ONLY MID OR WAV you can play sorry)")
switch(alert("What do you wish to do?",,"Play Music","Stop Music"))
if("Play Music")
view(30) << sound(S,1)
view(30) << "[usr] has played a song."
if("Stop Music")
view(30) << sound(null)
view(30) << "[usr] has stop the music"
Problem description:
The problem is when i click on the boom box a alert box would apper so far so good and tehn i click on "Play Music"
nothing would happen.
I want a screen appering so you can get your music.
Please help me