Variables and If/Then/Else syntax for Macros

Be able to use variables inside a macro, for instance specify x as a value then have x used in multiple places within the same macros.

Also on a similar note, to be able to use an If, Then, Else style syntax to enable advanced programming in macros.