Jump to content

Sufixes

Member
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Sufixes's Achievements

Lurker

Lurker (1/6)

0

Reputation

  1. Sufixes

    ClanTop

    Hi! Recently i have been trying to make a ClanTop that will order the variable: {Clans::*::xp} But it won't work. Heres what i have so far: command /clantop: trigger: loop {clans::*}: add 1 to {_size} if {_low.to.high.list::%loop-value%} is not set: set {_low.to.high.list::%loop-value%} to loop-index else: set {_n} to 0 loop {_size} times: set {_n} to {_n}+1 {_low.to.high.list::%loop-value-1%.%{_n}%} is not set set {_low.to.high.list::%loop-value-1%.%{_n}%} to loop-index stop loop wait 1 tick set {_n} to size of {_low.to.high.list::*} loop {_low.to.high.list::*}: set {_high.to.low.list::%{_n}%} to loop-value set {_n} to {_n}-1 wait 1 tick set {_i} to 0 send "&7&m-----------&8< &6Top10 &8>&7&m-----------" loop {_high.to.low.list::*}: add 1 to {_topnumber} set {_player} to "%loop-value%" set {_player} to {_player}'s uuid send "&7%{_topnumber}% - &c%{_list::%{_topnumber}%}% &8» &c&7%{clans::%{_player}%::xp}%" if {clans::%{_player}%::name} is set add 1 to {_i} if {_topnumber} > 9: stop send "&7&m------------------------------"
×
×
  • Create New...