Package: irssi-scripts Version: 20060513 Severity: wishlist Tags: patch Hi,
here's a patch that adds "every NNNs" to the /timer list output:
--- /usr/share/irssi/scripts/timer.pl 2003-11-17 14:36:19.000000000 +0100
+++ ./timer.pl 2006-01-20 14:46:10.934456144 +0100
@@ -142,11 +142,12 @@
command_bind 'timer list' => sub {
print( CRAP "Active timers:" );
foreach my $name ( keys %timers ) {
+ my $msg = "$name = $timers{$name}->{'command'} every
$timers{$name}->{'interval'}s";
if ( $timers{$name}->{repeat} == -1 ) {
- print( CRAP "$name = $timers{$name}->{'command'} (until stopped)");
+ print( CRAP "$msg (until stopped)");
}
else {
- print( CRAP "$name = $timers{$name}->{'command'}
($timers{$name}->{'repeat'} repeats left)" );
+ print( CRAP "$msg ($timers{$name}->{'repeat'} repeats left)" );
}
}
print( CRAP "End of /timer list" );
Please consider including it.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Christoph
--
[EMAIL PROTECTED] | http://www.df7cb.de/
signature.asc
Description: Digital signature

