I have had a few people now join and then post a link or somthing and then leave.Now i dont click them but i get my firewall to scan it and they end up having viruses.Is there anything we can do to stop it?
Mabe make a proc or var so if they type a link in it will atomatically bann-boot them? lol
ID:153225
Sep 11 2004, 4:16 am
|
|
Sep 11 2004, 4:33 am
|
|
I guess you can do this:
|
You can parse the message before displaying it, just like a curse filter. If you detect something that looks like a link, you can have the program warn them, ban them, turn them into a walrus, or whatever else you care to do.
|
In response to DeathAwaitsU
|
|
Oh ok thnx,and lol shadow with the walrus thing xD
|
In response to DeathAwaitsU
|
|
You don't want to do ==1. findtext returns the position of the text to find, so it will be a number other than 1. You should just do if(findtext(T,"BLAHBLAH"))
|
In response to Airjoe
|
|
Correct me if i'm wrong but findtext will only do that if i did if(findtext,"blah","blah",1)), i'm doing if(findtext,"blah","blah")==1) which means the ==1 is for the if command not the findtext command. But yeah i guess it is unneccessary, but it's the way the ref did it so i thought i may aswell do it too.
|
In response to DeathAwaitsU
|
|
DeathAwaitsU wrote:
Correct me if i'm wrong but findtext will only do that if i did if(findtext,"blah","blah",1)), i'm doing if(findtext,"blah","blah")==1) which means the ==1 is for the if command not the findtext command. But yeah i guess it is unneccessary, but it's the way the ref did it so i thought i may aswell do it too. No, if(findtext(T,"blah")==1) will check to see if findtext returned 1. findtext doesn't return true or false, it returns the position of the text you searched for. Doing findtext("blah","blah",1) would have an unnessesary argument. |