Posted 30 July 2013 - 06:59 PM
I'm currently working on a dj script
I'm a DJ at an internet radio station and we just got a MC sever
we add costum music discs and they run in CC
now we are trying to set up a looping system that can loop at corret time for each disc as well as shuffle
ive look through several tutorials but they should be right. im missing something
so i was hoping some might see what i dont.
I'm a DJ at an internet radio station and we just got a MC sever
we add costum music discs and they run in CC
now we are trying to set up a looping system that can loop at corret time for each disc as well as shuffle
while(true)do
a = math.random(0,5)
if a = 0 then b = 100 end
if a = 1 then b = 255 end
if a = 2 then b = 175 end
if a = 3 then b = 126 end
if a = 4 then b = 78 end
if a = 5 then b = 160 end
shell.run("dj", "play drive_"a)
sleep(B)/>/>
end
someith is wrong with my if statments but i can figure out whative look through several tutorials but they should be right. im missing something
so i was hoping some might see what i dont.