Solved Vault money

  • 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 community!

    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.

MoonSoD

Member
Nov 2, 2017
1
0
0
Hello,

I am trying to create a gamblig skript and I have a scheme, but it isn't working.....
no errors or anything

Code:
command /gamble [<text>] [<text>]:
    trigger:
        arg 1 is "bet":
            set {gamblemoney::%player%} to arg 2
            if player's money is greater or equal to {gamblemoney::%player%}:
                subtract {gamblemoney::%player%} from player's money
                add {gamblemoney::%player%} to player's account
                message "gg"
            else:
                message "ERRR"
Thank you for any help :emoji_wink::emoji_call_me:

It's saying the ERRR message ...
 
Status
Not open for further replies.