F@CO!D
Would you like to react to this message? Create an account in a few clicks or log in to continue.

F@CO!D

Welcome To F@CO!D's Forum
 
HomeLatest imagesSearchRegisterLog in

 

 !rs on F4,welcome msg and badword

Go down 
AuthorMessage
PayPhone
Vip
Vip
PayPhone


Posts : 49
Join date : 2013-08-12
Age : 27

!rs on F4,welcome msg and badword Empty
PostSubject: !rs on F4,welcome msg and badword   !rs on F4,welcome msg and badword I_icon_minitimeWed Aug 14, 2013 3:58 pm

to lucky if u want here

if handsome==nil then handsome={} end
badwords={}

badwords.words = {"today shit","fuck","bitch","cunt","ass","whore","nigger","shit","faggot","damn",}

addhook("say","badwords.say")
function badwords.say(p,t)
t=string.lower(t)
for i = 1,#badwords.words do
if (string.find(t,badwords.words[i])~=nil) then
msg(player(p,"name").." Don't say Badword")
parse("kick "..p)
break
end
end
end


addhook("serveraction","reset")
function reset(id,rs)
if rs == 3 then
parse ("setscore "..id.." 0")
parse ("setdeaths "..id.." 0")
msg("©00255000"..player(id,"name").." Reset Score")
end
end

addhook("team","todays")
function todays(p,tm)
if tm==1 then
msg2(p,"©00255000Welcome on F@CO!D, "..player(p,"name").." - Have Fun")
end
if tm==2 then
msg2(p,"©00255000Welcome on F@CO!D, "..player(p,"name").." - Have Fun")
end
end
addhook("minute","todayss")
function todaysss()
msg("©00255000Server Powered facoid2d.forumms.net")
end
Back to top Go down
 
!rs on F4,welcome msg and badword
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
F@CO!D :: Cs2d Gaming :: General Discussion-
Jump to: