ircg_nick

(PHP 4 >= 4.0.5)

ircg_nick --  Change nickname on server

Description

bool ircg_nick ( resource connection, string nick)

Change your nickname on the given connection to the one given in nick, if possible.

Will return TRUE on success and FALSE on failure.