/trunk/EasyDND/frames
if IsControlKeyDown() then |
Anti_AddException() |
else |
if UnitIsDND("player") or (_.db.profile.modednd and not UnitIsAFK("player")) then |
SendChatMessage("", "DND") |
else |
SendChatMessage("", "AFK") |
end |
_.AutoSwitch(nil, true) |
end |
else |
ToggleDewdrop(self) |