Well I need 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.

ofekassiag

Member
Apr 24, 2019
25
0
1
58
How do I make a GUI that when I click at some item it close the GUI and asking me to type something in the chat and after I type what I typed set to arg 1?
 
Have you tried reinstalling skript for that or is there any piece of code that we can work with? If not: read the docs
 
Ugh fine I'm too lazy too explain things. Pseudo code!

command
Trigger
open chest inventory with 3 rows named "d" to player
set slot 0 of current inventory to stone

On inventory click:
name of event-inventory = "d":
index of event-slot = 0:
set {lol::%player%} to true

on chat:
if {lol::%player%} is set
console command "/mute %message%"
delete {lol::%player%}
 
Ugh fine I'm too lazy too explain things. Pseudo code!

command
Trigger
open chest inventory with 3 rows named "d" to player
set slot 0 of current inventory to stone

On inventory click:
name of event-inventory = "d":
index of event-slot = 0:
set {lol::%player%} to true

on chat:
if {lol::%player%} is set
console command "/mute %message%"
delete {lol::%player%}
I'm getting errors.

Code:
08.03 22:59:37 [Server] Server thread/INFO [Skript] Reloading 2.sk...
08.03 22:59:37 [Server] Server thread/WARN Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (2.sk, line 2: trigger:')
08.03 22:59:37 [Server] Server thread/WARN Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (2.sk, line 6: one inventory click:')
08.03 22:59:37 [Server] Server thread/WARN Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (2.sk, line 7: name of event-inventory = "d":')
08.03 22:59:37 [Server] Server thread/WARN Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (2.sk, line 8: index of event-slot = 0:')
08.03 22:59:37 [Server] Server thread/WARN Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (2.sk, line 11: on chat:')
08.03 22:59:37 [Server] Server thread/ERROR 'open chest inventory with 3 rows named "d" to player' is not an entry (like 'name : value') (2.sk, line 3: open chest inventory with 3 rows named "d" to player')
08.03 22:59:37 [Server] Server thread/ERROR 'set slot 0 of current inventory to stone' is not an entry (like 'name : value') (2.sk, line 4: set slot 0 of current inventory to stone')
08.03 22:59:37 [Server] Server thread/ERROR 'console command "/mute %massage"' is not an entry (like 'name : value') (2.sk, line 13: console command "/mute %massage"')
08.03 22:59:37 [Server] Server thread/ERROR Unexpected entry 'one inventory click'. Check whether it's spelled correctly or remove it. (2.sk, line 6: one inventory click:')
08.03 22:59:37 [Server] Server thread/ERROR Unexpected entry 'name of event-inventory = "d"'. Check whether it's spelled correctly or remove it. (2.sk, line 7: name of event-inventory = "d":')
08.03 22:59:37 [Server] Server thread/ERROR Unexpected entry 'index of event-slot = 0'. Check whether it's spelled correctly or remove it. (2.sk, line 8: index of event-slot = 0:')
08.03 22:59:37 [Server] Server thread/ERROR Unexpected entry 'set {lol'. Check whether it's spelled correctly or remove it. (2.sk, line 9: set {lol: :%player%} to true')
08.03 22:59:37 [Server] Server thread/ERROR Unexpected entry 'on chat'. Check whether it's spelled correctly or remove it. (2.sk, line 11: on chat:')
08.03 22:59:37 [Server] Server thread/ERROR Unexpected entry 'if{lol'. Check whether it's spelled correctly or remove it. (2.sk, line 12: if{lol: :%player%} is set')
08.03 22:59:37 [Server] Server thread/ERROR Unexpected entry 'delete {lol'. Check whether it's spelled correctly or remove it. (2.sk, line 14: delete {lol: :%player%}')
08.03 22:59:37 [Server] Server thread/INFO [Skript] Encountered 10 errors while reloading 2.sk!
 
Status
Not open for further replies.