Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : IRC Gateway Functions : ircg_channel_mode

ircg_channel_mode

Set channel mode flags for user (PHP 4 >= 4.0.5, PHP 5 <= 5.0.5)
bool ircg_channel_mode ( resource connection, string channel, string mode_spec, string nick )


Code Examples / Notes » ircg_channel_mode

lanzer22

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!


Change Language


Follow Navioo On Twitter
ircg_channel_mode
ircg_disconnect
ircg_eval_ecmascript_params
ircg_fetch_error_msg
ircg_get_username
ircg_html_encode
ircg_ignore_add
ircg_ignore_del
ircg_invite
ircg_is_conn_alive
ircg_join
ircg_kick
ircg_list
ircg_lookup_format_messages
ircg_lusers
ircg_msg
ircg_names
ircg_nick
ircg_nickname_escape
ircg_nickname_unescape
ircg_notice
ircg_oper
ircg_part
ircg_pconnect
ircg_register_format_messages
ircg_set_current
ircg_set_file
ircg_set_on_die
ircg_topic
ircg_who
ircg_whois
eXTReMe Tracker