Thanks for the answer! I have another question now: How can i make the message in 2 colors? I want nick and ip in red/blue/grey (depending ot team, i understood how to do this) and "has left!" in green.
EDIT: I found how to do this
I added some functions to my plugin and...argument type mismatch (argument 3) error + warning type mismatch. Here's s one of the messages that has this error:
Code:
case 1: ColorChat(0, RED, "^x03%s (%s) ^x04is trying to connect!", name, ip)