I want to share resource packs and receive them through /rp set *nickname*. What's wrong?
Code:
command /rp [<text>] [<text>]:
trigger:
if arg-1 is "set":
if arg-2 contains "http://" or "https://":
set {rp.%player%} to arg-2
message "§b[CloudBlock 2.0] §aResource uploaded."
else:
message "%arg-2% - not url"
else:
message "%arg-1%"
set {_rp} to {rp.%argument-1%}
message "%{_rp}%"
send the resource pack from "{_rp}" with hash "hash" to the player