if( random(2) ) //Random takes the Max-1, then finds a random no. between 0 and that number{ //Hi! <-This would happen if it returned 1} else { //Bye! <- This would happen if it returned 0}