It has been some time since the day I thought IRC was lacking a way to show ” * nick’s something” with “‘s” appended to the nickname without a space.
“/me” shows a space between the nickname and the text, so “/me ‘s whatever” doesn’t look nice.
So today I thought “if /me uses a ctcp ACTION, why not use ctcp SELF for /my?” and decided to write a short script which sent SELF ctcps when the user types /my, and handles SELF ctcps from other people to display them as ” * nick’s message”. This worked mostly well, except for some people’s IRC clients which would reply with an error message when they received the ctcp command.
Later I thought of a nicer solution which wouldn’t introduce any new CTCP command and would keep the messages compatible with every client.
The idea was to use normal ACTION messages where the beginning is “‘s”, and replace the messages so that if the text starts with “‘s”, it shows it without a space.
Read the rest of this entry »