alias contplay {
if ( %mp3dir == 1 ) { set %p3dir c:\documents and settings\desktop\skynyrd tunes\ }
if ( %mp3dir == 2 ) { set %p3dir c:\documents and settings\desktop\motown\ }
if ( %mp3dir == 3 ) { set %p3dir c:\documents and settings\desktop\tunes\ }
if ( %mp3dir == 4 ) { set %p3dir c:\documents and settings\desktop\alternative\ }
set %rand $findfile(%p3dir,*.mp3,$rand(1,$findfile(%p3dir,*.mp3,*)))
run -np %rand
msg $active 1 $+ $chr(91) $+ $+ $rand(1,7) $+ Continuous-Play $+ 1 $+ $chr(93) 1 $&
$+ $chr(91) $+ $+ $rand(1,7) $+ $nopath(%rand) $+ 1 $+ $chr(93)
set %starttime $mp3(%rand).length / 1000
inc %z
.timersong 1 %starttime /contplay
if ( %z > 10 ) {
set %z 0
set %mp3dir $rand(1,4)
.timersong off
/contplay
}
}