Purchase validation system

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

Spartan9802

Member
Jan 26, 2017
158
8
18
26
Hi,
I'm looking for the best method to create a purchase validation system in one function that can be used with tuske
Do you have any ideas?
 
not viable as the user could just remove the validation code from the skript
 
I think he wants it for an in-game shop
 
x = number = price of the item
if player's account >= x:
ex:
code_language.skript:
command /buy [<text>]:
    trigger:
        if arg-1 = "wood":
            if player's account >= 100:
                give 1 wood to player
                remove 100 from player's account
 
Status
Not open for further replies.