help me changing this to tuske

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

TheCraft

Member
Apr 20, 2019
22
0
1
20
Code:
on right click:
    if event-block is diamond block:
        set {block} to location of event-block
        open chest inventory with 3 rows named "&cChest" to player
        format slot 11 of player with red wool named "&c Get back" with lore "&fTake your gen back to the inventory" to close then run [make player execute command "/yes"]
 
Try removing inventory so its just: openc hest with 3 rows named "&cChect" to player
 
Code:
on right click:
    if event-block is diamond block:
        set {block} to location of event-block
        open chest inventory with 3 rows named "&cChest" to player
        format slot 11 of player with red wool named "&c Get back" with lore "&fTake your gen back to the inventory" to close then run [make player execute command "/yes"]
First, what is your Spigot and Skript version?
and...
Let stay in everyone's head, the inventories of SkQuery give errors! Use inventories of minecraft vanilla or TuSKe.
 
You said you wanted TuSke:
Code:
on right click:
    if event-block is diamond block:
        set {block} to location of event-block
        open virtual chest with 3 rows named "&cChest" to player
        format slot 11 of player with red wool named "&c Get back" with lore "&fTake your gen back to the inventory" to run:
            make player execute command "/yes"
            close player's inventory
 
You said you wanted TuSke:
Code:
on right click:
    if event-block is diamond block:
        set {block} to location of event-block
        open virtual chest with 3 rows named "&cChest" to player
        format slot 11 of player with red wool named "&c Get back" with lore "&fTake your gen back to the inventory" to run:
            make player execute command "/yes"
            close player's inventory
Thats not even Tuske
[doublepost=1557772813,1557772737][/doublepost]Tuske is done like this
code_language.skript:
open virtual chest inventory with size 3 named "blah" to player
format gui slot 1 of player with diamond named "blah" to run:
    #your code to execute
[doublepost=1557772930][/doublepost]Anyways OP its done like this
code_language.skript:
on right click:
    if event-block is diamond block:
        set {block} to location of event-block
        open virtual chest inventory with size 3 named "&cChest" to player
        format gui slot 11 of player with red wool named "&c Get back" with lore "&fTake your gen back to the inventory" to close then run player command "/yes"
 
Status
Not open for further replies.