var r1; var r2; var r3; var gokei; r1 = rnd(10); r2 = rnd(10); r3 = rnd(2); log(r1); sleep(1000); if(r3 == 0){ log("+"); gokei = r1 + r2; } else{ log("-"); gokei = r1 - r2; } sleep(1000); log(r2); sleep(1000); log("="); sleep(1000); log(gokei); log("\n");