View Single Post
  #4  
Old 07-18-2013, 09:04 AM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
An alternative to what you're doing in your OP is to use a for() loop

PHP Code:
temp.chatArray = {
  
"First", "Second", "Third"
};

for (
temp.i = 0; temp.i < 3; temp.i ++) {
  
this.chat = temp.chatArray[temp.i];

  
//Use waitFor() instead of sleep
  
waitFor(this, this, 1);
} 
Reply With Quote