Hi, Im trying to make a simple queue for a sumo skript im making. I recieved errors about empty configurations. What should i do?
command /sumo:
trigger:
if {Sumo::*} does not contain player:
add player to {Sumo::*}
send "&eYou have joined the &3Sumo &equeue" to player
else:
remove player from {Sumo::*}
send "&eYou have been removed from the &3Sumo &equeue"
The error:
[18:06:08 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. (sumoglory.sk, line 3: if {Sumo::*} does not contain player:')
[18:06:08 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. (sumoglory.sk, line 6: else remove player from {Sumo::*}:')
[18:06:08 ERROR]: can't understand this condition: 'else remove player from {Sumo::*}' (sumoglory.sk, line 6: else remove player from {Sumo::*}:')
[18:06:08 INFO]: [Skript] Encountered 1 error while reloading sumoglory.sk!
I would be happy if you could tell me where I made a mistake and how to fix it. Please also ask a question.
command /sumo:
trigger:
if {Sumo::*} does not contain player:
add player to {Sumo::*}
send "&eYou have joined the &3Sumo &equeue" to player
else:
remove player from {Sumo::*}
send "&eYou have been removed from the &3Sumo &equeue"
The error:
[18:06:08 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. (sumoglory.sk, line 3: if {Sumo::*} does not contain player:')
[18:06:08 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. (sumoglory.sk, line 6: else remove player from {Sumo::*}:')
[18:06:08 ERROR]: can't understand this condition: 'else remove player from {Sumo::*}' (sumoglory.sk, line 6: else remove player from {Sumo::*}:')
[18:06:08 INFO]: [Skript] Encountered 1 error while reloading sumoglory.sk!
I would be happy if you could tell me where I made a mistake and how to fix it. Please also ask a question.