So this is my code
{player::count} = 0
{amount::count} = 5
{expand::count} = 0
command /setwbtime <integer>:
permission: skript.set.join_message
description: Sets message when player joins
trigger:
set {amount::count} to argument
set {expand::count} to {amount::count}*{player::count}
message "Set the new time to: %{amount::count}% and player count is %{player::count}% and is getting expanded with %{expand::count}%"
every 10 seconds:
{player::count} = real online player count
broadcast "%{player::count}%"
if {player::count} > 0:
set {expand::count} to {amount::count}*{player::count}
expand world border of world "world" by {expand::count} in 5 seconds
broadcast "World border is getting expanded by %{expand::count}% total blocks on the border this is %{expand::count}/2%"```
For some reason every thing after ``every 10 seconds:`` doesn't run any thing at all. am I doing something wrong or?