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!

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

TuSKe GUI Manager Tutorial

Discussion in 'Tutorials' started by Tuke_Nuke, Feb 23, 2017.

  1. Tuke_Nuke

    Retired Staff Addon Developer

    Joined:
    Dec 9, 2016
    Messages:
    150
    Likes Received:
    86
    That's because %itemstack% with lore %string% it's an expression from SkQuery. The vanilla skript lore expression is used in Multi Action example, as said above.
     
  2. m

    mccrafter1212 Member

    Joined:
    Jul 16, 2017
    Messages:
    11
    Likes Received:
    0
    I would like to loop through a player's gui that's currently open and broadcast the name of the item in each slot.

    I've tried:
    Code (Skript):
    1.  
    2. loop 54 times:
    3.     broadcast "%loop-value gui-slot of player%" # Doesn't work
    4.  
    I'm really confused on how to do this.
     
  3. Tuke_Nuke

    Retired Staff Addon Developer

    Joined:
    Dec 9, 2016
    Messages:
    150
    Likes Received:
    86
    You can just use normal expressions to get a item in a slot, using bensku's fork dev25+ or SkQuery:
    Code (Skript):
    1. loop integers from 0 to 53:
    2.     broadcast "%slot loop-integer of current inventory of player%"
     
  4. s

    sklake Member

    Joined:
    Mar 30, 2018
    Messages:
    7
    Likes Received:
    0
    love Tuke_Nuke's addon so much. Good addon and Good tutorial!
     
  5. joshwenke

    joshwenke Member

    Joined:
    Jan 26, 2017
    Messages:
    3
    Likes Received:
    0
    This may be a stupid question, but how would one go about formatting a slot (using the advanced syntax) that can be edited by players? (aka the item can be stolen)
     
  6. Uzumaki

    Uzumaki Well-Known Member

    Joined:
    Feb 20, 2017
    Messages:
    223
    Likes Received:
    7
    try
    Code (Skript):
    1. set slot 1 of player's currently inventory to diamomd sword
     
  7. Blueyescat

    Blueyescat Member

    Joined:
    Jan 26, 2017
    Messages:
    14
    Likes Received:
    3
    Medals:
    Code (Skript):
    1. make gui slot 0 with stone:
    2.     uncancel event
    3.  
     
Loading...
  • About Us

    Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.
  • Support skUnity

    The staff team works very hard to make sure the community is running its best. This means constantly performing upgrades to systems and other features. This does cost a bit of money to keep doing. Donating to skUnity would allow the server to keep running smoothly for years to come!

    Support Us!
  • Join our Discord

    Discord is an all-in-one voice and text chat for gamers that’s free, secure, and works on both your desktop and phone.