Solved skript giving item with iteminfo

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

mynameisjosep

Member
Apr 25, 2020
29
0
0
23
guys im using this code to give players item example give a diamond to player but i want to give item with item info if you dont understand what is iteminfo i means when you grab items and write /iteminfo its showing to you example script
Code:
on command
    trigger:
        if player holding slot 1:
             send "1" to player
sorry my grammar.
 
Last edited:
1. "on command" ur trying to execute it on EVERY command
2. You cant "hold" slot 1
 
1. "on command" ur trying to execute it on EVERY command
2. You cant "hold" slot 1
sorry my grammar i will show you a photo what i mean
 

Attachments

  • Ekran Alıntısı.PNG
    Ekran Alıntısı.PNG
    25.2 KB · Views: 271
yes, i understand im currently fixing ur code. I just said whats wrong in code
 
okay, it works BUT it works inverted idk why xD and you need SKQuery to make it work
EDIT: forgot to put code XD

Code:
command /kekw:
    trigger:
        if the current hotbar slot of player is 1:
            send "1" to player
        else:
            send "no"
 
okay, it works BUT it works inverted idk why xD and you need SKQuery to make it work
EDIT: forgot to put code XD

Code:
command /kekw:
    trigger:
        if the current hotbar slot of player is 1:
            send "1" to player
        else:
            send "no"
Epic Big Ultra Mega big berserker king of skript bla bla bla .
[doublepost=1591292826,1591291884][/doublepost]
okay, it works BUT it works inverted idk why xD and you need SKQuery to make it work
EDIT: forgot to put code XD

Code:
command /kekw:
    trigger:
        if the current hotbar slot of player is 1:
            send "1" to player
        else:
            send "no"
can i ask you something, where did you find this code ?
 
Status
Not open for further replies.