Skip to content

Instantly share code, notes, and snippets.

@zeroeth
Created March 13, 2013 01:40
Show Gist options
  • Select an option

  • Save zeroeth/5148723 to your computer and use it in GitHub Desktop.

Select an option

Save zeroeth/5148723 to your computer and use it in GitHub Desktop.
irssi colors codes for scripting
sub cmd_color_weee {
foreach my $i (1..15) {
Irssi::active_win()->print(chr(3)."$i"."rubi ルビーオンレイルズ"." $i");
}
Irssi::active_win()->print("x %kr%ru%gb%yi %bル%mビ%wー%pオ%cン%nレ%kイ%rル%gズ");
Irssi::active_win()->print("X %Kr%Ru%Gb%Yi %Bル%Mビ%Wー%Pオ%Cン%Nレ%Kイ%Rル%Gズ");
Irssi::active_win()->print("# %0r%1u%2b%3i %4ル%5ビ%6ー%7オ%0ン%1レ%2イ%3ル%4ズ");
}
Irssi::command_bind('the_colors_duke', 'cmd_color_weee');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment