Knowledgebase
Storm Palace Hosting > Storm Hosting Help Desk > Knowledgebase

Ask a question:


On/off Say animation

Solution ON ENTER {
"Say on or off to start and stop animation. Animation can also be activated by running
your mouse over the door. Thanks to bone for donation of this script.
" LOCALMSG

2nd door

ON ENTER { 0 me setspotstatelocal }

ON ROLLOVER { 1 me setspotstatelocal 15 me setalarm }
ON ROLLOUT { 0 me setspotstatelocal }

ON OUTCHAT {
{ 1 me setspotstatelocal 15 me setalarm } chatstr "on" == if
{ 0 me setspotstatelocal } chatstr "off" == if }

ON ALARM { me getspotstate gss=
{ { gss++ gss me setspotstatelocal } { 1 gss= gss me setspotstatelocal } gss 3 < ifelse 15 me setalarm } gss 0 > if }
 
Was this article helpful? yes / no
Article details
Article ID: 344
Category: Room Scripts
Date added: 01-25-2014 22:37:34
Views: 722
Rating (Votes): Article not rated yet (0)

 
<< Go back

Powered by Help Desk Software HESK™