Clear chat slash command. - Page 2 - WoWInterface
Thread Tools Display Modes
09-02-15, 08:00 PM   #21
A Cobalt Mageweaver
Kkthnx's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2011
Posts: 247
Originally Posted by Lesteryoung View Post
Thanks kkThnx, the one you posted works the same as Munk's code basically. It clears selected windows without clearing all windows.

For some reason, it clears the combat log fine, but if you tab between the combat log views (What happened to me?) thing it repopulates the data you previously cleared. If this is unavoidable then it's fine, mainly just wanted to clear chat anyway.
Yah, now we can all thank Phanx as usual! Phanx has some pretty neat ways of coding things. You could learn a couple things.
Success isn't what you've done compared to others. Success is what you've done compared to what you were made to do.
  Reply With Quote
09-03-15, 06:48 AM   #22
A Pyroguard Emberseer
Petrah's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2008
Posts: 2,988
Originally Posted by Seerah View Post
that was Petrah's that he had quoted
Just to clarify, that's not my code. I got it from someone who shared it a very very long time ago on the official forums.
♪~ ( ) I My Sonos!
AddOn Authors: If your addon spams the chat box with "Addon v8. now loaded!", please add an option to disable it!
  Reply With Quote
09-03-15, 09:39 AM   #23
A Molten Giant
Lombra's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 554
The combat log entries are not stored in the message frame, so to speak, so it can be repopulated again. There seems to be a function CombatLogClearEntries() which sounds like it might do what you want.
Grab your sword and fight the Horde!
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Clear chat slash command.

Thread Tools
Display Modes

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