new iColor = random_num(1, 3) switch(iColor) { case 1: set_user_rendering() // just put w/e belongs in here case 2: // same thing case 3: // same thing }