Hi, I hope you're having a good day. Well now I will talk to you this doubt I have had for a few hours.
A few minutes ago, I did a /report with GUI, I was going to do that by clicking on the item, execute the command "/report% arg 1% fly (or the item that has clicked to report on the hack). What happens is that I was stuck in one part:
How do I make the executor of the command execute the "report arg 1" command?
I tried (stupidly from me) to put:
Obviously it did not work, and now I have had this question for a long time so I went to the forum. What do I have to do to make it work correctly?
A few minutes ago, I did a /report with GUI, I was going to do that by clicking on the item, execute the command "/report% arg 1% fly (or the item that has clicked to report on the hack). What happens is that I was stuck in one part:
How do I make the executor of the command execute the "report arg 1" command?
I tried (stupidly from me) to put:
code_language.skript:
clicked slot = 9: #It's the feather, and when I click on the feather, what I want is to have it report to argument 1 previously placed as it has seen it fly.
close player's inventory
wait a tick
execute player command "report %arg 1% fly"