I have this code for playing mp3songs, the problem is it cannot play a filename with spaces in it, so how to make it play filename with or without spaces.
code:
on *:MP3END:{
var %num = $findfile($mp3dir,*.mp3,0)
if (%num) { var %song = $findfile($mp3dir,*.mp3,$rand(1,%num)) }
/.sound #mychannel %song
}
appreciate if u can help me out.