Hello. I am making a staff skript, and I wanted a staff join/leave message like InvadedLands, but it didn't work. Does someone know what's the problem?
on join:
if player has permission "atomcore.staffchat":
loop all players:
loop-player has permission "atomcore.staffchat":
send "&b[Staff] &c%player% &7joined the server."
on quit:
if player has permission "atomcore.staffchat":
loop all players:
loop-player has permission "atomcore.staffchat":
send "&b[Staff] &c%player% &7left the server."
on join:
if player has permission "atomcore.staffchat":
loop all players:
loop-player has permission "atomcore.staffchat":
send "&b[Staff] &c%player% &7joined the server."
on quit:
if player has permission "atomcore.staffchat":
loop all players:
loop-player has permission "atomcore.staffchat":
send "&b[Staff] &c%player% &7left the server."