--- deliantra/server/ext/schmorplog.ext 2008/09/19 01:39:45 1.22 +++ deliantra/server/ext/schmorplog.ext 2008/09/21 23:21:49 1.23 @@ -121,10 +121,10 @@ my $s = $pl->ob->{stats_death} or return $who->reply ($npc, "$args didn't die even once."); - my $rep = "$args died a total of " . $pl->ob->kv_get ("schmorplog_death_count") . " times, among them:\n\n\n\n"; + my $rep = "$args died a total of " . $pl->ob->kv_get ("schmorplog_death_count") . " times, among them:\n\n"; for (sort { $s->{$b} <=> $s->{$a} } keys %$s) { - $rep .= "$s->{$_} time(s) due to $_.\n\n"; + $rep .= sprintf " C<%4d> time(s) due to %s.\n", $s->{$_}, $_; } $who->reply ($npc, $rep); @@ -137,9 +137,9 @@ my $s = $pl->ob->{stats_kill} or return $who->reply ($npc, "I don't know of I that $args has killed so far."); - my $rep = sprintf "\n\nC<%6s> %s\n\n", "Kills", "Name"; - for (sort { $s->{$a} <=> $s->{$b} } keys %$s) { - $rep .= sprintf "C<%6s> %s\n\n", $s->{$_}, $_; + my $rep = sprintf "Here is a list of all the kills I know about:\n\n"; + for (sort { $s->{$b} <=> $s->{$a} } keys %$s) { + $rep .= sprintf " C<%6s> %s\n", $s->{$_}, $_; } $who->reply ($npc, $rep); @@ -147,8 +147,8 @@ } elsif ($cmd eq "hi") { $who->reply ($npc, "Hello!\n\n" . "I am a statistician, I keep statistics about all people here.\n\n" - . "To know how often somebody died, ask C I\n\n" - . "To know how many kills somebody scored, ask C I"); + . " - To know how often somebody died, ask C I\n" + . " - To know how many kills somebody scored, ask C I"); } else { $who->reply ($npc, "No idea what you want of me, how about saying 'hi' first?"); }