ID:165762
 
mob
verb
music()
if(src.lmusic==1)
src<<"You have to stop the other one first."
return
src.music = input("Choose some music.","Music",src.music) in list("Title","Cancel")
if(src.music=="Title" && src.lmusic==0)
src<<sound('title.mid')
src<<"You play [music]"
src.lmusic=1
if(src.music=="Cancel")
return
endmusic()
src<<sound(null)
src.lmusic=0


ok there are many other musics, now what i need to do, is have an option in the music verb to choose your own mid from your own computer.

can yall help me with that?
Music(S as sound)
world << sound(S,1)


Thats How I do it, I'm not sure how to incorporate that into that verb, but you could make a different verb for playing your own music.
In response to KirbyAllStar
could make that into a proc when you chose the option in the music section
In response to VolksBlade
it no working.. :'(
In response to VolksBlade
mob
verb
PlayMusic()
if(music)
src<<"You have to stop the other one first."
else
music = input("Choose some music.","Music") as null|anything in musiclist
if(!music)return
else
src<<sound(music,1)
src<<"You play [music]"
music++


endmusic()
if(!music)
src<<"You decided notadd any play music"
else
src<<sound(null,null)
music--
mob
var
musiclist = list('title.mid')
music
mob
verb
AddMusic(S as sound)
if(S)
musiclist+=S
else
src<<"You decided not to play music"
RemoveMusic()
if(!length(musiclist))
src<<"There is no music to remove."
else
music=input("What song?") as null|anything in musiclist
if(!music)return
else
src<<"You removed [music]"
musiclist -= music

Here is a much better system to use.