PHP Manual: ircg_nick
ircg_nick
Description
bool ircg_nick ( resource connection, string nick )
Change your nickname on the given connection to the
specified one, if possible.
Parameters
connectionA connection resource handle returned by ircg_pconnect().
nickThe new nick name for the current user.