ircg_nick

(PHP 4 >= 4.0.5, PHP 5 <= 5.0.4)

ircg_nick -- Change nickname on server

Description

bool ircg_nick ( resource connection, string nick )

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

Parameters

connection

A connection resource handle returned by ircg_pconnect().

nick

The new nick name for the current user.

Return Values

Returns TRUE on success or FALSE on failure.