Spots can have multiple states and sometimes a different picture can be associated with each state. You can use the SETSPOTSTATE command to flip through pics in an animation script. If, in your door (ID 1), you had 7 pictures... blank.gif ----- this is spotstate 0 (we start counting with 0 in iptscrae) dice01.gif ---- this is spotstate 1 dice02.gif ---- this is spotstate 2 dice03.gif ---- this is spotstate 3 diceo4.gif ---- this is spotstate 4 dice05.gif ---- this is spotstate 5 dice06.gif ---- this is spotstate 6 You can call these up by using the SETSPOTSTATE command right on the chatline. If you typed /3 1 SETSPOTSTATE it would show the pic dice03.gif in that door to everyone in the room. If however, you typed /3 1 SETSPOTSTATELOCAL, it would show only to you because the local command doesnt notify the server and you are the one executing the local command. You can do the same thing with a script like this put in the same door as the pics... ON OUTCHAT { { 4 ME SETSPOTSTATELOCAL } CHATSTR "4change" == IF } Since this script is in Door ID 1, we could have written this script like this too... ON OUTCHAT { { 4 1 SETSPOTSTATELOCAL } CHATSTR "4change" == IF } Since the script is IN the door with the pics that will be changing, rather than grab a door id, its just simpler to use the ME command because thats saying THIS door. Another way to script this so you can call up any of the pics is like this... ON OUTCHAT { { "$1" GREPSUB ATOI ME SETSPOTSTATE "" CHATSTR = } CHATSTR "^pic([0-7]*)" GREPSTR IF } By saying pic6, you will cause dice06.gif to show in the door to the whole room with the SETSPOTSTATE command. You can do the same thing with two pictures in a door and flip flop back and forth between the two states with a script. In door id 1, we now have these pics... dice01.gif dice02.gif And this script... ON SELECT { ME GETSPOTSTATE NOT ME SETSPOTSTATELOCAL } Now lets talk about door locks and their states. They only have 2. Its either 0 (open) or 1 (shut). When you want to lock a door, just by having this script in a door will lock or unlock the room.... ON SELECT { { ME LOCK } { ME UNLOCK } ME ISLOCKED IFELSE } Of course there is other criteria to be met to make this lock actually work for your room that you can find on the Doorlock script page, but this is just showing you the two spotstates. Now say you have 2 spots in a room and you want to alternate between the doors and show a pic in door id 1, have that pic disappear, and at the same time it disappears in door id 1, then the pic will show up in door id 2. We are going to have 2 actual pics in each door with a blank.gif as the first pic so thats going to be 3 pics per door total. ON ENTER { 0 1 SETSPOTSTATELOCAL ;makes the blank.gif show up in door id 1 on entering the room) 0 2 SETSPOTSTATELOCAL ;makes the blank.gif show up in door id 2 upon entering the room } ON OUTCHAT { { ;pic 1 in door id 1 shows { 1 1 SETSPOTSTATELOCAL } 10 ALARMEXEC ;pic 1 in door id 1 goes away and pic 1 in door id 2 shows up { 0 1 SETSPOTSTATELOCAL 1 2 SETSPOTSTATELOCAL } 100 ALARMEXEC ;pic 1 in door id 2 goes away and pic 2 in door id 1 shows up { 0 2 SETSPOTSTATELOCAL 2 1 SETSPOTSTATELOCAL } 200 ALARMEXEC ;pic 2 in door id 1 goes way and pic 2 in door id 2 shows up { 0 1 SETSPOTSTATELOCAL 2 2 SETSPOTSTATELOCAL } 300 ALARMEXEC ;pic 2 in door id 2 goes away and you are done { 0 2 SETSPOTSTATELOCAL } 400 ALARMEXEC } CHATSTR "gopic" == IF } ;Remember these points..... 1. pics are numbered in a door starting with 0 2. in scripts such as locking scripts 0 = open and 1 = shut