The skript is loading without errors, however, If I do
, despite the player being online, it returns the player not found message.
if someone could explain where I went wrong, I'd appreciate it.
Code:
/playsound VisualMCINC MUSIC_DISC_11
if someone could explain where I went wrong, I'd appreciate it.
Code:
command /psound <text> <text>:
permission: psound.use
trigger:
set {_target} to arg 1
set {_sound} to arg 2
if {_target} is online:
play sound "{_sound}" to {_target}
send "&8[&e&l!&8] &6&lᴠᴍᴄ &7→ &6%{_target}%&F made you listen to: &6&o%{_sound}%" to player
else:
send "&8[&e&l!&8] &6&lᴠᴍᴄ &7→ &fPlayer not found or not online