Changeset 582
- Timestamp:
- 10/21/07 19:06:52 (6 years ago)
- Files:
-
- 1 modified
-
lang/perl/irssi/scripts/xcezx.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/irssi/scripts/xcezx.pl
r576 r582 7 7 our %IRSSI = ( name => 'xcezx' ); 8 8 9 my $last = 0; 9 10 signal_add( 10 11 'message public' => sub { 11 12 my ( $server, $msg, $nick, $address, $target ) = @_; 12 $server->command("MSG $target xcezx--") if $msg =~ /xcezx--/; 13 return unless $msg =~ /xcezx--/; 14 return unless time >= $last+5; 15 16 $server->command("MSG $target xcezx--"); 17 $last = time; 13 18 } 14 19 );
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)