WoW:MACRO castrandom: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (→‎Arguments: I mixed up bold and itallic.)
Line 3: Line 3:


Cast a random spell from the list
Cast a random spell from the list
  /castrandom spelllist
  /castrandom spell or item list.


== Aliases ==
== Aliases ==
:none
:castrandom
 
:userandom


== Arguments ==
== Arguments ==
:;spelllist : List of spells, separated by comma
:;spell or item list : List of spells and/or items, separated by commas. You can mix items and spells if you so desire. You can also use ''bagID slotNum''. In other words, anything you can do with [[MACRO cast|cast]] you can do with '''castrandom'''.
 


== Example ==
== Examples ==
  /castrandom Polymorph,Polymorph(Turtle),Polymorph(Serpent),Polymorph(Black Cat)
  /castrandom Polymorph,Polymorph(Turtle),Polymorph(Serpent),Polymorph(Black Cat)
/castrandom Hearthstone,Astral Recall,Scroll of Recall


== Notes ==
== Notes ==
* [[MACRO_userandom|userandom]] and [[MACRO_castrandom|castrandom]] can be used interchangeably. <sup>[http://wowcompares.com/3039183/FrameXML/ChatFrame.lua]</sup>
* Since 3.2, /castrandom selects one spell from the list on first use and tries to cast it until it is successfully cast. It cannot be used anymore to create "use first ready spell" macros.
* Since 3.2, /castrandom selects one spell from the list on first use and tries to cast it until it is successfully cast. It cannot be used anymore to create "use first ready spell" macros.

Revision as of 08:31, 16 September 2009

Slash commands


Cast a random spell from the list

/castrandom spell or item list.

Aliases

castrandom
userandom

Arguments

spell or item list
List of spells and/or items, separated by commas. You can mix items and spells if you so desire. You can also use bagID slotNum. In other words, anything you can do with cast you can do with castrandom.

Examples

/castrandom Polymorph,Polymorph(Turtle),Polymorph(Serpent),Polymorph(Black Cat)
/castrandom Hearthstone,Astral Recall,Scroll of Recall

Notes

  • Since 3.2, /castrandom selects one spell from the list on first use and tries to cast it until it is successfully cast. It cannot be used anymore to create "use first ready spell" macros.