Crack the eggs into a bowl and beat them well.
Finely chop the onion, green chili, and green onion.
Add the soy sauce, water, sugar, sesame oil, and the chopped ingredients into the bowl and mix well.
Pour the mixed ingredients into a pot and simmer over medium-low heat.
Once the egg mixture is cooked, turn off the heat and transfer to a serving dish.