10c10
< 	authors     => 'Wouter Coekaerts',
---
> 	authors     => 'Wouter Coekaerts, Tero Korpela',
13c13
< 	description => 'draws a nicklist to another terminal, or at the right of your irssi in the same terminal',
---
> 	description => 'draws a nicklist to another terminal, or at the right of your irssi in the same terminal. Now with away support',
16c16
< 	changed     => '29/06/2004'
---
> 	changed     => '01/12/2011'
60a61
> 	# gone => is user away
68c69
< my ($screen_prefix, $irssi_width, @prefix_mode, @prefix_status, $height, $nicklist_width);
---
> my ($screen_prefix, $irssi_width, @prefix_mode, @prefix_status, $height, $nicklist_width, $gone_color);
76a78,79
> 
> 	($gone_color = Irssi::settings_get_str('nicklist_away_color')) =~ s/\\e/\033/g;
264c267
< 	$nick->{'text'} = $prefix_mode[$nick->{'mode'}] . $text . (' ' x ($nicklist_width-length($nick->{'nick'})-1));
---
> 	$nick->{'text'} = $prefix_mode[$nick->{'mode'}] . ($nick->{'gone'}?$gone_color:'') . $text . (' ' x ($nicklist_width-length($nick->{'nick'})-1));
419c422,431
< 			$thisnick = {'nick' => $nick->{'nick'}, 'mode' => ($nick->{'op'}?$MODE_OP:$nick->{'halfop'}?$MODE_HALFOP:$nick->{'voice'}?$MODE_VOICE:$MODE_NORMAL)};
---
> 			$thisnick = {
> 				'nick' => $nick->{'nick'}, 
> 				'mode' => (
> 					$nick->{'op'}?$MODE_OP:
> 					$nick->{'halfop'}?$MODE_HALFOP:
> 					$nick->{'voice'}?$MODE_VOICE:
> 					$MODE_NORMAL
> 				),
> 				'gone' => $nick->{'gone'}
> 			};
555c567,573
< 		$nicklist_item->{'mode'} = ($nick->{'op'}?$MODE_OP:$nick->{'halfop'}?$MODE_HALFOP:$nick->{'voice'}?$MODE_VOICE:$MODE_NORMAL);
---
> 		$nicklist_item->{'mode'} = (
> 			$nick->{'op'}?$MODE_OP:
> 			$nick->{'halfop'}?$MODE_HALFOP:
> 			$nick->{'voice'}?$MODE_VOICE:
> 			$MODE_NORMAL
> 		);
> 		$nicklist_item->{'gone'} = $nick->{'gone'};
598a617
> Irssi::settings_add_str('nicklist', 'nicklist_away_color', '\e[30m\e[1m');

