changing skquery 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!

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"]

anyone can help me change this into TuSke
i am not really good with TuSke
 
Open the website, click Simple GUI, then Create a GUI. There you'll find the syntaxes from the effects. If you scroll down to Example, you will also find a example to learn from
 
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"]

anyone can help me change this into TuSke
i am not really good with TuSke
code_language.skript:
open virtual chest inventory with size 3 named "&cChest" to player
set {_item} to red wool named "&cGet back"
set line 1 of lore of {_item} to "&fTaken your gen back to the inventory"
format a gui slot 11 of player with {_item} to close:
    execute player command "/yes"
I think w that's correct...