PHP: ircg_msg - Manual

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

search for in the

ircg_names ircg_lusers

Last updated: Fri, 26 Jan 2007

view this page in

# ircg_msg

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

ircg_msg -- Send message to channel or user on server

## Description

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 connected to by `connection`. A `recipient` starting with `#` or `&` will send the `message` to a channel, anything else will be interpreted as a username.

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.

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

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST