Hi,
how do i create /cast spell command?
cheers
edit:
Rererenced WOW's API
PROTECTED CastSpell(spellID, "bookType") - Cast the specified spell by ID. spellbookTab is "spell" or "pet". As of patch 2.0, this function has been restricted to Blizzard signed UI mods. Note: You can still use this function to open Craft windows and activate Lock Picking. (protected 2.0)
http://wowwiki.wikia.com/wiki/World_of_Warcraft_API