IsCasting.GetSpellTargetName
From WoWWiki
This article is a part of the documentation of the IsCasting function library
Usage:
IsCasting.GetSpellTargetName()
EX:
message(IsCasting.GetSpellTargetName())
Returns:
- targetName - name of the target of the current or last spell, empty string if 'no target cast', nil if nothing has been cast yet (string)
Note:
- If the target was an item in your inventory or containers this will return a full item link (as seen by shift-clicking the item into chat)
