PtokaX forum

Archive => Archived 4.0 boards => Help with Lua 4 scripts => Topic started by: VAZ on 31 October, 2004, 06:26:16

Title: message spy
Post by: VAZ on 31 October, 2004, 06:26:16
can someone help me make this script not watch operators private message?


function Main()
   --frmHub:RegBot(Bot)
end

function DataArrival(curUser, sData)
   if ( strsub(sData, 1, 4) == "$To:" ) then
      SendToOps(frmHub:GetHubBotName(), sData)

   end
end



and is it possible to let this script only send to masters or netfounders??
Title:
Post by: Corayzon on 31 October, 2004, 06:29:17
function DataArrival(curUser, sData)
if strsub(sData, 1, 4) == "$To:" then
if curUser.iLevel < 1 then
SendToOps(frmHub:GetHubBotName(), sData)
end
end
end

this should so it ;)
Title:
Post by: Corayzon on 31 October, 2004, 06:56:15
aggred Mutor, but u cant stop ppl from spying =[

noza
Title:
Post by: enema on 31 October, 2004, 07:59:11
I had this from May.. I thought, that my hub just can be without this script, because I wanted my hub to be most protected from spaming and flooding etc... Few weeks ago I had to reduce number of scripts in my hub and I realised, that I can live without this one and even if I see someone bothering users  in private messages, asking them to leave this stupid hub and come to better one... I cant always be there to do something... So creating of perfect hub is up to me, even if I dont know nothing about other persons private life
Title:
Post by: VAZ on 31 October, 2004, 10:03:16
yes this is just a temp script for me because i have had a big problem with advertisers :(

not like i wanna spy on my users!!!
 this is just something i think that will help me stop these users that are advertising
when they see i always kick them when they do that maby they will stop....

im running rc9.0b but they still get away from the antiadvertise protection so im just gonna try this!
Title:
Post by: VAZ on 31 October, 2004, 10:07:59
thanks alot Corayzon ... :) does it send only to netfounder or all ops ?
Title:
Post by: VAZ on 31 October, 2004, 10:13:22
hehe

even if I dont know nothing about other persons private life


not like i want to know anything about my users private life


peace.



Damn.

Syntax error: attempt to compare nil with number
stack traceback:
   1:  function `DataArrival' at line 5


think this happens when i send other op pm.
Title:
Post by: enema on 31 October, 2004, 10:44:34
QuoteOriginally posted by VAZ
yes this is just a temp script for me because i have had a big problem with advertisers :(

not like i wanna spy on my users!!!
 this is just something i think that will help me stop these users that are advertising
when they see i always kick them when they do that maby they will stop....

im running rc9.0b but they still get away from the antiadvertise protection so im just gonna try this!

Do you think RC should do anything for you? Not a chance! You have to make some adjustments in RC if you want it to catch a spammer! Heres my advice - take RC 8.0b (because 9.0b doesnt allow this stuff), go to - extra.

In field - Anti Advertise put things like these -.com, .org, .net, .nu!

in field - safe advertise put these ones - http, www, wap, @ and few sites, that peapole like to type in chat wihout any www's or http's like - yahoo.com, mail.com

If you create something like this, you wont need any PM reader. And dont forget about ruri - ruri and knuckles! if any dumb spammer will get in your way, hit him with flooder! Spammers usually are young and stupid hubowners and they have never heard of such a thing as - deflood :)
Title:
Post by: VAZ on 31 October, 2004, 12:58:14
well thanks for the advise.

its just like you say they are young probleby 12 - 16 they always do that :(

yeah kids like that derserve to be flooded with hubcrashers...
Title:
Post by: VAZ on 03 November, 2004, 21:29:05
plz can anyone help me make this script Send to my nick

just send this script in pm to me

but if you dont wont to help me with this i will respect that.

but i will use this script anyways as it is now but it would just be better if me the hub owner would only see the message instead of all the ops and masters ;)
Title:
Post by: Optimus on 04 November, 2004, 13:45:57
RoboCop allready have a spy option the command is called !watch

There is also a !watch Protection that gives you the option to set who can watch who etc etc etc
Title:
Post by: VAZ on 04 November, 2004, 14:01:08
yes i have used that one but these spammers are always changing names an disconnecting to get a new ip  :(


and i have finally got the script that i wanted :)

thanks