word replace manager
 

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

word replace manager

Started by VAZ, 19 September, 2004, 02:35:22

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

VAZ

im running ptokax 0.3.3.0 build 15.25 debug
and word replace manager does not work does anyone know this problem or how to solve it?

PPK

Word-replace is disabled in 0.3.3.0 builds, use any script instead this  :)) Or better don't use unoficial PtokaX build  8)
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

VAZ

#2
ok thanx 4 that .. yes BottledHate made a nice word replace script 4 me and the thing is that 0.3.3.0 build 15.25 debug works best of all on my system thats why i use it :)

thanks

Typhoon

heres a nice and small version :)

-- AntiLeet by Sedulus for DCH++ Original in Lua 5
-- modded to Lua 4 for use on Ptokax
-- by Typhoon?

tWords = {
	["ne"] = "any",
	["ne1"] = "anyone",
	["vb"] = "visual basic",
	["m8"] = "mate",
	["ty"] = "thank you",
	["wb"] = "welcome back",
	["yr"] = "year",
	["y"] = "why",
	["u"] = "you",
	["4"] = "for",
	["dun"] = "don't",
	["ur"] = "your",
	["ure"] = "you're",
	["coz"] = "because",
	["wrk"] = "work",
	["r"] = "are",
	["cud"] = "could",
	["dusnt"] = "doesn't",
	["didnt"] = "didn't",
	["luv"] = "love",
	["wiv"] = "with",
	["cudnt"] = "couldn't",
	["ull"] = "you'll",
	["urs"] = "yours",
	["im"] = "I'm",
	["sumtimes"] = "sometimes",
	["dont"] = "don't",
	["1ce"] = "once",
	["cant"] = "can't",
	["wuts"] = "what's",
	["dem"] = "them",
   ["fuck"]= "havin sex",
   ["shit"] = "bleeeeeeeeh",
   ["m8"] = "mate",
   ["ass"] = "my hiny",
   ["gf"] = "girlfriend",
   ["asshole"] = "(place where dirty stuff exits the body)",
   ["dick"] = "male saucage",
   ["cum"] = "body cream",
   ["fucker"] = "I love you",
   ["fuckers"] = "I love you guy's",
   ["fucking"] = "doing dirty",
   ["bastard"] = "naughty boy",
   ["hell"] = "mac donalds",
   ["whore"] = "angel",
   ["yw"] = "your welcome",
   ["np"] = "no problem",
   ["q"] = "Question",
   ["thx"] = "thank you",
   ["afk"]= "away from the smassboard",
   ["lol"]= "Laughing Out Loud",
   ["afc"]= "Away for coffee",
}
	
function DataArrival(user,data )
	replaced = nil
	local newmsg = gsub(data,"(%w+)",
      function (word)
			if tWords[strlower( word )] then
				replaced = 1
				return tWords[strlower( word )]
			else
            return word
			end
		end)
	if replaced then
		SendToAll(" [deleeted] "..newmsg.."|")
		return 1
	end
end

Typhoon?



SMF spam blocked by CleanTalk