Solved Tuske GUI Manager issues

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

pepper82

Member
Jan 26, 2017
272
1
18
41
Hi all,
I have this script:

Code:
on gui click:

    broadcast "[test] %event-string%"
    broadcast "[test] %event-inventory%"
    broadcast "[test] %event-number%"
    broadcast "[test] %event-item%"
     
command /gumi [<text>] [<text>]:
    permission: skript.perm.mod
    trigger:
        if arg-1 is "open":
            set {_item} to player's tool
            skellett open "CHEST" with 1 row named "Testgui" to player
            make a gui slot 0 of player with {_item} to run player command "gumi set"
        if arg-1 is "set":
            set {testvar::item} to player's tool
            skellett open "CHEST" with 1 row named "Testgui" to player
            make a gui slot 0 of player with {testvar::item} with lore "&5just some fancy lore" to run player command "gumi give"
        if arg-1 is "give":
            give 1 of {testvar::item} to the player

But nothing happens when I click anywhere in the GUI. But it should broadcast the event-string etc.. It does not even broadcast the [test].
Any ideas whats wrong here?

I am on 1.13.2 ([Skript] Enabling Skript v2.3.2) with latest TuSke (Loading TuSKe v1.8.2-Pikachu-Patch-3)
 
You have to use to run event instead of to run command
 
Status
Not open for further replies.