%isFighting()

Aliases%isFight( ), %isFighting( )
Parameterscharacter @entity

    If the given character is currently fighting then returns 1, otherwise
returns 0. Character entity may be a character pointer or keyword.

Example:

if( %isFighting( @n ) )
{
silentforce @n flee
}
endif