Most Referenced Functions
  » google_pagerank()
  » preg_replace()
  » imagecreatefrompng()
  » site_pageranks()
  » imagepng()
  » imagedestroy()
  » imagestring()
  » imagecolorallocate()
  » htmlentities()
  » preg_match()
  » fopen()
  » header()
  » getimagesize()
  » preg_match_all()
  » session_start()
  » htmlspecialchars()
  » ob_start()
  » ob_flush()
  » strstr()
  » flush()
  » strpos()
  » setcookie()
  » str_replace()
  » array2vars()
  » nl2br()
  » preg_split()
  » ereg()
  » ereg_replace()
  » urlencode()
  » readgzfile()

Become a sponsor for $15/month. Link is sitewide - PR5 homepage, 20+ PR4 pages, 90+ PR3 pages. Email dave[AT]icemelon[D0T]c0m.

PHP Functions

Function: ircg_register_format_messages

(PHP 4 >= 4.0.5, PHP 5)

ircg_register_format_messages --  Register a format message set

Description

bool ircg_register_format_messages ( string name, array messages )

With ircg_register_format_messages() you can customize the way your IRC output looks like or which script functions are invoked on the client side.

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 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

Related Function(s)

  • ircg_lookup_format_messages()
  • Icemelon -- PHP, CSS, Javascript Tutorials, & More!
      © 2005-2010 Icemelon.com   Email: dave[AT]icemelon[D0T]c0m