Hey,
I need to list all the values in some variable to appear in chat. My current code looks like this
But the "&7%{_projects::*}%" shows like "<none>"
I need to list all the values in some variable to appear in chat. My current code looks like this
Code:
if arg 1 is "add":
set {%arg-2%::ploc} to location of player
add arg-2 to {_projects::*}
broadcast "&8[&aBuild&8] &7New project has been created: &a%arg-2%"
if arg 1 is "list":
send "" to player
send "&a&lPROJECTS"
send "&7%{_projects::*}%"
send "" to player
But the "&7%{_projects::*}%" shows like "<none>"