I am running the newest version of Skript on spigot 1.14.4
All of my regions work.
What happens is when the player walks out of the region or switches worlds, Skript recognizes they left the region and the code runs normally. BUT, when they leave the server, Skript only recognizes they left when they join the server back. Therefore running the code when they join back only.
I'm simply looking for any alternatives or a fix for this.
All of my regions work.
Code:
on region exit:
if "%region%" contains "Spleef1":
remove 1 from {integerplayingevent}
broadcast "&6&lEVENTS &8» &a&n&o%player% &7has left the &a&n&oSpleef&f &7event. &7(%{integerplayingevent}%&7)" in world("spleef")
set {spleef.%player%} to false
set gamemode of player to Survival
What happens is when the player walks out of the region or switches worlds, Skript recognizes they left the region and the code runs normally. BUT, when they leave the server, Skript only recognizes they left when they join the server back. Therefore running the code when they join back only.
I'm simply looking for any alternatives or a fix for this.