Is it possible to pass on an argument in Skript?

  • 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!

DemonGodOfEarth

New Member
Jul 20, 2023
5
0
1
So I use /give command generators quite often, but i use essentials, and when i run /give, and then use nbt it doesn't work. So i devised a plan.
I want to create a command (/vanillagive) which runs /minecraft:give then passes on any arguments from /vanillagive to /minecraft:give
How would i do this?




PS: permissions don't matter to me whatsoever so don't worry about the security issues and stuff like that
 
```
command /vanillagive [<text>]:
trigger:
make player execute "/minecraft:give %arg-1%"
```
Since the arg-1 is optional, but is mandatory in Vanillas /give command, you will recieve any usage from that command