Jump to content

Won't let me format a gui slot skript


Nd_

Recommended Posts

I am trying to code a shop GUI in my server and i'm trying to set every slot to air(people can put stuff in the gui otherwise) before the it formats the slots. The problem is that it says that it can't understand the condition format gui slot %loop number% of player with air block line 6:. Please help. Thanks.

Code:

command /shop:
      executable by: players
      trigger:
            open virtual chest inventory with size 1 named "&1&lMONEY:&r&l&2 %player's balance%" to player
            loop 9 times:
                  format gui slot %loop number% of player with air block
            format gui slot 2 of player with iron sword named "Kits" to run:
                  player has permission "kit.cop":
                        format gui slot 2 of player with iron sword named "Kits" to run:      
                        

 

Edited by Nd_
Link to comment
Share on other sites

I would just use SkQuery GUI in my opinion. 

Start your Minecraft server today for as low as £0.50/weekly for up to 4 GB of RAM! (£3.50 Monthly) and be equipped for all situations with our high-performance gear keeping your servers running 24/7

Why choose Us?
• Guaranteed 99.9% Uptime
• NVMe RAID Fast Storage
• 24/7 Hosting
• Instant Setup
• 50% Discount. Use Code: 50OFF (Ends on November 11th)

We want to ensure our customers are happy with the service they received and support. We aim to provide low-costs those who cant afford a minecraft server. No extra costs, no setup fees! One-time payment and you are good to go with our instant setup feature we introduced to ensure your server is ready to go!

Planning to make a community or a project you want to work on? We got you covered! Our servers are optimized for performance and security, so you can have peace of mind and focus on your project. Our servers are also reliable and packed with features, so you can start playing right away.

We guarantee 99% uptime and 24/7 customer support, so you can always ask for help if you need it.

Links:
https://forums.valknet.org
https://billing.valknet.org
Invite: https://discord.gg/FqSRt4ZCAC

Link to comment
Share on other sites

Just now, Nd_ said:

What does SkQuery GUI's do better than TUSKE's?

I'm just saying i would just use SkQuery.

Start your Minecraft server today for as low as £0.50/weekly for up to 4 GB of RAM! (£3.50 Monthly) and be equipped for all situations with our high-performance gear keeping your servers running 24/7

Why choose Us?
• Guaranteed 99.9% Uptime
• NVMe RAID Fast Storage
• 24/7 Hosting
• Instant Setup
• 50% Discount. Use Code: 50OFF (Ends on November 11th)

We want to ensure our customers are happy with the service they received and support. We aim to provide low-costs those who cant afford a minecraft server. No extra costs, no setup fees! One-time payment and you are good to go with our instant setup feature we introduced to ensure your server is ready to go!

Planning to make a community or a project you want to work on? We got you covered! Our servers are optimized for performance and security, so you can have peace of mind and focus on your project. Our servers are also reliable and packed with features, so you can start playing right away.

We guarantee 99% uptime and 24/7 customer support, so you can always ask for help if you need it.

Links:
https://forums.valknet.org
https://billing.valknet.org
Invite: https://discord.gg/FqSRt4ZCAC

Link to comment
Share on other sites

Topic has been answered / fixed

Locked 🔒

  • Thanks 1


-------------------------------------------------------------
[VIP] - 2018/2019

[JR.MOD] - 28th April 2019
[SR.MOD] - 21st June 2019

[LEGEND] - 28th July 2020 (Resigned)

-------------------------------------------------------------

Discord - Criticyl#0002

IGN - Criticyl

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...