WoW:API ComplainChat: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Move page script moved page API ComplainChat to API ComplainChat without leaving a redirect) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 12: | Line 12: | ||
== Notes == | == Notes == | ||
* Abusing the spam-reporting API will get it protected. [http://forums.worldofwarcraft.com/thread.html?topicId=63167579&sid=1&pageNo=25] | |||
* Complaining about a [[player]] squelches further communication from the target's [[account]] for the rest of the session. [http://forums.worldofwarcraft.com/thread.html?topicId=102905050] | |||
* ''lineID'' can also be obtained from the player link. E.g. <code>local lineID = strmatch(link, ("|Hplayer:[^:]*:(%d+):.*|h")</code> - useful if using [[UIHANDLER_OnHyperlinkClick|OnHyperlinkClick]], [[UIHANDLER_OnHyperlinkEnter|OnHyperlinkEnter]], or [[UIHANDLER_OnHyperlinkLeave|OnHyperlinkLeave]]. | |||
== See Also == | == See Also == | ||
: API [[API CanComplainChat|CanComplainChat]] | : API [[API CanComplainChat|CanComplainChat]] |
Latest revision as of 04:45, 15 August 2023
← WoW API < ComplainChat
Complain about a specific chat message to the Game Masters.
ComplainChat(lineID) ComplainChat(author, [message])
Arguments[edit]
Notes[edit]
- Abusing the spam-reporting API will get it protected. [1]
- Complaining about a player squelches further communication from the target's account for the rest of the session. [2]
- 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