--- deliantra/server/ext/commands.ext 2007/01/03 18:50:52 1.12 +++ deliantra/server/ext/commands.ext 2007/01/11 01:06:02 1.16 @@ -136,25 +136,28 @@ no re 'eval'; $arg = qr<$arg>; - my $format = "%2s %1s %3s %5s %-60.60s\n"; + my $format = "%2s %1s %3s %5s %.60s\n"; - $ob->reply (undef, sprintf $format, "Pl", "I", "Svd", "Reset", "Name"); + $ob->reply (undef, (sprintf $format, "Pl", "I", "Svd", "Reset", "Name"), cf::NDI_BLACK | cf::NDI_UNIQUE); for (sort keys %cf::MAP) { my $map = $cf::MAP{$_} or next; next unless $map->path =~ $arg; + next if $map->{path}->is_style_map; my $svd = int $cf::RUNTIME - $map->{last_save}; $svd = "++" if $svd > 99; - $ob->reply (undef, sprintf $format, - (scalar $map->players), - $IN_MEMORY{$map->in_memory} || "?", - $svd, - (int $map->reset_at - $cf::RUNTIME), - $map->{path}->visible_name); + $ob->reply (undef, + (sprintf $format, + (scalar $map->players), + $IN_MEMORY{$map->in_memory} || "?", + $svd, + (int $map->reset_at - $cf::RUNTIME), + $map->{path}->visible_name), + cf::NDI_BLACK | cf::NDI_UNIQUE); } 1