So I am probably stupid, but For some reason my simple test script is not working here is the code >:
Code:
on *:text:!mod:#: {
  	if ($nick == bob) {
    msg $chan working
  }
  else msg $chan nope
}


In the main panel where it shows the errors it says >: "IF Unknown command"


Any help would be appreciated :3