ID:262567
 
Code:
area
Nomonsterpass1 //Make a new one for each area or else it will be buggy.
Enter()
if(usr.monster==1)
return
else
usr<<sound('battle.mid',1)
usr.loc=locate(x,y,z)


Problem description:

the music works fine, and everything, but it doesn't stop unless you log out, it just keeps playing and playing until you start one of the other songs,which don't stop either.
usr<<sound('battle.mid',1)

Try taking out the 1. I think that makes it repeat.
In response to Turles9000
thanks, it worked
I'm pretty sure you've already been told this dozens of times, but just once more:

No put usr in proc. Ungh.

Seriously, get that out of Enter(). It has no business there. You also should be using if(mob.monster) instead of if(mob.monster==1), since the latter is brittle.

Lummox JR