PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Conversion Requests => Topic started by: Aptem on 31 July, 2010, 23:52:53

Title: AntiAd
Post by: Aptem on 31 July, 2010, 23:52:53
Hi all, who can conversion scripts from Eximius in PtokaX 0.4.1.1, please help, really need this scripts for PtokaX 0.4.1.1
Title: Re: AntiAd
Post by: Nando on 01 August, 2010, 23:53:24
Here it is

Greetings Nando
Title: Re: AntiAd
Post by: Aptem on 02 August, 2010, 01:12:06
Thanks  :)
Title: Re: AntiAd
Post by: [NL]Daddy-Bear? on 05 June, 2011, 16:11:12
Hello Nando,

Nice script but I found a problem during testing of it.
If I add a Message Pattern like      .org  or  .nl etc
Users wil been kickt if they type for exaple   "goeden morgen" in main chat.
The word  morgen has "org" in it.

Can you solve this problem for us?

Respectfully,

[NL]Daddy-Bear?
Title: Re: AntiAd
Post by: bastya_elvtars on 05 June, 2011, 19:16:03
This is because the dot is a magic character. Try it like this: "%.org"
Title: Re: AntiAd
Post by: [NL]Daddy-Bear? on 05 June, 2011, 20:12:03
Wil do Ty bastya_elvtars.

Respectfully,

[NL]Daddy-Bear?
Title: Re: AntiAd
Post by: Annie on 25 February, 2013, 11:48:56
Hiya I downloaded this script today.  It works for main and pm.  I noticed that it does not work in a separate chatroom for VIP profile.  Would be grateful if somebody could check this for me please :)
Also i notice it does'nt block an addy being put in the charoom to like it does with main chat and pm.  Thanks
Title: Re: AntiAd
Post by: PPK on 25 February, 2013, 12:26:22
Try to move this script before script for VIP chatroom ...
Title: Re: AntiAd
Post by: Annie on 25 February, 2013, 12:34:51
I tried that.  We have  3 chatrooms  Unreg,  reg and vip   I have tried it up the top of the scripts to still the same
Title: Re: AntiAd
Post by: PPK on 25 February, 2013, 13:09:58
Do you have set check for VIPS ? That script by default is checking only unreg and reg profiles  ::)
Title: Re: AntiAd
Post by: Annie on 25 February, 2013, 13:21:01
Yeah I had changed the profiles in it.  I put number 2 as true.

--// Unwanted patterns for mainchat or pm messages, countrycodes, and MyINFO: user description, share, email, country code etc.
Unwanted = {
   ["msg"] = {["checklevel"] = {[-1] = true,[0] = false, [1] = false, [2] = true, [3] = true}, ["patterns"] = {"[h][ft]tp%:%/%/","www%.","[%w]+%@[%w]+%.[%w]+","dchub%:%/%/","[%d]+%.[%d]+%.[%d]+%.[%d]+%:[%d]+"}},
   ["myinfo"] = {["checklevel"] = {[-1] = true,[0] = false, [1] = false, [2] = true, [3] = true}, ["patterns"] = {"spammone","1024000","[h][ft]tp%:%/%/","www%.","HTTP%:%/%/","dchub%:%/%/"}},
   ["cc"] = {["checklevel"] = {[-1] = true,[0] = false, [1] = false, [2] = true, [3] = true}, ["patterns"] = {"Cn"}},
}
Title: Re: AntiAd
Post by: aktarvishwas786 on 25 March, 2016, 07:15:27
 8) 8)
Quote from: Aptem on 31 July, 2010, 23:52:53
Hi all, who can conversion scripts from Eximius in PtokaX 0.4.1.1, please help, really need this scripts for PtokaX 0.4.1.1