We've split up the commands, scripting and mods, and add ons category! Please be sure you get your thread in the right place.

14

Default values for function macros

2 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 0
    Registered User commented
    Comment actions Permalink

    Having gotten into datapacks recently for 1.21.1+...
    This would be extremely useful and cut down on many lines of commands

  • 1
    Registered User commented
    Comment actions Permalink

    I would love this to have this. A syntax I've seen in other places that make more sense here is using the pipe character |:

    $(macro1|323) $(macro2 | "this is a string")