1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Cannot understand condition/effect of "format"?

Discussion in 'Skript' started by CassioTDS, Apr 9, 2020.

Thread Status:
Not open for further replies.
  1. CassioTDS

    CassioTDS Member

    Joined:
    Jul 8, 2019
    Messages:
    13
    Likes Received:
    0
    Here is my code:
    Code (Text):
    1. command /worldselector:
    2.     trigger:
    3.         open chest with 1 row named "&dChest selector" to player
    4.         wait a tick
    5.         format slot 0 of player with diamond sword named '&4KitPvP' with lore "&6Click to go to KitPVP" to close then run "kitpvp"
    6.         format slot 1 of player with grass block named '&7Wilderness' with lore "&6Click to go to the wilderness" to close then run "wilderness"
    7. on click holding nether star:
    8.     make player execute "worldselector"
    But when I run it, I get:
    Code (Text):
    1. [09:14:51] [Server thread/ERROR]: Can't understand this condition/effect: format slot 0 of player with diamond sword named '&4KitPvP' with lore "&6Click to go to KitPVP" to close then run "kitpvp" (Lobby teleport.sk, line 5: format slot 0 of player with diamond sword named '&4KitPvP' with lore "&6Click to go to KitPVP" to close then run "kitpvp"')
    2. [09:14:51] [Server thread/ERROR]: Can't understand this condition/effect: format slot 1 of player with grass block named '&7Wilderness' with lore "&6Click to go to the wilderness" to close then run "wilderness" (Lobby teleport.sk, line 6: format slot 1 of player with grass block named '&7Wilderness' with lore "&6Click to go to the wilderness" to close then run "wilderness"')
    Help?

    I have skript 1.15
    --- Double Post Merged, Apr 9, 2020, Original Post Date: Apr 9, 2020 ---
    Code (Text):
    1. format slot 8 of player with red glass plane named "&c&lClose" with lore "&cClick here to close this GUI." to close
    This fixed it... Thanks for your help everybody.. -_-
     
Thread Status:
Not open for further replies.

Share This Page

Loading...