WoW:MACRO castrandom: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 17: Line 17:


== Notes ==
== Notes ==
[[MACRO_userandom|userandom]] and [[MACRO_castrandom|castrandom]] can be used interchangeably. <sup>[http://wowcompares.com/3039183/FrameXML/ChatFrame.lua]</sup>
* [[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.

Revision as of 08:28, 11 August 2009

Slash commands


Cast a random spell from the list

/castrandom spelllist

Aliases

none


Arguments

spelllist
List of spells, separated by comma


Example

/castrandom Polymorph,Polymorph(Turtle),Polymorph(Serpent),Polymorph(Black Cat)

Notes

  • userandom and castrandom can be used interchangeably. [1]
  • 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.