%attackDeny()

Aliases%attackDeny( )
Parametersmobile @attacker, mobile @victim

    Use this function to send the standard attack denial message. This
function is usually called when a call to %canAttack() returns failure.
Currently this happens when the target is a ghost or is in the open field.
In times past this would also have happened if either the attacker or
victim was not guilded.

Example:

if( !%canAttack( @attacker, @victim ) )
{
%attackDeny( @attacker, @victim )
return
}
endif