I want to create a separate world chat Skript. For that I need to detect which world the player is in.
How can I detect which world the player is in?
[doublepost=1572360654,1572360388][/doublepost]But I dont want to do it like this:
Code:
on chat:
#somehow detect which world the player is in:
broadcast "<%player%> %message%" to "the detected world"
How can I detect which world the player is in?
[doublepost=1572360654,1572360388][/doublepost]But I dont want to do it like this:
Code:
on chat:
if player is in world "WORLDNAME":
broadcast "<%player%> %message%" to "WORLDNAME"