Wikia

WoWWiki

Watchlist Recent changes

API UnitIsDND

Main Menue



Checks if a unit is DND (Do Not Disturb).

isDND = UnitIsDND("unit")

Arguments Edit

unit 
The UnitId to return DND status of.

Returns Edit

isDND 
1 if unit is DND, nil otherwise.

Example Edit

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

Pages on WoWWiki

95,753pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
58,025photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki