IRC Gateway
PHP Manual

ircg_join

(PHP 4 >= 4.0.4, PHP 5 <= 5.0.5)

ircg_join — Join a channel on a connected server

Description

bool ircg_join ( resource $connection , string $channel [, string $key ] )

Join the channel channel on the server connected to by connection .

Parameters

connection

A connection resource handle returned by ircg_pconnect().

channel

The channel name as #name.

key

An optional password for the room.

Return Values

Returns TRUE on success or FALSE on failure.


IRC Gateway
PHP Manual