Solved [SOLVED]GUI Help

  • 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.

HKPNW-Owner

Member
Feb 2, 2017
33
0
6
27
Hello,
I'm new for the GUI and it's keep error.
Please help
code_language.skript:
command /blocks:
    trigger:
        if players has permissions "blocks.citizen"
            open chest with 5 rows named "&e● &7&lblocks &e●" to player
            format slot 0 of player with barrier named "&e● &a&lbarrier &e●" to close then run [make console execute command "give %player% barrier 1"]

AND THIS IS THE ERROR:
code_language.skript:
27.12 08:34:02 [Server] ERROR indentation error: expected 8 spaces, but found 12 spaces (block.sk, line 4: open chest with 5 rows named "&e● &7&l特殊方塊 &e●" to player')
27.12 08:34:02 [Server] ERROR indentation error: expected 8 spaces, but found 12 spaces (block.sk, line 5: format slot 0 of player with barrier named "&e● &a&l屏障方塊 &e●" to close then run [make console execute command "give %player% barrier 1"]')
27.12 08:34:02 [Server] ERROR Can't understand this condition/effect: if players has permissions "blocks.citizen" (block.sk, line 3: if players has permissions "blocks.citizen"')



Please help that i really need it. :emoji_frowning:..

~ HKNoob
 
Please help that i really need it. :emoji_frowning:..

code_language.skript:
command /blocks:
  trigger:
    if executor has permission "blocks.citizen": #You didn't put ":" at the end
      open chest with 5 rows named "&7Blocks" to executor #Player or executor, is the same thing
      format slot 0 of executor with barrier named "&aBarrier" to close then run [give 1 barrier to executor] #Format8, probably a typing error. You can also run command without using console commands
      stop
 
Still error...

code_language.skript:
27.12 09:10:25 [Server] ERROR Can't understand this condition/effect: open chest with 5 rows named "&7Blocks" to executor (block.sk, line 4: open chest with 5 rows named "&7Blocks" to executor') 
27.12 09:10:25 [Server] ERROR Can't understand this condition/effect: format slot 0 of executor with barrier named "&aBarrier" to close then run [give 1 barrier to executor] (block.sk, line 5: format slot 0 of executor with barrier named "&aBarrier" to close then run [give 1 barrier to executor]')

I've already fixed:

code_language.skript:
command /blocks:
  trigger:
    if executor has permission "blocks.citizen":
      open chest with 5 rows named "&7Blocks" to executor
      format slot 0 of executor with barrier named "&aBarrier" to close then run [give 1 barrier to executor]
      stop
[doublepost=1514383930,1514383866][/doublepost]btw TuSKe, skript, skRayFall, skellett and SkQuery installed in the server.
 
umm....
It still keep error..


code_language.skript:
command /blocks:
  trigger:
    if executor has permission "blocks.citizen":
      open chest with 2 rows named "&6Blocks" to player
      format slot 0 of player with barrier named "&aBarrier" to close then run [give 1 barrier to executor]
 
Is it like this?... But it still error.. :emoji_frowning:
I'm so noob


code_language.skript:
command /blocks:
  trigger:
    if executor has permission "blocks.citizen":
      open virtual chest inventory with 2 rows named "&6Blocks" to player
      formata a gui slot 0 of player with barrier named "&aBarrier" to close then run [give 1 barrier to executor]

This is the error:
code_language.skript:
27.12 21:48:04 [Server] ERROR Can't understand this condition/effect: open virtual chest inventory with 2 rows named "&6Blocks" to player (block.sk, line 4: open virtual chest inventory with 2 rows named "&6Blocks" to player') 
27.12 21:48:04 [Server] ERROR Can't understand this condition/effect: formata a gui slot 0 of player with barrier named "&aBarrier" to close then run [give 1 barrier to executor] (block.sk, line 5: formata a gui slot 0 of player with barrier named "&aBarrier" to close then run [give 1 barrier to executor]')
 
Something like this.
code_language.skript:
open virtual chest inventory with size 3 named "&6Blocks" to player
create gui slot 0 of player with barrier named "&aBarrier" to close then run console command "give %executor% barrier 1"
 
Why still error? :emoji_frowning:.. the problem is in
code_language.skript:
27.12 22:18:43 [Server] ERROR Can't understand this condition/effect: open virtual chest inventory with size 2 named "&6Blocks" to player (block.sk, line 4: open virtual chest inventory with size 2 named "&6Blocks" to player')


code_language.skript:
command /blocks:
  trigger:
    if executor has permission "blocks.citizen":
      open virtual chest inventory with size 2 named "&6Blocks" to player
      create gui slot 0 of player with barrier named "&aBarrier" to close then run console command "give %executor% barrier 1"
[doublepost=1514439460,1514431165][/doublepost]Someone please help :emoji_frowning:..
 
Why still error? :emoji_frowning:.. the problem is in
code_language.skript:
27.12 22:18:43 [Server] ERROR Can't understand this condition/effect: open virtual chest inventory with size 2 named "&6Blocks" to player (block.sk, line 4: open virtual chest inventory with size 2 named "&6Blocks" to player')


code_language.skript:
command /blocks:
  trigger:
    if executor has permission "blocks.citizen":
      open virtual chest inventory with size 2 named "&6Blocks" to player
      create gui slot 0 of player with barrier named "&aBarrier" to close then run console command "give %executor% barrier 1"
[doublepost=1514439460,1514431165][/doublepost]Someone please help :emoji_frowning:..
Please dude, install the newest version of Tuske and read this page https://github.com/Tuke-Nuke/TuSKe/wiki/GUI-Manager
(click on the simple GUI and then just see some examples...
 
Please dude, install the newest version of Tuske and read this page https://github.com/Tuke-Nuke/TuSKe/wiki/GUI-Manager
(click on the simple GUI and then just see some examples...
Because i've tried and it still error...
My Tuske already is the latest version.
[doublepost=1514449660,1514449235][/doublepost]
you don't need bump all 2 hours or so.


What its your skript version ?....
latest
[doublepost=1514450153][/doublepost]Thanks for all of you guys helping.
My problem have been solved.

THANKYOU!
 
Status
Not open for further replies.