Which engine is it?
Cobra immobiliser, so pre MY95? Do you have the factory alarm fitted? Could be it's motherboard (sits behind and slightly below light switch), common fault for solder spots to break on the board... If you do have it worth taking out and checking solder spots on the board - if you see cold spots that are cracked then resolder and see if that helps!