Solved Help with Skript

  • 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 our Wiki for downloads and any other information about Skript!

Status
Not open for further replies.
Mar 1, 2017
109
1
0
23
Hello,

how can i made this:
code_language.skript:
on rightclick with a book:
    if player has the permission "StaffMode":
        if {StaffMode.%player%} is true:
            send "%clicked entity%" to sender
            show the inventory of the clicked entity to the sender

Because it says: <none>
 
You're trying to open up a player inventory right?
code_language.skript:
on right click with a book:
    if player has permission "staffmode":
        if targeted player is set:
            open the targeted player's inventory for the player
            send "%targeted player's health%"
 
You're trying to open up a player inventory right?
code_language.skript:
on right click with a book:
    if player has permission "staffmode":
        if targeted player is set:
            open the targeted player's inventory for the player
            send "%targeted player's health%"
It works. Thank you and have a nice day :emoji_slight_smile:
 
Status
Not open for further replies.