Skript Round Number

  • 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.
give this a shot
Code:
every real minute:
    loop all players:
        if {kd.influence.%loop-player%} is not 2000:
            add 1 to {kd.influence.%loop-player%}
            if {kd.influence.%loop-player%} contains ".0":
                set {kd.influence.%loop-player%} to subtext of {kd.influence.%loop-player%} from characters (length of {kd.influence.%loop-player%} - 2) to (length of {kd.influence.%loop-player%})
 
  • Like
Reactions: jonawoning
Hmmm gives a error.

WARN Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (kingdom.sk, line 1868: if {kd.influence.%loop-player%} contains ".0":')
 
try this
Code:
every real minute:
    loop all players:
        if {kd.influence.%loop-player%} is not 2000:
            add 1 to {kd.influence.%loop-player%}
            set {kd.influence.%loop-player%} to subtext of {kd.influence.%loop-player%} from characters (length of {kd.influence.%loop-player%} - 2) to (length of {kd.influence.%loop-player%})
 
Status
Not open for further replies.