Skip to content

MacroArg

A macro argument, $(name): text the game fills in with the value the function is called with. It fits wherever a value goes; nothing checks that the value will fit there, that’s up to you. To put it into text, use macro`...`.

Where a command takes different kinds of values at the same place (tp takes an entity or a position), say which one it is: $.tp("@s", args.to as MacroArg<Vec3>).

T = unknown