PtokaX forum

Archive => Archived 5.0 boards => Finished Scripts => Topic started by: PPK on 08 May, 2005, 10:54:54

Title: Anti dcmagnet.com pm spam
Post by: PPK on 08 May, 2005, 10:54:54
Few last weeks users complain about pm spam from random nicknames with dcmagnet.com advert... i make this simply script against it :] Advert is not send and user is reported to OPs :)

function ToArrival(curUser, sData)
if curUser.iProfile == -1 then
if string.find(sData, "dcmagnet.com") then
what = string.sub(sData, string.find(sData,">", 1)+2)
SendToOps(frmHub:GetHubSecAliasName(), "User -> "..curUser.sName.." <- advertising on pm with -> "..what)
return 1
end
end
end
Title:
Post by: 6Marilyn6Manson6 on 08 May, 2005, 11:07:57
Very good PPK ;)