Solved How to remove an amount from a variable for a arg-player / arg 3

  • 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.

Pingusate

Active Member
Mar 29, 2018
50
4
8
20
For example
code_language.skript:
        if arg 1 is "reset":
            if arg 2 is not set:
                wait 4 ticks
                send "{@prefix} &7Wrong usage, Use /sw reset stats <player>"
            if arg 2 is "stats":
                if arg 3 is not set:
                    send "{@prefix} &7Please specific a player you want to reset thier stats."
                if arg 3 is online:
                    remove 100 from {coins}

You see "remove 100 from {coins}" If arg 3 is online = player, But how can i remove coins from this player? it will remove coins from the command executer.
 
Status
Not open for further replies.