I'm trying to make a friends skript and I want to make it so that when a player joins, their friends are alerted.
This is what I thought of but it's not woirking.
Can anyone help me with this?
This is what I thought of but it's not woirking.
code_language.skript:
on join:
loop {friends.%player%::*}:
set {_p} to "%loop-value%"
send "&aYour friend, %{rank.%player%}% %player% joined the server" to {_p}