Knowledgebase
Storm Palace Hosting > Storm Hosting Help Desk > Knowledgebase

Ask a question:


Slide Room Link Script

Solution Main Door ( pics go in here)
ON ENTER { 0 2 SETSPOTSTATELOCAL }
ON SELECT {
{ "Click The Left or the Right Arrow First" LOCALMSG } 2 GETSPOTSTATE 0 == IF
{ {7109 GOTOROOM } 25 ALARMEXEC } 2 GETSPOTSTATE 1 == IF
{ { 7108 GOTOROOM } 25 ALARMEXEC } 2 GETSPOTSTATE 2 == IF
{ { 7105 GOTOROOM } 25 ALARMEXEC } 2 GETSPOTSTATE 3 == IF
{ { 7111 GOTOROOM } 25 ALARMEXEC } 2 GETSPOTSTATE 4 == IF
{ { 7106 GOTOROOM } 25 ALARMEXEC } 2 GETSPOTSTATE 5 == IF
{ { 7113 GOTOROOM } 25 ALARMEXEC } 2 GETSPOTSTATE 6 == IF

}

Next Arrow Door
ON SELECT { "click" SOUND
{ 0 2 SETSPOTSTATELOCAL }
{ 2 GETSPOTSTATE 1+ 2 SETSPOTSTATELOCAL } 2 GETSPOTSTATE 6 > IFELSE
{ "Name1" LOCALMSG } 2 GETSPOTSTATE 1 == IF
{ "Name2" LOCALMSG } 2 GETSPOTSTATE 2 == IF
{ "Name3" LOCALMSG } 2 GETSPOTSTATE 3 == IF
{ "Name4" LOCALMSG } 2 GETSPOTSTATE 4== IF
{ "Name5" LOCALMSG } 2 GETSPOTSTATE 5 == IF
{ "Name6" LOCALMSG } 2 GETSPOTSTATE 6 == IF
}
 
Was this article helpful? yes / no
Article details
Article ID: 384
Category: Scripts
Date added: 08-10-2015 05:34:31
Views: 232
Rating (Votes): Article not rated yet (0)

 
<< Go back

Powered by Help Desk Software HESK™