View Single Post
08-31-15, 01:16 AM   #1
Lesteryoung
A Black Drake
Join Date: Aug 2015
Posts: 81
Clear chat slash command.

I'm trying to create a command function that simply clears the chat that you currently have selected, whether it be the combat log or the main chat or any other chat frame.

This is what I have, but the code is off.

Code:
SlashCmdList["CLEAR"] = function() SELECTED_CHAT_FRAME() end
	SLASH_CLEAR1     = "/clear"
  Reply With Quote