PHP Manual: ircg_join
ircg_join
Description
bool ircg_join ( resource connection, string channel [, string key] )
Join the channel channel on the server
connected to by connection.
Parameters
connectionA connection resource handle returned by ircg_pconnect().
channelThe channel name as #name.
keyAn optional password for the room.