View Single Post
06/01/17, 04:10 PM   #4
Crabby654
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 19
Alrighty I fixed that issue!

There is something else that has me a bit concerned. Now I pulled this bit of code from another addon to display the old way the friend number would fade out. However there appears to be an erroneous ( in 2 places. I would really appreciate it if anyone could tell me if this makes sense since one of the ) is after an "end".

Code:
	handlerhook = ZO_ChatSystem_GetEventHandlers()[EVENT_CHAT_MESSAGE_CHANNEL]
	ZO_ChatSystem_AddEventHandler(EVENT_CHAT_MESSAGE_CHANNEL, function(...)
		if esettings.timestampchat then
			return '|c707070[' .. GetTimeString() .. ']|r ' .. handlerhook(...)
		else
			return handlerhook(...)
		end
	end)
The 2 spots I am looking at is the second line: ZO_ChatSystem_AddEventHandler(EVENT_CHAT_MESSAGE_CHANNEL, function(...)
and the 8th (final) line: end)
  Reply With Quote