add message to varible

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

BoxMiners

Member
Jul 19, 2022
47
0
6
18
Code:
on chat:
    if {amount.%player%} is set:
        add to {amountt::%player%::*}
        delete {amount.%player%}

on inventory click:
    if inventory name of player's current inventory is "&2&lKEYS":
        if clicked slot is 1:
            cancel event
            if 2499 *{amounttt.%player%} is less than {money.%player%}:
                remove 2499 *{amounttt.%player%} from {money.%player%}
                give player {amounttt.%player%} tripwire hook named "&a&lVIP Crate
its not really working, any ideas why?

ERRORS
upload_2022-10-23_15-50-43.png
 
Code:
add message to {amountt::%player%::*}
Code:
give player {amounttt.%player%} of tripwire hook named "&a&lVIP Crate Key"
 
Status
Not open for further replies.