. 'Can optionally set your bitlbee /away message to same',
license => 'GNU GPL v2',
url => 'http://tinyurl.com/twirssi',
. 'Can optionally set your bitlbee /away message to same',
license => 'GNU GPL v2',
url => 'http://tinyurl.com/twirssi',
if ( $_ =~ /\@($meta{account})\W/ ) {
$meta{nick} = "\cC$hilight_color$meta{nick}\cO";
$hilight = MSGLEVEL_HILIGHT;
}
if ( $meta{type} eq 'tweet' ) {
if ( $_ =~ /\@($meta{account})\W/ ) {
$meta{nick} = "\cC$hilight_color$meta{nick}\cO";
$hilight = MSGLEVEL_HILIGHT;
}
if ( $meta{type} eq 'tweet' ) {
- push @lines, [(MSGLEVEL_PUBLIC | $hilight), $meta{type}, $account, $meta{nick}, $marker, $_];
+ push @lines,
+ [
+ ( MSGLEVEL_PUBLIC | $hilight ),
+ $meta{type}, $account, $meta{nick}, $marker, $_
+ ];
- push @lines, [(MSGLEVEL_PUBLIC | $hilight), $meta{type}, $account, $meta{nick}, $marker, $_];
+ push @lines,
+ [
+ ( MSGLEVEL_PUBLIC | $hilight ),
+ $meta{type}, $account, $meta{nick}, $marker, $_
+ ];
- push @lines, [(MSGLEVEL_MSGS | $hilight), $meta{type}, $account, $meta{nick}, $_];
+ push @lines,
+ [
+ ( MSGLEVEL_MSGS | $hilight ),
+ $meta{type}, $account, $meta{nick}, $_
+ ];
- for my $line ( @lines ) {
- $window->printformat(@$line[0], "twirssi_".@$line[1],
- @$line[2,3,4,5]);
+ for my $line (@lines) {
+ $window->printformat(
+ @$line[0],
+ "twirssi_" . @$line[1],
+ @$line[ 2, 3, 4, 5 ]
+ );
-Irssi::theme_register([
- 'twirssi_tweet', '[$0%B@$1%n$2] $3',
- 'twirssi_reply', '[$0\--> %B@$1%n$2] $3',
- 'twirssi_dm', '[$0%B@$1%n (%WDM%n)] $2',
- 'twirssi_error', 'ERROR: $0',
-]);
+Irssi::theme_register(
+ [
+ 'twirssi_tweet', '[$0%B@$1%n$2] $3',
+ 'twirssi_reply', '[$0\--> %B@$1%n$2] $3',
+ 'twirssi_dm', '[$0%B@$1%n (%WDM%n)] $2',
+ 'twirssi_error', 'ERROR: $0',
+ ]
+);
Irssi::settings_add_str( "twirssi", "twitter_window", "twitter" );
Irssi::settings_add_str( "twirssi", "bitlbee_server", "bitlbee" );
Irssi::settings_add_str( "twirssi", "twitter_window", "twitter" );
Irssi::settings_add_str( "twirssi", "bitlbee_server", "bitlbee" );