capture
Runs ON the server thread. command may be multiple lines — executed in order like a .mcfunction: blank lines and # comments are skipped, a failing line does NOT stop the rest. All lines run in this single server-thread task, so they share one tick snapshot. Single line -> just its feedback; multiple -> each line echoed as > cmd above its output.