The Basics

What is a room script?
A room script is a set of instructions placed in a room to cause it to do special things. Popular examples of room scripts are:

Scripts are placed in 'spots'. Some spots are 'doors' which can take the user to another room. Spots have information associated with them, one of the most important being the spot number.

 

How do they work?
Room scripts are written in a computer language called Iptscrae. They can respond to the following specific events:

 

How do you put a script in a room?
In order to add a script to a room you must turn on 'Authoring'. This requires you to be an Owner or Operator (depending on how the Palace is set up).

Once you have turned on Authoring, you create a new spot using the Operator pull-down menu. Once you have created a spot you can assign basic information to it, assign graphics and/or scripts to it and change its shape:

 

Exercise 1-1:
Create a new room.

Create a new spot in that room.

Place the following script in the spot:
ON SELECT { "You have successfully added this script to your room." LOCALMSG }

Turn off Authoring and 'select' the spot. You should get a message saying " You have successfully added this script to your room."