This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

help in assci code

Help for those learning Tcl or writing their own scripts.
Post Reply
User avatar
Arnold_X-P
Master
Posts: 243
Joined: Mon Oct 30, 2006 12:19 am
Location: DALnet - Trinidad - Beni - Bolivia
Contact:

help in assci code

Post by Arnold_X-P »

without in ASCII Bold text is \002 example: \002Hello\002

how would it be to place it in strikethrough try using like this: \0336 example: \0336Hello\0336
It doesn't work for me, could someone help me please?
.:an ideal world:. www.geocities.ws/chateo/yo.htm
my programming place /server ix.scay.net:7005
networks: DALnet #tcls ChatZona #tcl Libera.Chat #tcls
User avatar
CrazyCat
Revered One
Posts: 1348
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Re: help in assci code

Post by CrazyCat »

I don't think that strike exists as ascii code, and I don't think it could be supported by IRC servers.
AFAIK, you can only use:
\003 => colors
\002 => bold
\037 => underline
\026 => italic / inverted (not supported by all ircds)
User avatar
Arnold_X-P
Master
Posts: 243
Joined: Mon Oct 30, 2006 12:19 am
Location: DALnet - Trinidad - Beni - Bolivia
Contact:

Re: help in assci code

Post by Arnold_X-P »

Strikethrough letters for ASSCI are supported. I've already tested on the Dalnet network, and I've also tested on the ChatZona network and it supports it.

Image
If there is a crossed-out ASCII code for IRC and I have tested it on the dalnet and chatzona networks to see if they support it.
.:an ideal world:. www.geocities.ws/chateo/yo.htm
my programming place /server ix.scay.net:7005
networks: DALnet #tcls ChatZona #tcl Libera.Chat #tcls
User avatar
CrazyCat
Revered One
Posts: 1348
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Re: help in assci code

Post by CrazyCat »

I don't think it's implemented in all clients: https://modern.ircdocs.horse/formatting ... ikethrough

I've tested sending "\036my text\036" from an eggdrop : weechat doesn't interpret it, but thelounge shows strikethrough.

Note that the code is \036.
User avatar
Arnold_X-P
Master
Posts: 243
Joined: Mon Oct 30, 2006 12:19 am
Location: DALnet - Trinidad - Beni - Bolivia
Contact:

Re: help in assci code

Post by Arnold_X-P »

CrazyCat Thank you very much, it worked perfectly for me, I already tried it, thanks again

then it would look like this (ASCII).. as long as the IRCD supports it :
\003 => colors
\002 => bold
\037 => underline
\026 => italic / inverted (not supported by all ircds)
\036 => Strikethrough
Image
.:an ideal world:. www.geocities.ws/chateo/yo.htm
my programming place /server ix.scay.net:7005
networks: DALnet #tcls ChatZona #tcl Libera.Chat #tcls
User avatar
CrazyCat
Revered One
Posts: 1348
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Re: help in assci code

Post by CrazyCat »

Little precision: ircd's doesn't care of control codes, they send them to client (or sometime filter them, but rarely).
So, the render is only depending on client.

Flashcode had added the strikethrougt interpretation in weechat today, but as it uses ncurses and ncurses doesn't manage strikethrought, we (I proposed, Flashcode choose) choose to use "half bright" rendering.
Post Reply