Hello,

I have this line in my script:

Code:
  if ($nick == JohnDoe)



...but sometimes, the nick of the bot JohnDoe changes to JohnDoe1 or JohnDoe2 or JohnDoe3 then back again to JohnDoe and so on and so forth.

I tried doing:

Code:
  if ($nick == John*)



...and obviously it doesn't work. Any help?


Thanks...