Executing commands with arguments

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

llamaboi

Member
Jul 4, 2023
2
0
1
Hi!
I have this peace of code-
make player run command "/kill @e[type=item]" as op
(Of course that's not all of the code, in my project)
But it gives me an error :/
When I run the same code, but I execute a command without arguments it works.
 
Code:
kill all dropped items in the player's world
Hi!

"make player run command "(command)" as op" requires an addon. However, if you use the line here above, it'll do the job. No need for player/console execution. Don't forget to mark this reply as the answer if it's working! :emoji_slight_smile:
 
Code:
kill all dropped items in the player's world
Hi!

"make player run command "(command)" as op" requires an addon. However, if you use the line here above, it'll do the job. No need for player/console execution. Don't forget to mark this reply as the answer if it's working! :emoji_slight_smile:
thanks
:emoji_grinning:
although I don't want to mark your reply as the answer since it technically doesn't answer my question, sorry.
 
Last edited: