Thanks for all the replies!

I think I'm gonna use this one:

Code:
if (John* iswm $nick) { }



...instead of using the hostname because sometimes, the bot uses its real hostname and sometimes, it uses its vhost.




EDIT: It's working PERFECTLY! Thanks again... smile

Last edited by l0GicAL; 30/03/07 12:37 PM.