PHP
downloads | documentation | faq | getting help | mailing lists | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ircg_names> <ircg_lusers
Last updated: Sun, 25 Nov 2007

view this page in

ircg_msg

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

ircg_msg — Send message to channel or user on server

Popis

bool ircg_msg ( resource $connection , string $recipient , string $message [, bool $suppress ] )

ircg_msg() will send the message to a channel or user on the server.

Parametre

connection

A connection resource handle returned by ircg_pconnect().

recipient

A recipient starting with # or & will send the message to a channel, anything else will be interpreted as a username.

message

The message to be sent.

suppress

Setting the optional parameter suppress to a TRUE value will suppress output of your message to your own connection . This so-called loopback is necessary, because the IRC server does not echo PRIVMSG commands back to us.

Vrátené hodnoty

Vracia TRUE pri úspechu alebe FALSE pri chybe.



add a note add a note User Contributed Notes
ircg_msg
There are no user contributed notes for this page.

ircg_names> <ircg_lusers
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites