-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
APseudoUtopia wrote:
Ah, I suppose they are. I generally dislike using colors on IRC because the client I use doesn't manage colors well (And colors aren't even part of the RFC.. ). Anyway, is there any way to strip these color codes out? I didn't see a configuration value anywhere in the docs for it.
Stripping (Perl, adjust accordingly):
sub strip{ my $text = shift; $text =~ s/\cC\d{1,2}(?:,\d{1,2})?|[\cC\cB\cI\cU\cR\cO]//g;
return $text; }