Recnetly bought my 1999 ZXR400 all was fine it was starting and running on the button , all be it with a slight misfire , then yesterday went out for a ride and as soon as you go to stop at traffic lights or a junction etc it would die and then refuse to start , managed to get it home after a few times of the engine dieing and lots of attempts to get it to fire up again. it now refuses to start at all , it will turnover but not fire , then to add some more confusion it then decided it wont even come onto ignition turn the key and get nothing no oil pressure or neutral lights , come back 10 minutes later and turn the key and it not only gets to ignition but even fired

, but it wont do it consistently.
So any ideas , currently im thinking could it be a spark issue or is it more likely to be a fueling one?