Thread Tools Display Modes
09-24-10, 06:46 PM   #1
Tim
A Rage Talon Dragon Guard
 
Tim's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 309
Spell_miss

Thanks Xinhuan, my problem is solved just by adding multi-line spam prevention to my filter module.

Last edited by Tim : 09-25-10 at 11:32 AM.
  Reply With Quote
09-25-10, 04:16 AM   #2
Xinhuan
A Chromatic Dragonspawn
 
Xinhuan's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 174
Just after your SendChatMessage(), have some variables remember the last spell and last event type along with a timestamp. Then just before this, check if the last spell/last event/timestamp matches the current one. If it matches, don't send the chat message.
__________________
Author of Postal, Omen3, GemHelper, BankItems, WoWEquip, GatherMate, GatherMate2, Routes and Cartographer_Routes
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Spell_miss


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off