$zone = $request->get("zone", ""); @chars = $EQW->ListPlayers($zone); #( # { character => "Joe", account => "yay", location_short => "arena", location_long => "Arena" }, # { character => "Bob", account => "yay", location_short => "freportw", location_long => "West Freeport" }, # { character => "Monkey", account => "notyay", location_short => "freportn", location_long => "North Freeport" } # ); ?>
| Character | Account Name | Location | Actions | |
|---|---|---|---|---|
| Not Selected | "; } else { print "$char->{character}";
if(defined($char->{guild_id}) && $char->{guild_id} > 0) {
print " <guild #$char->{guild_id}>";
}
print " "; print "$char->{level} $char->{race} $char->{class}"; print " | ";
}
print "$char->{account}";
if($char->{status} > 0) {
print " (status $char->{status})";
}
print " "; print " $char->{ip} | ";
print "$char->{location_long} ($char->{location_short}) | "; print ""; print "Kick"; print " | "; print "