a wordcensor
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

a wordcensor

Started by viisoara17, 14 June, 2007, 19:06:17

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

viisoara17

I need a censor that work like this:  if i say  hub, disconect me, if i say hub. or huub or hubl or hubg .. no nothing.
I tryed many scripts, but they work in aother way.
Please.

Have a good day !

bastya_elvtars

Please post an existing script, that's easier.
Everything could have been anything else and it would have just as much meaning.

Psycho_Chihuahua

i see this is in the old Lua 5 Part...wasnt support closed?

and i also thought these threads were supposed to be locked  ???
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

bastya_elvtars

Quote from: Psycho_Chihuahua on 14 June, 2007, 20:58:29
i see this is in the old Lua 5 Part...wasnt support closed?

and i also thought these threads were supposed to be locked  ???

I tried locking them 20 times, but this all seems to fail. I move the post.
Everything could have been anything else and it would have just as much meaning.

viisoara17

Here`s a script:
I wnat it to work like this:  if i say  hub, disconect me, if i say hub. or huub or hubl or hubg .. no nothing.


tBad = { 
   -- add more words the same way   
   [1] = "dchub://",


 
ChatArrival = function(User,Data)
   if User.iProfile ~= 0 then
      local data = string.lower(Data)
      for k,v in pairs(tBad) do 
         local str = string.lower(v)
         str = string.gsub(str,"%c","%1")
         if string.find(data,str) then
            return 1
         end
      end
   end
end
I`m i invisible? ??? :-[

Leun

Hi,

Your request is already done, search for lucifer by jiten ( anti advertise script) or take a look at this page http://forum.ptokax.org/index.php?topic=7148#new

greetz

viisoara17


SMF spam blocked by CleanTalk