1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Help with Skript

Discussion in 'Skript' started by Auswahluhr6004, Jul 17, 2017.

Thread Status:
Not open for further replies.
  1. Auswahluhr6004

    Joined:
    Mar 1, 2017
    Messages:
    109
    Likes Received:
    1
    Hello,

    how can i made this:
    Code (Skript):
    1. on rightclick with a book:
    2.     if player has the permission "StaffMode":
    3.         if {StaffMode.%player%} is true:
    4.             send "%clicked entity%" to sender
    5.             show the inventory of the clicked entity to the sender
    Because it says: <none>
     
  2. Best Answer:
    Post #2 by ShaneBee, Jul 17, 2017
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    You're trying to open up a player inventory right?
    Code (Skript):
    1. on right click with a book:
    2.     if player has permission "staffmode":
    3.         if targeted player is set:
    4.             open the targeted player's inventory for the player
    5.             send "%targeted player's health%"
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    It works. Thank you and have a nice day :emoji_slight_smile:
     
Thread Status:
Not open for further replies.

Share This Page

Loading...