I want to make the automatic notification system with skript.
What is the error that obstructs this code from working?
When I reload, this error occured.
What is the error that obstructs this code from working?
Code:
options:
prefix: <server>
on join:
delete {Automatic Notice}
if gamemode of player is adventure:
every 6 seconds:
if {Automatic Notice} is not set:
set {Automatic Notice} to 1
broadcast "{@prefix} Notice 1"
stop
if {Automatic Notice} is 1:
set {Automatic Notice} to 2
broadcast "{@prefix} Notice 2"
stop
if {Automatic Notice} is 2:
set {Automatic Notice} to 3
broadcast "{@prefix} Notice 3"
stop
if {Automatic Notice} is 3:
set {Automatic Notice} to 4
broadcast "{@prefix} Notice 4"
stop
if {Automatic Notice} is 4:
set {Automatic Notice} to 5
broadcast "{@prefix}Notice 5"
stop
if {Automatic Notice} is 5:
set {Automatic Notice} to 6
broadcast "{@prefix} Notice 6"
stop
else:
stop
When I reload, this error occured.
Code:
Can't understand this condition: 'every 6 seconds' (Automatic Notice.sk, line 6: every 6 seconds:')