Originally Posted By: Nillen

As you can clearly see, the IF statements in the 2 top scripts have not been opened with a bracket. Whereas the bottom 2 have been scripted properly.

Syntax is: IF (CONDITION) { DO STUFF }
What you have is: IF (CONDITION)
And nothing else.

ok i see, that worked smile thanks and now i will never mess up on something like that again!

Code:
on *:TEXT:!timeout*:#: {
  if ($read(reglist.txt,nw,$nick)) {
    msg $chan timing out $$2 for $$3 seconds
    msg $chan .timeout $$2 $$3
  }
}
on *:TEXT:!to*:#: {
  if ($read(sreglist.txt,nw,$nick)) {
    msg $chan timing out $$2 for $$3 seconds
    msg $chan .timeout $$2 $$3
  }
}

Last edited by judge2020; 31/03/14 10:02 PM.

#imAbeginner
i made a chat bot for mark_paintball! http://twitch.tv/mark_paintball