Spot Numbers

How do I know what spot numbers to use?
There are several ways you may be able to determine this:

 

What Iptscrae comands should I look for?
The following Iptscrae commands control spots. By looking for them in your spot script you might be able to figure out what spot numbers each script should be in. However, be warned - this can be very difficult to do. Even a simple script can be very hard to understand:

Notes:

 

I think I know what the proper spot numbers are. What should I do?
If the script resides in a single spot, looking for any spot commands as listed above should tell you which spot the script was written for. You can either change the spot number to match the script or try to change the script to the spot number you have the script in.

Obviously, the first option is the safest. However, if you change the spot number to match, make sure you do not have any other spots in the room with the same number. If you have a lot of spots in the room this might not be easy to accomplish. Now would be a good time to call in your Iptscrae expert.

If the room uses multiple scripts in multiple spots it will be more difficult to determine what spots to put each script in. You can either make an educated guess based on the information, above, or call in your Iptscrae expert.

 

Exercise 2-1:
The following is a popular link-room script. It causes a room to work as follows:

When the first spot (with script 1) is selected it causes the second spot (with script 2) to show a picture which changes each time the first spot is selected. When the second spot is selected, the user is taken to the palace indicated in the picture.

Script 1:

ON SELECT
{
{ 2 GETSPOTSTATE 1 + 2 SETSPOTSTATELOCAL } { 0 2 SETSPOTSTATELOCAL } 2 GETSPOTSTATE 3 < IFELSE
}

Script 2:

ON SELECT
{
[ "palace.chatserve.com:9998" "cug.chatserve.com:9998" "awf.chatserve.com:9998" "sam.chatserve.com:9998" ] links =
"palace://" links ME GETSPOTSTATE GET & NETGOTO
}

Determine the number of the spot each script should be in.

If you're having trouble with this, don't be discouraged. Although this is a simple example it is difficult to read unless you're familiar with Iptscrae.