→ WoW API
ComplainChat(lineID) ComplainChat(author, [message])
- Abusing the spam-reporting API will get it protected. 
- Complaining about a player squelches further communication from the target's account for the rest of the session. 
- lineID can also be obtained from the player link. E.g.
local lineID = strmatch(link, ("|Hplayer:[^:]*:(%d+):.*|h")- useful if using OnHyperlinkClick, OnHyperlinkEnter, or OnHyperlinkLeave.
See Also Edit
- API CanComplainChat
Community content is available under CC-BY-SA unless otherwise noted.