This code will give the player the ability to look in adjacent rooms by typing i.e. "look north", "look s", etc. and also to look at individual objects in those rooms. Everything has been done using the GUI.
There is a "Help" command in the file attached which will explain what changes I made to the code and what you have to do in case you want to override the "lookat" command.
There currently is a problem with dark rooms. If, for example, you were to look at an adjacent room which is dark you would still be able to see all objects inside of it and could inspect them individually.
I couldn't find any other errors, but I would be happy if somebody would tell me in case he/she finds some. I would also appreciate it if somebody could tell me how to resolve the problem with the dark rooms.
Edit: All problems (I know of) like the problem with looking at dark rooms have been fixed.