***I'm back and V2 is in the works since there were quite a few changes while i was gone. I aim to make it much better and more efficient than before and therefore i want people to tell me what they want me to do with it (remember to check the TODO list below first, and submit feature requests through the nice little button under the download button)***
DILLIGAF is an addon that scans system messages and npc yells for "is under attack" and "reinforcements are" and blocks it from showing them for a default of 3 minutes.
The addon now features a full array of slash commands:
/dilligaf addphrase x - adds phrase x to the list of messages not to show.
/dilligaf removephrase x - removes x from the list of blocked phrases.
/dilligaf timer x - sets the timer to reset after x (this won't accept anything else other than numbers in seconds)
/dilligaf show - sets whether or not you see the first occurrence or not.
These settings are saved over the whole account.
If something is added just before the timer resets and it's the only thing on the list, you will get 2 of them through, this only affect you if you set dDisplay to true.
Block spam on all channels.
Add feature to block NPC's through slash commands.
Fix my slash commands >< (and add new ones for these features)
Fix the SavedVariables issue this had before i left it.
Fix the known bug above.
Get feedback on anything else this addon needs... hint hint.
- Fixed a typo in the main function.
- Added slash commands and tidied the code up to minimise the memory usage.
-Fixed an error that meant the code tried to remove a nil index in the table.
-Fixed the error caused by forgetting quotation marks.
-Tidied the code up and got it running smoothly again
-Fixed the error of not blocking and now blocks wintergrasp yells.