Here it is: http://www.wowwiki.com/HOWTO:_Make_a_Macro#Conditionals.