drity Word BOT
 

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

drity Word BOT

Started by Gx_lucas, 18 November, 2005, 00:40:42

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gx_lucas

Hi
    --Censor Bot created by SyMteX 08.01.2003

    botname = "Agata"
    trigs = { ["pizd"]=1,["kurw"]=2,["jeb"]=3,
    ["suk"]=4,["pierd"]=5,["chuj"]=6,
    ["kutas"]=7,["szmato"]=8
    }
    function Main()
    frmHub:RegBot(botname)
    end

    function DataArrival(user, data)
    if (not user.bOperator) then
    if (( strsub(data, 1, 1) == "<" ) or ( strsub(data, 1, 4) == "$To:" )) then
    for key,a in trigs do
    if( strfind( strlower(data), key) ) then
    SendToAll( botname, user.sName.." zostal rozlaczony za przeklinanie." )
    user:Disconnect()
    end
    end
    end
    end
    end
you'd like it to warn the user in mainchat or private message? instead of disconnect the user. simply. " It possible ??

Gx_lucas

It's not working :( Convert him but it;s styl nothing, I've PtokaX DC Hub 0.3.2.6 TestDrive 4.99 ,maby ony edit this scrip can help ... :(

Tw?sT?d-d?v

Thats an old version of ptokax :(  .... if i was you i would upgrade to latest one      get from here

Then the script Mutor posted will work fine  :D

Gx_lucas

Yea its workin but Censor is work but my old script not orking so i convert they to LUA 5 and still nothing WHY ??

Tw?sT?d-d?v

your other scripts need changing too .... has your old hub was using lua4 and the new hub use's lua5

You need to replace them with converted 1s :D

Search the forum to find all ... if not converted yet ask and im sure someone will help you out  8)

SMF spam blocked by CleanTalk