ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/commands.ext
(Generate patch)

Comparing deliantra/server/ext/commands.ext (file contents):
Revision 1.69 by root, Thu Sep 11 17:56:09 2008 UTC vs.
Revision 1.70 by root, Mon Sep 22 01:33:09 2008 UTC

170 170
171 for my $pl (cf::player::list) { 171 for my $pl (cf::player::list) {
172 ++$count{$pl->ob->region->longname}; 172 ++$count{$pl->ob->region->longname};
173 } 173 }
174 174
175 my $msg = "In the world currently there are:\n\n" 175 my $msg = "T<In the world currently there are:>\n\n"
176 . join "", map { sprintf "C<%2d >player(s) %s\r", $count{$_}, $_ } sort keys %count; 176 . join "", map { sprintf " C<%3d >player(s) %s\r", $count{$_}, $_ } sort keys %count;
177 177
178 $ob->send_msg ("c/who" => $msg, cf::NDI_REPLY | cf::NDI_CLEAR); 178 $ob->send_msg ("c/who" => $msg, cf::NDI_REPLY | cf::NDI_CLEAR);
179}; 179};
180 180
181cf::register_command hiscore => sub { 181cf::register_command hiscore => sub {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines