Hi, i need help. I have RTP plugin on my server and there is option to set cooldown time and message, but I need that when the player has an active cooldown, so that it send him a message + teleport him to spawn, any ideas how to do it?
My broken code:
My broken code:
Code:
on command "/rtp world genworld":
if player is on cooldown:
make player execute command "/spawn"