PHP マニュアル
前のページ |  | 次のページ

# ircg_register_format_messages

(PHP 4 >= 4.0.5, PHP 5)

ircg_register_format_messages -- IRCメッセージの表示用文字列フォーマットの設定を登録する

## 説明

boolean ircg_register_format_messages ( string name, array messages)

With ircg_register_format_messages() you can customize the way your IRC output looks like. You can even register different format string sets and switch between them on the fly with ircg_lookup_format_messages().

- Plain channel message

- Private message received

- Private message sent

- Some user leaves channel

- Some user enters channel

- Some user was kicked from the channel

- Topic has been changed

- Error

- Fatal error

- Join list end(?)

- Self part(?)

- Some user changes his nick

- Some user quits his connection

- Mass join begin

- Mass join element

- Mass join end

- Whois user

- Whois server

- Whois server

- Whois idle

- Whois channel

- Whois end

- Voice status change on user

- Operator status change on user

- Banlist

- Banlist end

- %f - from

- %t - to

- %c - channel

- %r - plain message

- %m - encoded message

- %j - js encoded message

- 1 - mod encode

- 2 - nickname decode

ircg_lookup_format_messages()も参照下さい。

前のページ | ホーム | 次のページ
ircg_pconnect | 上に戻る | ircg_set_current