Hi,
I have a Music Room.
And I have door into the Music Room with this script
Code:
ON ENTER
{
"Welcome in to the Music Box. For a list with track titles typ "songlist". The list appears in you log." LOCALMSG
"To control the Music Box you use the >> "Forward" en << "Backward" buttons to cycle through the list." LOCALMSG
"Use the Stop and Play buttons to Start or Stop the music." LOCALMSG
0 6 SETSPOTSTATELOCAL
1 7 SETSPOTSTATELOCAL
songList GLOBAL
songNumber GLOBAL
1 songNumber =
2 ARRAY songList =
["nummer2.wav" "***.wav" ] songList =
songNumber tempNumber =
tempNumber --
songList tempNumber GET tempStr =
}
ON OUTCHAT {
{
{ LOGMSG } [ "1- test" "2 - ***" ] FOREACH
} CHATSTR "^songlist" GREPSTR IF
}
The problem is after a while hte LOCALMSG gets corrupt.
A couple of days it goes fine, but then it only shows half sentences.
Instead of "Welcome in to the Music Box. For a list with track titles typ "songlist". The list appears in you log."
It only says "The list appears in you log."
LOCALMSG 2 says,
"buttons to cycle through the list." instead of "To control the Music Box you use the >> "Forward" en << "Backward" buttons to cycle through the list."
Only LOCALMSG 3 goes correct.
What is this?
Greetings Cor