… | |
… | |
144 | my $map = $cf::MAP{$_} |
144 | my $map = $cf::MAP{$_} |
145 | or next; |
145 | or next; |
146 | |
146 | |
147 | next unless $map->path =~ $arg; |
147 | next unless $map->path =~ $arg; |
148 | |
148 | |
|
|
149 | my $svd = int $cf::RUNTIME - $map->{last_save}; |
|
|
150 | $svd = "++" if $svd > 99; |
|
|
151 | |
149 | $msg .= sprintf $format, |
152 | $msg .= sprintf $format, |
150 | (scalar $map->players), |
153 | (scalar $map->players), |
151 | $IN_MEMORY{$map->in_memory} || "?", |
154 | $IN_MEMORY{$map->in_memory} || "?", |
152 | (int $cf::RUNTIME - $map->{last_save}), |
155 | $svd, |
153 | (int $map->reset_at - $cf::RUNTIME), |
156 | (int $map->reset_at - $cf::RUNTIME), |
154 | $map->{path}->visible_name; |
157 | $map->{path}->visible_name; |
155 | } |
158 | } |
156 | |
159 | |
157 | $ob->reply (undef, $msg); |
160 | $ob->reply (undef, $msg); |