Right calm down. Its ok take a deep breath. There that better? Ok. You can only add a script to a map file that has been saved. Try saving your map before you try to add a script. Just so you know, I've been using this engine for a while now and haven't found a single "bug" that has not actually been me doing something wrong.