General World of Warcraft macros

Wow macro commands:

In patch 3.3 the @ symbol has been added as a synonym for 'target=' to make macros more compact.

Tip: Shift-click the spell you want to use in your spellbook while in the Create Macros window ,that way the spelling is always correct.

Wow macro conditionals :

Conditionals are used to control actions based on information.
Syntax: /command [conditional] parameter; [conditional] parameter
Conditionals are enclosed within square brackets ,seperated by a comma if more than one.
The comma can be seen as an "and"
Conditionals/parameter groups are separated by semicolons.
The semicolons can be seen as an "else"
Example : /cast [help,@focus] Renew
When you click this macro , first the [help,@focus] condition is tested and when true (you can cast a helpfull spell on your focus ) Renew is cast.

All targeted conditionals are evaluated on your current target by default. You can change the target of the macro by using a targetting modifier.

Useful general macros

Max camera distance

/script SetCVar("cameraDistanceMax",30)

Sets your camera distance to the maximum.

Self bandage

#showtooltip Heavy Frostweave Bandage
/use [target=player] Heavy Frostweave Bandage

Bandages yourself.

Guild recruitment

/1
MyGuildname is recruiting players for end game content. Whisper if you want to join our team.

Instead of typing your text in general chat every time , just put it into a macro and click the button.