Help I have a problem, I try to make one command generate another one already established to make it easier for the players, but I can't give myself a mistake, any solution?
command /cofre [<player>] [<text>]:
trigger:
if arg-1 is a player:
if arg-2 is a text:
message "Agregando usuario a tu cofre"
execute player command "/cmodify %arg-1"
stop
[doublepost=1568110974,1568110803][/doublepost]here my problem was that when executing the command / modify <player>, the user when putting the player did not execute the same command with the player name
command /cofre [<player>] [<text>]:
trigger:
if arg-1 is a player:
if arg-2 is a text:
message "Agregando usuario a tu cofre"
execute player command "/cmodify %arg-1"
stop
[doublepost=1568110974,1568110803][/doublepost]here my problem was that when executing the command / modify <player>, the user when putting the player did not execute the same command with the player name