Сеть
обработчик событий в micq
читаем мануал :)
~$ man climmrc
event <script>
Set the script to execute for events to script. It is called
with the following arguments:
1. The IM type, currently only icq.
2. The UIN of the contact this event relates to, or 0.
3. The nick of the contact this events to relates to, or the
empty string.
4. The string global.
5. The type of this event, which can be msg, on, off, beep or
status, where on and off are for oncoming and offgoing contacts.
This list may not be exhaustive.
6. For messages, the message type, for offgoing contacts, the
previous status, and for oncoming contacts or status changes,
the new status, otherwise 0.
7. The text of the message.
8. The contact's user agent.
