API:CastSpellByName

__NOTOC__
Cast's a spell by its name.
CastSpellByName("Spell name", "unit")
== Parameters ==
=== Arguments ===
:;name
::String - Name of the spell to cast.
:;unit - optional
::String - Name of the unit
=== Returns ===
:nil
== Example ==
CastSpellByName("Urgent Heal")
CastSpellByName("Urgent Heal","player")
Category:Functions