View Single Post
10-11-18, 02:26 PM   #3
doofus
A Chromatic Dragonspawn
Join Date: Feb 2018
Posts: 158
The reason I want it is I have written a spam filter for LFG and Trade, and I want it to block Guild recruiting messages. So I have filtered out "<Guild XYZ> 8/8 HC ..." type messages but some guys are now clever and avoid enclosing the guild name in brackets, so the mssages that escape are, "Guild XYZ 8/8 HC ..." !

My idea was to scan the first 1-3 words to check if it's valid guild name and filter on that.

Another idea was to *assume* that the spammer was necessarily in the guild concerned, therefore I could get the guild name from the spammer's name. But even that failed because GetGuildInfo requires "party1" or "target" etc and not something like "Dorkhead-Sylvannas" type of argument.
  Reply With Quote