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?
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?