The code then returns to the game, and then the 'end' keyword shows that it is the end of the code. You could change this so that it cycled through multiple camera positions before returning. Now save that file in your projects directory. The camera.cog should be there, so add that cog. Just put in the thing number.
Camera is usually a ghost thing.
Just add a new thing of type ghost. The hard bit is getting the pitch, yaw, and roll just right. These 3 things are what actually align the camera's view.