Macros and parameters in tellraw

how can I get for instance the name of a player and put it "behind my function" before I run the ../finishadd function? like a dynamic function and can I put parameters into the string of a tellraw command in this arrangement? -# is there somewhere better documentation for macros and indepth function use?
Continue to help post