PickupSpellBookItem
Jump to navigation
Jump to search
This function is restricted.
|
Picks up a skill from spellbook so that it can subsequently be placed on an action bar.
PickupSpellBookItem(spell) PickupSpellBookItem(index, bookType)
Arguments
- spell
- number|string - Spell ID or Name. When passing a name requires the spell to be in your Spellbook.
Spellbook args | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
Example
The following sequence of macro commands places the Cat Form ability into the current action bar's first slot.
/run PickupSpellBookItem("Cat Form") /click ActionButton1 /run ClearCursor()
Patch changes
Patch 4.0.1 (2010-10-12): Added. Replaces some PickupSpell() functionality.