DuelIgnore is a very simple addon to fully and unconditionally ignore duel requests. It is intended for people who don't want to duel and find it annoying that many players just challenge you out of nowhere without even asking first. With this addon chances are that you will not even notice duel requests.
When I say that it's a simple addon, I really mean it. It consists of one line of Lua code:
Code:
UIParent:UnregisterEvent("DUEL_REQUESTED")
This single line has the effect that no dialog will pop up and no sound will be played when somebody challenges you to a duel.
There are no configuration options and I have no plans to implement any. In case you occasionally want to duel and still want to use this addon, you can either be the one who requests the duel (the /duel command still works for you) or you can type the command:
Hehe thanks. I did have a bit of a laugh over making a one-line addon that actually does something useful.
Note that if you already have an addon like LuaSlinger that allows you to enter code to be run at login, you could just put that line there and do without the addon, of course.