var fruityloops = function(){ if(iimPlay("bot1.iim")>0) { iimPlay("bot2.iim") } else { fruityloops(); } }