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

search for in the

ircg_disconnect> <IRC Gateway
Last updated: Sun, 25 Nov 2007

view this page in

ircg_channel_mode

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

ircg_channel_mode — Set channel mode flags for user

Description

bool ircg_channel_mode ( resource $connection , string $channel , string $mode_spec , string $nick )

Set channel mode flags for channel on server connected to by connection . Mode flags are passed in mode_spec and are applied to the user specified by nick .

Parameters

connection

A connection resource handle returned by ircg_pconnect().

channel

The channel name as #name.

mode_spec

The mode to be applied on nick .

Mode flags are set or cleared by specifying a mode character and prepending it with a plus or minus character, respectively. E.g. operator mode is granted by '+o' and revoked by '-o', as passed as mode_spec .

nick

The user on which to apply the given mode.

Return Values

Επιστρέφει TRUE σε επιτυχία ή FALSE σε αποτυχία.



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

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