Knowledgebase
Storm Palace Hosting > Storm Hosting Help Desk > Knowledgebase

Ask a question:


Link room script

Solution ON ENTER { picsspot GLOBAL numlinks GLOBAL
;change the number 2 for the number of spotID this is.
2 picsspot =
;change the 5 for the number of links you have not counting the title
2 numlinks =
}
ON SELECT { picsspot GLOBAL numlinks GLOBAL
{ "Select Destination first please" LOCALMSG } picsspot GETSPOTSTATE 0 == IF
{ "palace://'213.239.185.32:9998" NETGOTO } picsspot GETSPOTSTATE 2 == IF
{ "palace://213.239.184.21:9998" NETGOTO } picsspot GETSPOTSTATE 3 == IF
{ "palace://addresslink3" NETGOTO } picsspot GETSPOTSTATE 4 == IF
{ "palace://addresslink4" NETGOTO } picsspot GETSPOTSTATE 5 == IF
{ "palace://addresslink5" NETGOTO } picsspot GETSPOTSTATE 6 == IF
}


In next door:
ON SELECT { picsspot GLOBAL numlinks GLOBAL
"click" SOUND
{ 0 picsspot setspotstatelocal }
{ picsspot getspotstate 1+ picsspot setspotstatelocal } picsspot getspotstate numlinks 1 - > ifelse
}
 
Was this article helpful? yes / no
Article details
Article ID: 332
Category: Room Scripts
Date added: 01-06-2014 07:01:22
Views: 471
Rating (Votes): Article not rated yet (0)

 
<< Go back

Powered by Help Desk Software HESK™