Solved Rankup Script Help

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

BEASTHD

Member
Jul 31, 2019
1
0
0
33
command /2:
trigger:
If %{%player%.points}% is between 10 and 999999999999999999999999:
make console execute command "/manuadd %player% rank2"
make console execute command "/bc &eSiberia &8» &a%player% &7Ranked up to &8(&12&8)&e!"
remove 100000 from player's balance
wait 5 ticks
Else:
message "&eSiberia &8» &7Not enough points."
 
command /2:
trigger:
If %{%player%.points}% is between 10 and 999999999999999999999999:
make console execute command "/manuadd %player% rank2"
make console execute command "/bc &eSiberia &8» &a%player% &7Ranked up to &8(&12&8)&e!"
remove 100000 from player's balance
wait 5 ticks
Else:
message "&eSiberia &8» &7Not enough points."
You use %{%player%.points}% only if you want to show a variable, if you want to compare use {%player%.points}
Code:
command /2:
    trigger:
        if {%player%.points} is between 10 and 999999999999999999999999:
            make console execute command "/manuadd %player% rank2"
            make console execute command "/bc &eSiberia &8» &a%player% &7Ranked up to &8(&12&8)&e!"
            remove 100000 from player's balance
            wait 5 ticks
        else:
            message "&eSiberia &8» &7Not enough points."

You can use
Code:
if {%player%.points} is more or equal to 10:
instead of
Code:
if {%player%.points} is between 10 and 999999999999999999999999:
 
Last edited:
Status
Not open for further replies.