Jump to content

Kill top | Shows the top killers


Recommended Posts

 

KillTop | Configurable

This script is usually useful for PvP servers.

It's currently set to top 5 most kills,

But it can be easily set

to top 10 by simply changing

 image.png.a9ffd8763cca1c459ccb1479f275ca91.png

to

image.png.a00d19d0093f43d7171850bf1e9c0f05.png

(This script is not mine. It belongs to MrScopes, I'm simply just sharing it.)

 

Commands - /killtop or /kt

command /killtop [<text>]:
    aliases:kt
    trigger:
        set {_top} to 5

        send ""
        send " &b&lKill top &3(Top 5 Killers)"
        send ""
        set {_top::*} to sorted {kills::*} from highest to lowest with format "@index" # Assuming {kills::%uuid of player%} is your kills variable
        loop {_top::*}:
            add 1 to {_n}

            set {_p} to "%loop-value%" parsed as offline player
            set {_player} to {_p}'s uuid

            send " &3(##%{_n}%) &b%{_p}% &3(%{kills::%{_player}%}% kills)"

            if {_n} is {_top}:
                stop loop

        send ""

 

  • Like 3
  • Thanks 1
  • Been "Skripting" for half a year now
  • Whale type 
  • Doesn't like Idle Servers (But made one)
  • Doesn't like Mining-PvP servers (But made one)
  • Likes MrScopes lol

 

I make original memes about minehut too.

Capture.png.5a3e6c2c283f3e0ee17860d8704f25f6.png

 

  • Discord Swayl#4299
  • MC IGN - Swayl
Link to post
Share on other sites
28 minutes ago, Trent said:

What about how to store kills? I feel like this script is tough without its counterpart.

Agreed.

  • Thanks 1

Website Developer - Graphic Designer - Skript Developer - Professional Builder

Been on Minehut since January 2018. Throughout my time here I've mastered the skills you see above. I develop pretty static websites when I'm bored. I make free logos, banners, and server art for users on Minehut. I'm a proficient Skript developer. I'm also really good at building, you can see my portfolio by clicking here. Feel free to say hi if you see me somewhere 🙂

Link to post
Share on other sites
On 6/11/2019 at 3:54 AM, Swayl said:

 

KillTop | Configurable

This script is usually useful for PvP servers.

It's currently set to top 5 most kills,

But it can be easily set

to top 10 by simply changing

 image.png.a9ffd8763cca1c459ccb1479f275ca91.png

to

image.png.a00d19d0093f43d7171850bf1e9c0f05.png

(This script is not mine. It belongs to MrScopes, I'm simply just sharing it.)

 

Commands - /killtop or /kt


command /killtop [<text>]:
    aliases:kt
    trigger:
        set {_top} to 5

        send ""
        send " &b&lKill top &3(Top 5 Killers)"
        send ""
        set {_top::*} to sorted {kills::*} from highest to lowest with format "@index" # Assuming {kills::%uuid of player%} is your kills variable
        loop {_top::*}:
            add 1 to {_n}

            set {_p} to "%loop-value%" parsed as offline player
            set {_player} to {_p}'s uuid

            send " &3(##%{_n}%) &b%{_p}% &3(%{kills::%{_player}%}% kills)"

            if {_n} is {_top}:
                stop loop

        send ""

 

Very cool, and flexible skript. 

 

721034654735532112.gif.966bd6f1cb909ca87f1548614acb4131.gif

achievement.png

Link to post
Share on other sites
13 minutes ago, Vinixs said:

Very cool, and flexible skript. 

Thank you very much! ❤️ 

  • Like 1
  • Been "Skripting" for half a year now
  • Whale type 
  • Doesn't like Idle Servers (But made one)
  • Doesn't like Mining-PvP servers (But made one)
  • Likes MrScopes lol

 

I make original memes about minehut too.

Capture.png.5a3e6c2c283f3e0ee17860d8704f25f6.png

 

  • Discord Swayl#4299
  • MC IGN - Swayl
Link to post
Share on other sites
3 hours ago, SuperOrca said:

I didn't even know you could sort a variable like that! Nice skript MrScopes.

I know!! It's very helpful. Truly thanks to MrScopes 😄 

  • Been "Skripting" for half a year now
  • Whale type 
  • Doesn't like Idle Servers (But made one)
  • Doesn't like Mining-PvP servers (But made one)
  • Likes MrScopes lol

 

I make original memes about minehut too.

Capture.png.5a3e6c2c283f3e0ee17860d8704f25f6.png

 

  • Discord Swayl#4299
  • MC IGN - Swayl
Link to post
Share on other sites
On 6/11/2019 at 10:57 AM, Trent said:

What about how to store kills? I feel like this script is tough without its counterpart.

it's super simple to store kills under that variable, someone asked me to help them with a killtop so I sent them this

Discord: MrScopes#5548

Link to post
Share on other sites
11 minutes ago, MrScopes said:

it's super simple to store kills under that variable, someone asked me to help them with a killtop so I sent them this

I've already released a script that stores kills under that variable... But I do think it can be improved. here it is.

  • Like 1
  • Thanks 1
  • Been "Skripting" for half a year now
  • Whale type 
  • Doesn't like Idle Servers (But made one)
  • Doesn't like Mining-PvP servers (But made one)
  • Likes MrScopes lol

 

I make original memes about minehut too.

Capture.png.5a3e6c2c283f3e0ee17860d8704f25f6.png

 

  • Discord Swayl#4299
  • MC IGN - Swayl
Link to post
Share on other sites
  • 1 year later...
  • 2 months later...
Guest
This topic is now closed to further replies.


×
×
  • Create New...