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.

im getting types.barflag

Discussion in 'Skript' started by dankmemes, Jan 31, 2019.

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

    dankmemes Member

    Joined:
    Jan 27, 2019
    Messages:
    15
    Likes Received:
    0
    Code (Text):
    1.     format gui slot 21 of {_p} with arrow named "&6&lLazzer Rounds" with lore "Items &c&lNeeded&7" and "&625 &6&lMetal Frags" and "&65 &6&lExplosives" to run:
    2.         if players's inventory contains 25 iron ingot named "&6&lMetal Frags" and 5 clay named "&6&lExplosives":
    3.             remove 25 iron ingot named "&6&lMetal Frags" and 5 clay named "&6&lExplosives" from player's inventory
    4.             add 5 arrow named "&6&lLazzer Rounds" to player's inventory
    5.             message "&4&lCrafting"
    --- Double Post Merged, Jan 31, 2019, Original Post Date: Jan 31, 2019 ---
    after reloading it its find but after reloading it to fix thing it pop-ups again
    --- Double Post Merged, Jan 31, 2019 ---
    fix by not using clay
     
  2. Itqly_

    Itqly_ Member

    Joined:
    Sep 20, 2018
    Messages:
    29
    Likes Received:
    1
    I would prefere using set slot and then on inventory click, tho if you want to use "Format slot" Its:
    Code (Text):
    1. Format slot 10 of player with stone named "Test" to run [send "Ok" to player]
    not
    Code (Text):
    1. Format slot 10 of player with stone named "Test" to run:
    2.   send "Ok" to player
    --- Double Post Merged, Jan 31, 2019, Original Post Date: Jan 31, 2019 ---
    Or you could do:
    Code (Text):
    1. Format slot 10 of player with stone named "Test" to run [make player execute command "/test"]
    2.  
    3. command /test:
    4.   trigger:
    5.     send "OK"
     
  3. Runakai

    Supporter

    Joined:
    Apr 27, 2018
    Messages:
    497
    Likes Received:
    31
    The format slot he was using was from tuske not SkQuery.
     
  4. Itqly_

    Itqly_ Member

    Joined:
    Sep 20, 2018
    Messages:
    29
    Likes Received:
    1
    Oh, In fact, it would be a smart idea if you specified what you used for the Script @dankmemes ...
    --- Double Post Merged, Jan 31, 2019, Original Post Date: Jan 31, 2019 ---
    And using english would help us a lot
     
Thread Status:
Not open for further replies.

Share This Page

Loading...