If you wnat to use this code, copy&paste it to the very end of any .lua file in your addons folder.
If you prefer making a new addon:
- In your Addons folder create folder named "SilentFriends".
- create text file "SilentFriends.txt" and copy&paste this text to the file:
Code:
## APIVersion: 100007
SilentFriends.lua
- create text file "SilentFriends.lua" and copy&paste this text to the file:
Lua Code:
EVENT_MANAGER:RegisterForEvent("SilentFriends", EVENT_PLAYER_ACTIVATED, function(event)
EVENT_MANAGER:UnregisterForEvent("SilentFriends", event)
EVENT_MANAGER:UnregisterForEvent("ChatSystem_OnEventId" .. EVENT_FRIEND_PLAYER_STATUS_CHANGED, EVENT_FRIEND_PLAYER_STATUS_CHANGED)
ZO_ChatSystem_GetEventHandlers()[EVENT_FRIEND_PLAYER_STATUS_CHANGED] = nil
end)
EDIT:
Addon is attached, so just download and install it the same way as any other addons.