ircg_pconnectDescriptionresource ircg_pconnect ( string username [, string server_ip [, int server_port [, string msg_format [, array ctcp_messages [, array user_settings [, bool bailout_on_trivial]]]]]] )ircg_pconnect() will try to establish a connection to an IRC server and return a connection resource handle for further use.
The only mandatory parameter is
You can customize the output of IRC messages and events by
selecting a format message set previously created with
ircg_register_format_messages() by specifying
the set's name in
If you want to handle CTCP messages such as ACTION (/me), you need to
define a mapping from CTCP type (e.g. ACTION) to a custom format
string. Do this by passing an associative array as
You can define "ident", "password", and "realname" tokens which
are sent to the IRC server by setting these in an associative
array. Pass that array as See also: ircg_disconnect(), ircg_is_conn_alive(), ircg_register_format_messages(). | ||