The oil light is controlled by a pressure switch, if the oil pump makes pressure (over 5-7 psi) and the key switch is on, the oil light should go out when the oil pump spins. As it is connected to the crankshaft, either e start or kick start will spin the pump. If you have enough oil in the sump, the pump will make pressure in the oiling galleries. After some time of not spinning, the pressure previously built up slowly bleeds down below 5 psi. The light should warn of this condition.
If you suspect ignition power is not there, check the bar control off- run- off switch, and position it in the run position.