ircg_notice
(PHP 4 >= 4.0.5, PHP 5 <= 5.0.5)
ircg_notice — Send a notice to a user on server
说明
bool ircg_notice
( resource $connection
, string $nick
, string $message
)
This function will send the message text to the user nick on the server connected to by connection . IRC servers and other software will not automatically generate replies to NOTICEs in contrast to other message types.
参数
- connection
-
A connection resource handle returned by ircg_pconnect().
- nick
-
The destination user.
- message
-
The message contents.
返回值
如果成功则返回 TRUE,失败则返回 FALSE。