to have an icon on a macro, put this on top of macro
/macroicon Sprint

for other info
http://eorzeareborn.com/macro-overview/