Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API UnitIsDND

Last wiki revision 2023-08-13

Returns true if a unit is DND (Do not disturb). isDND = UnitIsDND(unit)

  • unit:The UnitId to return DND status of.
  • isDND:1 if unit is DND, nil otherwise.

If the player is DND, the following script outputs "You are DND" to the default chat window. if UnitIsDND("player") then DEFAULT_CHAT_FRAME:AddMessage("You are DND"); end

Source

https://warcraft.wiki.gg/wiki/API_UnitIsDND · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.