#(daxz_) get top 5 players with highest flag values

1 messages · Page 1 of 1 (latest)

craggy sigil
#

thought about writing my own sorting algo but there def is a tag for this

heady matrixBOT
#

(daxz_) get top 5 players with highest flag values

heady matrixBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

craggy sigil
#
  • define pointVals <server.online_players_flagged[prowl_points].parse_tag[<[parse_value].flag[prowl_points]>].numerical.reverse>
#

had this before

#

only gets values tho

#

not players

nova surge
#

so the flags values return numbers?

#

!t listtag.sort_by

tepid echoBOT
nova surge
#

!listtag.sort_by_number

#

!t listtag.sort_by_number

tepid echoBOT
# nova surge !t listtag.sort_by_number

Returns a copy of the list, sorted such that the lower numbers appear first, and the higher numbers appear last.
Rather than sorting based on the item itself, it sorts based on a tag attribute read from within the object being read.
For example, you might sort a list of players based on the amount of money they have, via .sort_by_number[money] on the list of valid players.
Non-numerical input is considered an error, and the result is not guaranteed.

Returns

ListTag

craggy sigil
#

define pointVals <server.online_players_flagged[prowl_points].sort_by_number[prowl_points]>

#

this?

#

oh wow

#

it work

nova surge
#

Nice