libirc.php
changeset 33 c3179049f670
parent 32 236fd4f65752
child 38 e6a4b7f91e91
equal deleted inserted replaced
32:236fd4f65752 33:c3179049f670
   218       $this->put("PRIVMSG $nick :$line\r\n");
   218       $this->put("PRIVMSG $nick :$line\r\n");
   219     }
   219     }
   220   }
   220   }
   221   
   221   
   222   /**
   222   /**
   223   * Parse bold (<b>...</b>) tags and color tags in a text into IRC speak, and process /me commands. Colors are <cyan>...</cyan>, specify background with <fg:bg>...</fgcolor:bgcolor>. Valid colors are white, black, navy, green, red, maroon, purple, orange, yellow, lime, teal, aqua, cyan, blue, pink, grey, and silver
   223    * Parse bold (<b>...</b>) tags and color tags in a text into IRC speak, and process /me commands. Colors are <cyan>...</cyan>, specify background with <fg:bg>...</fgcolor:bgcolor>. Valid colors are white, black, navy, green, red, maroon, purple, orange, yellow, lime, teal, aqua, cyan, blue, pink, grey, and silver
   224    * @param string Text to filter
   224    * @param string Text to filter
   225    * @return string
   225    * @return string
   226    */
   226    */
   227   
   227   
   228   function filter_message($text)
   228   function filter_message($text)