Hello. I need a simple script:
When a player enters in a sqm with an action id X (OnStepIn), it must check if a player is in a sqm with action id Y is in it. If it isn't a player in the sqm with action id Y, the player will be teleport there (to the sqm with action id Y), if there is a player, the player will be teleport to Z pos with a text message.
The zone is no-pvp.
Regards
EDIT: Best explained: When a player enter a sqm meter he is teleported to another sqm just if this other sqm is empty, and if is not empty, the player is teleported to another pos with a text message. (Thanks Doggynub xd)
When a player enters in a sqm with an action id X (OnStepIn), it must check if a player is in a sqm with action id Y is in it. If it isn't a player in the sqm with action id Y, the player will be teleport there (to the sqm with action id Y), if there is a player, the player will be teleport to Z pos with a text message.
The zone is no-pvp.
Regards
EDIT: Best explained: When a player enter a sqm meter he is teleported to another sqm just if this other sqm is empty, and if is not empty, the player is teleported to another pos with a text message. (Thanks Doggynub xd)
Last edited: