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?
Word-replace is disabled in 0.3.3.0 builds, use any script instead this :)) Or better don't use unoficial PtokaX build 8)
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
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?