Stop using Euphoria, that shit's outdated. Build up on this with OneLua.
math.randomseed(os.time())
color.loadpalette()
red = color.new(255, 0, 0)
path = "ms0:/MUSIC"
files.cdir(path)
dir = files.listfiles(path)
random_file = dir[math.random(#dir)]
song = sound.load(random_file.name)...