Need some help

Alright so I bought this 91 Integra not too long ago. The guy that had it was one of those bolt on parts guys and didn’t take basic care of it. I mean the car needed an oil change BADLY. It was awful. But anyway I’m having this problem, so lets say I’m at a light and the car idles, well when I go to put it in first, it just dies and then wont start at all. I have to put my hazards on and sit there trying to get the car to start again. It clicks and clicks, rolls forward, try to throw it in first again, it completely dies,won’t go into first and get going. It just started doing this. The battery light also goes on when the clutch it applied, that doesn’t seem normal. But the car has gone through several engines, right now this is,according to the guy I bought it from, it’s third engine. It has a b18b, so idk if that has anything to do with it screwing up, maybe something wasn’t done properly. I just hope this isn’t anything serious, if you guys could help me out that’d be great.

http://forums.g2ic.com/announcement.php?f=29

USE APPROPRIATE SUBJECTS
Your subject should be a broad description of what your problem/question/topic is. For example, don’t post a thread with just “HELP” or “QUICK QUESTION” in the subject. Doing this will be regarded as pure laziness and the thread will be promptly deleted. Using appropriate subjects helps the search engine function better!. Also, do NOT use a different subject than what your thread is about, just to get attention. It will also be deleted.