If player have X item.

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

hydraV2

Member
Aug 10, 2020
1
0
0
23
Hello there, I'm trying to do this already for 1 hours but doesen't work! I hope you'll be able to help me!

So I want:

If player contain 64 stone then:

if event-world is "world":
if player has permissions "missions.completed.obtain-pickaxe":
if player doesn't have permission "missions.completed.x5-raw-fish":
make the server execute command "/pex user %player's name% add -missions.x5-raw-fish"

I would really appericate you guys if you can help me! Thanks.

- hydra
 
Code:
every 1 second in world "world":
    player has 64 stone:
        player has permissions "missions.completed.obtain-pickaxe":
            player doesn't have permission "missions.completed.x5-raw-fish":
                make console execute command "/pex user %executor% add -missions.x5-raw-fish"
 
Status
Not open for further replies.