code_language.skript:
on first join:
add "%player's ip% %player%" to {check::*}
add player to {players::*}
command /alts [<offline player>]:
permission: rank.admin
permission message: &cInsufficient Permissions.
trigger:
if {players::*} does not contain player:
add player to {players::*}
if {check::*} contains "%arg-1's ip% %arg-1%":
remove "%arg-1's ip% %arg-1%" from {check::*}
loop {players::*}:
if {check::*} contains "%arg-1's ip% %loop-value%":
send "&c%loop-value% found."
else:
send "&cNone found."
add "%arg-1's ip% %arg-1%" to {check::*}
This doesn't send any messages to the executor, and I have no clue why.