WoW:API ComplainChat: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (→Notes) |
||
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:.*:(.*)|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]] |
Revision as of 07:07, 13 April 2010
← WoW API < ComplainChat
Complain about a specific chat message to the Game Masters.
ComplainChat(lineID) ComplainChat(author, [message])
Arguments
Notes
- 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:.*:(.*)|h")
- useful if using OnHyperlinkClick, OnHyperlinkEnter, or OnHyperlinkLeave.
See Also
- API CanComplainChat