Super simple problem but cant find fix

  • 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 community!

    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.

Lukkeeh

Member
Jun 24, 2017
11
0
1
on load:
if file "plugins/broadcasters/config.yml" doesn't exists:
create file "plugins/broadcasters/config.yml"
wait 5 ticks
wf "prefix: &c[Broadcasters]" to "plugins/broadcasters/config.yml"
wf "message: Test" to "plugins/broadcasters/config.yml"
wf "active: false" to "plugins/broadcasters/config.yml"
wait 3 ticks
set {message} to value "message" get of "plugins/broadcasters/config.yml"
set {prefix} to value "prefix" get of "plugins/broadcasters/config.yml"
set {active} to value "active" get of "plugins/broadcasters/config.yml"
broadcast "&6[Broadcasters] has been reloaded!"
wait 10 seconds:
if {active} is "true":
broadcast "%{prefix}% %{message}%"


But it says it cant understand "Wait 10 seconds" why cant it ? i got alot of addons to like wildskript and skquery and more but it can't understand wait 10 seconds or do i do anything wrong?
 
on load:
if file "plugins/broadcasters/config.yml" doesn't exists:
create file "plugins/broadcasters/config.yml"
wait 5 ticks
wf "prefix: &c[Broadcasters]" to "plugins/broadcasters/config.yml"
wf "message: Test" to "plugins/broadcasters/config.yml"
wf "active: false" to "plugins/broadcasters/config.yml"
wait 3 ticks
set {message} to value "message" get of "plugins/broadcasters/config.yml"
set {prefix} to value "prefix" get of "plugins/broadcasters/config.yml"
set {active} to value "active" get of "plugins/broadcasters/config.yml"
broadcast "&6[Broadcasters] has been reloaded!"
wait 10 seconds:
if {active} is "true":
broadcast "%{prefix}% %{message}%"


But it says it cant understand "Wait 10 seconds" why cant it ? i got alot of addons to like wildskript and skquery and more but it can't understand wait 10 seconds or do i do anything wrong?
You added a : after the wait line
 
Status
Not open for further replies.