Returns whether a unit is on the player's ignore list


See also Social functions.

Signature:

isIgnored = IsIgnored("unit") or IsIgnored("name")

Arguments:

  • unit - A unit to query (string, unitID)
  • name - The name of a unit to query (string)

Returns:

  • isIgnored - 1 if the unit is on the player's ignore list; otherwise nil (1nil)