I fixed it by creating the same script again and not calling it anything. The problem was that in my script, it tried to look for pie, and in the script it said hsmillingsuns_look, so the script would never had worked. ;D
Presumably you have an event function somewhere in room 1 labeled as "pie", but no such function exists in the room script. Check your event handlers (i.e., player enters room, hotspot events, object events, etc.) to see which function this is (unless you know). You'll then need to create the function appropriately in the room script.
I have tried looking for pie, and found it in the events section of hsmillingsuns under "Look at hotspot". Can somebody please help me as to what the script should be?
Can you post the script containing "pie"?
Actually that error means that a function called pie() does not exist in the script (so how can he post it?) but it's defined in a room interaction in the Editor.
To fix that, either:
1. Add the following to the room's script:
function pie(){
}
Or,
2. Just delete the text pie in the "Look at hotspot" interaction in the editor.
(actually for tidyness option 2 is preferred)