Put the IF/ELSEIF/ELSE into an alias and call the alias with a timer.

Code:
on *:join:#: {
  .timer 1 5 MyAlias
}
alias MyAlias {
  if (whatever) { }
  elseif (whatever) { }
  else { }
}


Btw, in the future, please use CODE tags when posting code to the forum. You can use iether the # button above your post or manually type [ code ] before the code and [/code] after the code (no spaces around the word code). It makes it much easier to read.

In addition, you don't need to use / inside a script. /mode can be written as mode .

Last edited by Riamus2; 28/03/11 09:34 PM.

Invision Support
#Invision on irc.irchighway.net