Hello guys, I've started researching Skript one week ago and I have some problems that I can't solve
So, what code I have right now
on death:
if {round_active} is true:
if all players where [team of player is "t"] are dead:
broadcast "T team is dead! CT wins!"
add 1 to {ct_score}
execute command "/endround"
else if all players where [team of player is "ct"] are dead:
broadcast CT team is dead! T wins!"
add 1 to {t_score}
execute command "/endround"
And I always recieving this error
[14:12:06 INFO]: Can't understand this effect: else[14:12:06 INFO]:
Line: else if all players where [team of player is "ct"] are dead:
What I can do with this?
P.S: MC version 1.20.1 and latest stable version of Skript - 2.11
So, what code I have right now
on death:
if {round_active} is true:
if all players where [team of player is "t"] are dead:
broadcast "T team is dead! CT wins!"
add 1 to {ct_score}
execute command "/endround"
else if all players where [team of player is "ct"] are dead:
broadcast CT team is dead! T wins!"
add 1 to {t_score}
execute command "/endround"
And I always recieving this error
[14:12:06 INFO]: Can't understand this effect: else[14:12:06 INFO]:
Line: else if all players where [team of player is "ct"] are dead:
What I can do with this?
P.S: MC version 1.20.1 and latest stable version of Skript - 2.11
Last edited: