Web студия "GrandView"
  Главная   Написать Контакты
   
   
О проекте
Руководство php
 

ircg_channel_mode

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

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.

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.



add a note add a note User Contributed Notes
ircg_channel_mode
lanzer22 at yahoo dot com
18-Jun-2003 01:56
To grant rights to user named "admin", the following did not work for me:

ircg_channel_mode($session_id, "#test", "+o", "admin");

instead, try:

ircg_channel_mode($session_id, "#test", "+o admin");

Have fun!

ircg_disconnect> <IRC Gateway
Last updated: Fri, 26 Jan 2007
 
 
Новости
11 июля 2007
Сайт запущен
© 2007 info@grandviewstudio.com

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 324

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 330
Z058440144362 Z348613067571