I wanted to know what the private messages look like, made a /debug:
<- :z!alex1990@xxx.xxx.xxx.xxx PRIVMSG alex01 :text!!!!

It's PRIVMSG, right? I wrote a small script, just to test it:
raw PRIVMSG:*: { echo -s I got some text. }

I send a message to myself from another nickname. The debug-window shows the text, but echo doesn't seem to work.
Why is that?

P.S.: If I replace the PRIVMSG with, e.g., ACTION - it still won't work. But it does work when I replace it with a numeric (on other events, of course).
But, as far as I've figured out, the PRIVMSG doesn't have its own numeric...