exit will make the script end yes, so if you want it to do something else in the same script delete the exit by all means.
unknown operator basically means that you are giving the script an instruction it doesn't understand. check the command reference and make sure you have the syntax and spelling correct for every command - I always have to check everything, which is why I don't pretend I can remember it .......
you might need == rather than =
if you're quick, the white text at the top of the screen sometimes gives you clues as to what part is going wrong.
the basic principle in debugging a script is to break it down into seperate parts an see if you can make each part work. for example, can you camcreate one bomb?