OgreEvent:OnAbilityCast
From ISXOgre
								
												
				OgreEvent_OnAbilityCast
When OgreBot uses an ability, it will fire this event.
To attach
Event[OgreEvent_OnAbilityCast]:AttachAtom[OgreEvent_OnAbilityCast]
To use
atom OgreEvent_OnAbilityCast(string _Caster, uint _AbilityID, string _AbilityName, uint _OnPlayerID, string _OnPlayer)
{
	if ${_OnPlayer.Length} > 0 || ${_OnPlayerID} > 0
		echo ${Time}: ${_Caster} casted ${_AbilityName} ( ${_AbilityID} ) on ${_OnPlayer} ( ${_OnPlayerID} )
	else
		echo ${Time}: ${_Caster} casted ${_AbilityName} ( ${_AbilityID} )
}
Comments
There are times where some of the fields will be blank. Such as abilities that have no target, won't have an 'OnPlayer' or 'OnPlayerID'.
