Heat oil in a large non-stick pan on medium-low heat and saute onions till tender and lightly browned. Add in chilli powder and salt, and fry for a few seconds. Be careful not to let it burn.
Add in chopped tomato, and fry till it starts to pulp. Now mix in the beaten eggs, and continue stirring to scramble them and incorporate well with the masala.