The waterfall behind the cave

Short stories and other random thoughts by Gigaherz

Month: April, 2008

“/my” commands in IRC

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 »

Advertisements

Crow Blade: An Online Fantasy Book

Gigaherz is proud to present all of you his newest and latest “story intro” (well I don’t know if i’ll be continuing it soon XD):

Crow Blade

Read the rest of this entry »