View Full Version : random code for playing music

19th angel
10-12-2003, 07:54 AM
hey all
i was wondering if any one had a script to get a random number say out of 4 then if it is 1 it the music on the page plys music1.mid and if it is 2 play music2.mid etc.

or is it possible using the embed command or the bgsound command to have like a playlist for the music

Philip M
10-12-2003, 09:35 AM
A simple seach of this forum would have yielded


which ought to solve your problem.