Help for skript creative item detector

  • 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.
Can skript is detect the items we take into inventory from creative menu?
Code:
on inventory click:
    if type of event-inventory is creative inventory:
        cancel event
        send "No."
Might work, didnt test it
 
Code:
on inventory click:
    if type of event-inventory is creative inventory:
        cancel event
        send "No."
Might work, didnt test it
I try this with "send "%type of event-inventory% to player" line but everytime I get item on creative it say "player inventory"
 
the proper syntax for that would not be event-inventory, try player's current inventory
when you want to create a GUI with skript, at least for how I do it, I do:
Code:
open chest inventory with 3 rows named "Chest" to player
set slot 11 of player's current inventory to feather named "&fFeather"

maybe when you use current inventory it will work.(Edit.)
 
the proper syntax for that would not be event-inventory, try player's current inventory
when you want to create a GUI with skript, at least for how I do it, I do:
Code:
open chest inventory with 3 rows named "Chest" to player
set slot 11 of player's current inventory to feather named "&fFeather"

maybe when you use current inventory it will work.(Edit.)
I try with this code but just receive "crafting table inventory" message
Code:
on inventory click:
        send "%type of player's current inventory%" to player
 
Status
Not open for further replies.