Solved Ranks awarded by books

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

ChrissyCoolHD

New Member
Apr 20, 2019
9
0
0
23
English:
Hello
I have a problem. I want to give ranks by clicking on a book in the inventory! Then I want if you clicked on the book that it disappears. I have multiple ranks and when you click on a book, all the books in the inventory disappear.
Here is my script:
https://pastebin.com/N1VFSVNZ

I would be glad if someone helps me!

Sorry for my bad English!

Best regards ChrissyCool

Deutsch:
Hallo
ich habe eine Problem. Ich möchte Ränge vergeben in dem man auf ein Buch klick im Inventar! Dann möchte ich wenn man auf das Buch geklickt hat das es verschwindet. Ich habe mehrere Ränge und wenn man auf ein Buch klickt verschwinden alle Bücher im Inventar.
Hier mein Skript:
https://pastebin.com/N1VFSVNZ

Ich würde mich freuen wenn mir jemand hilft!

Liebe grüße ChrissyCool
 
You added a tab too much in the click events. Use this:
Code:
on click:
    if player's held item is book named "&d&lBronze Rang":
        make console execute command "/pex user %player% group set Bronze"
        remove book named "&d&lBronze Rang" from player
 
Status
Not open for further replies.