Hey guys, I have another question. Along with the timer question I had earlier, I added a function when the timer runs out for a random selection. It's for a Chance-type event I'm trying to make. I get it to select randomly, but the trouble I am having, is getting the TimeOut loop to stop. How would I go about this?
Here is what I have so far:
PHP Code:
function onTimeOut() {
this.randombox = int(random(1,8));
this.chat = this.randombox;
setTimer(0.5);
}