… | |
… | |
64 | . ($ob->flag (cf::FLAG_AFK) ? " [AFK]" : "") |
64 | . ($ob->flag (cf::FLAG_AFK) ? " [AFK]" : "") |
65 | . ($ob->flag (cf::FLAG_WIZ) ? " [WIZ]" : "") |
65 | . ($ob->flag (cf::FLAG_WIZ) ? " [WIZ]" : "") |
66 | . " [" . $pl->client . "]" |
66 | . " [" . $pl->client . "]" |
67 | . " [" . ($pl->peaceful || $privileged ? $ob->map->path : $ob->map->region ? $ob->map->region->name : "the unknown") . "]" |
67 | . " [" . ($pl->peaceful || $privileged ? $ob->map->path : $ob->map->region ? $ob->map->region->name : "the unknown") . "]" |
68 | . ($privileged ? " " . $pl->host : "") |
68 | . ($privileged ? " " . $pl->host : "") |
69 | } sort { $a->ob->name cmp $b->ob->name } @pl |
69 | } sort { (lc $a->ob->name) cmp (lc $b->ob->name) } @pl |
70 | ) |
70 | ) |
71 | } |
71 | } |
72 | |
72 | |
73 | cf::register_command who => $cf::TICK, sub { |
73 | cf::register_command who => $cf::TICK, sub { |
74 | my ($ob, $arg) = @_; |
74 | my ($ob, $arg) = @_; |