PtokaX forum

Development Section => Your Developing Problems => Topic started by: c h i l l a on 23 December, 2003, 13:09:13

Title: syp ideas
Post by: c h i l l a on 23 December, 2003, 13:09:13
any ideas for spying PM's ??

here is my not working one...

i use these

PMPattern = { "%.com","%.net","%.nu","%.org","%.biz",".info","%.tv","%.ws","%.cc","%.cx" }

local mes1 = gsub(mes,"%s+","")
local mes1 = gsub(mes1,"\r\n+","")
for _,v in PMPattern do
if strfind(strlower(mes1),strlower(v)) then
local msg = "To : "..format('%q',whoTo).." : "..mes
doReport(" *** PM From: "..format('%q',curUser.sName).." ( IP: "..curUser.sIP.." ), To: "..format('%q',whoTo).." :: "..mes)
curUser:SendData(bot, WatchNoteText)
break
end
end

to check PMs, but ?ts not bulletproof, any other ideas ???
Title:
Post by: IceCoder on 23 December, 2003, 13:36:03
i have one in vb if you whant to translate it
Title:
Post by: pHaTTy on 23 December, 2003, 15:03:27
he he he, this is what G5 does, but if for other bad words, sicko's etc

if someone mensions lolita, rape etc then it watches them for all ops,
Title:
Post by: c h i l l a on 23 December, 2003, 16:12:39
lol  I just read my own post syp ideas , stopid , grrr...
but you guys got it anyways,  its spy ideas :)...

hmm.. (uk-kingdom)pH?tt?  see I left the script running,  but it sometimes messes up, showing thing I don't want to catch so next idea was, maybe to let it only trigger if it catches a Pm more often then 3 times from the same user, in a certain period of time...  but dunno...

and ice coder  sure,  I need to know different ways to filter out the best one.
Title:
Post by: [=robbase=] on 23 December, 2003, 21:48:03
Try this one -

[censored due to complaints]

I hope it work!
Title:
Post by: pHaTTy on 23 December, 2003, 21:52:00
as for spelling error = fixed, i will have a look into this script and see what i can dig out if i got some free time ;)
Title:
Post by: [NL]trucker on 24 December, 2003, 01:14:28
here is one i found in my archives


[censored due to complaints]

it has some errors when using pzozzybot but nothing serious.
Title:
Post by: [=robbase=] on 24 December, 2003, 02:47:00
mmm... that 1's a bit smaller!  :))
Title:
Post by: D-J Valhala on 24 December, 2003, 16:20:15
Syntax Error: bad argument #1 to `gsub' (string expected, got nil)

:(
can you post the spy bot with the fix?
10X m8
Title:
Post by: SaintSinner on 24 December, 2003, 16:34:09
QuoteOriginally posted by D-J Valhala

Syntax Error: bad argument #1 to `gsub' (string expected, got nil)

:(
can you post the spy bot with the fix?
10X m8



QuoteOriginally posted by c h i l l a


here is my not working one...




Title:
Post by: D-J Valhala on 24 December, 2003, 16:39:20
sorry dont understad
Title:
Post by: pHaTTy on 24 December, 2003, 17:24:13
here is my not working one...

means its not working.....