is there something wrong with my skript?

  • 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.
i dont understand the error either because you didnt post it...

format slot isnt too reliable though so you should really be using set slot or tuske guis
 
Hello, Guys

I don't know if it is my Skript, but i have tried to ask people that is amazingly good to skript and they even don't know what is happyning. can you guys help. i don't understand the error?

https://hastebin.com/delafaqiqu.vbs
Your origional code works for me. It may be my version, I'm on bensku dev 29, or it may just be as donut said where format slot is glitching. This is what you want to do using TuSKe. It's much more reliable.
code_language.skript:
command /warps:
    trigger:
        open virtual chest inventory with size 1 named "&6Warps" to player
        wait 2 ticks
        format gui slot 1 of player with Chest named "&c&lCeller" with lore "&aKlik Her!" to close then run player command "/warp %Player% Celler"
        format gui slot 8 of player with Chest named "&c&lBytterum" with lore "&aKlik Her!" to close then run player command "/warp %Player% Bytterum"
 
Your origional code works for me. It may be my version, I'm on bensku dev 29, or it may just be as donut said where format slot is glitching. This is what you want to do using TuSKe. It's much more reliable.
code_language.skript:
command /warps:
    trigger:
        open virtual chest inventory with size 1 named "&6Warps" to player
        wait 2 ticks
        format gui slot 1 of player with Chest named "&c&lCeller" with lore "&aKlik Her!" to close then run player command "/warp %Player% Celler"
        format gui slot 8 of player with Chest named "&c&lBytterum" with lore "&aKlik Her!" to close then run player command "/warp %Player% Bytterum"

I am using TuSKe as a plugin or should i do some more?
 
upload_2017-7-31_21-17-23.png
 
@Rondy
code_language.skript:
command /warps:
    trigger:
        open virtual chest inventory with size 2 named "&6Warps" to player
        make a gui slot 1 of player with Chest named "&c&lCeller" with lore "&aKlik Her!" to run player command "/warp %player% Celler"
        make a gui slot 8 of player with Chest named "&c&lBytterum" with lore "&aKlik Her!" to run player command "/warp %player% Bytterum"
 
Status
Not open for further replies.