I\'m using a specific game making framework but I think the question applies to javascript
I was trying to make a narration script so the player can see \"The orc hi
servermessagelist: new Array() empties the array every time it's executed. Only execute that code once when you originally initialize the array.