Prepare eggs, rice, and green onions.
Slice the green onions thinly.
Add oil to a pan and stir-fry the green onions to make scallion oil.
Beat the eggs, pour them into the pan, and scramble them.
Add the rice and stir-fry everything evenly.
Season with salt and pepper.