User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

on_raw_irc [2013/02/18 15:17] (current)
Line 1: Line 1:
 +[[on]] [<​modes>​]raw_irc [<​serial#>​] [-|^]<​match>​ { <​action>​ }
 +Everything an irc server sends you is routed through this hook first.
 +This allows you to pre-filter anything from a server before it is 
 +handled by the client, in case the client doesn'​t know what to do with it,
 +or you want it handled differently.
 +Because every [[on raw_irc]] is checked for every line from the server, ​
 +every one you add makes the client a little bit slower. ​ Be thoughtful
 +and only use [[on raw_irc]] if there isn't another [[on]] you can use.
 +Danger -- catching something with [[on raw_irc]] suppresses the normal ​
 +handling, so be warned -- you can really screw things up by intercepting ​
 +important messages, and this would not be considered a bug.
 +|$0 |server sending message (usually the client'​s current server)|
 +|$1 |protocol command used|
 +|$2- |arguments, if any, to $1|
on_raw_irc.txt ยท Last modified: 2013/02/18 15:17 (external edit)