WordToSound = {
{"speak english", "vo/npc/male01/vanswer01.wav"},
{"bullshit", "vo/npc/male01/question26.wav"},
{"yay", "vo/npc/Barney/ba_yell.wav"},
{"shit", "vo/npc/Barney/ba_ohshit03.wav"},
{"hax", "vo/npc/male01/hacks01.wav"},
{"hacks", "vo/npc/male01/hacks02.wav"},
{"h4x", "vo/npc/male01/thehacks01.wav"},
{"h4cks", "vo/npc/male01/thehacks02.wav"},
{"okay", "vo/npc/male01/ok02.wav"},
{"durka", "vo/npc/vortigaunt/vortigese11.wav"},
{"derka", "vo/npc/vortigaunt/vortigese12.wav"},
{"noes", "vo/npc/Alyx/ohno_startle01.wav"},
{"get down", "vo/npc/male01/getdown02.wav"},
{"gtfo", "vo/npc/male01/gethellout.wav"},
{"gtho", "vo/npc/male01/gethellout.wav"},
{"yeah", "vo/npc/male01/yeah02.wav"},
{"rofl", "vo/Citadel/br_laugh01.wav"},
{"lmao", "vo/Citadel/br_laugh01.wav"},
{"run", "vo/npc/male01/runforyourlife02.wav"},
{"fantastic", "vo/npc/male01/fantastic01.wav"},
{"headcrabs", "vo/npc/Barney/ba_headhumpers.wav"},
{"headhumpers", "vo/npc/Barney/ba_headhumpers.wav"},
{"hello", "vo/coast/odessa/nlo_cub_hello.wav"},
{"eek", "ambient/voices/f_scream1.wav"},
{"uh oh", "vo/npc/male01/uhoh.wav"},
{"sodomy!", "vo/ravenholm/madlaugh01.wav"},
{"sodomy2", "vo/ravenholm/madlaugh02.wav"},
{"sodomy3", "vo/ravenholm/madlaugh03.wav"},
{"sodomy4", "vo/ravenholm/madlaugh04.wav"},
{"oops", "vo/npc/male01/whoops01.wav"},
{"shut up", "vo/npc/male01/answer17.wav"},
{"shutup", "vo/npc/male01/answer17.wav"},
{"right on", "vo/npc/male01/answer32.wav"},
{"freeman", "vo/npc/male01/gordead_ques03a.wav"},
{"help", "vo/npc/male01/help01.wav"},
{"haxz", "vo/npc/male01/herecomehacks01.wav"},
{"hi!", "vo/npc/male01/hi01.wav"},
{"lets go", "vo/npc/male01/letsgo02.wav"},
{"moan", "vo/npc/male01/moan04.wav"},
{"nice", "vo/npc/male01/nice.wav"},
{"noo", "vo/npc/male01/no02.wav"},
{"oh no", "vo/npc/male01/ohno.wav"},
{"joygasm", "vo/npc/female01/pain06.wav"},
{"zombies", "vo/npc/male01/zombies01.wav"},
{"zombiez", "vo/npc/male01/zombies02.wav"},
{"da man", "bot/whos_the_man.wav"},
{"my house", "bot/this_is_my_house.wav"},
{"party", "bot/its_a_party.wav"},
{"watch out", "vo/npc/male01/watchout.wav"},
{"excuse me", "vo/npc/male01/excuseme02.wav"},
{"you sure?", "vo/npc/male01/answer37.wav"},
{"drink a big bucket of shit", "speach/obeyyourthirst.wav"},
{"drink a big bucket of horse dick", "speach/obeyyourthirst2.wav"},
{"drink a big bucket of warm pee", "speach/obeyyourthirst3.wav"},
{"groan", "vo/npc/male01/moan04.wav"},
{"gasp", "vo/npc/male01/startle01.wav"},
{"sorry", "vo/npc/male01/sorry01.wav"},
}

function Talk_Check(userid, sayText, bTeam)
	if _PlayerInfo(userid, "alive") then
		sayText = string.sub(sayText, string.len(_PlayerInfo(userid,"name"))+3)
		lowerText = string.lower(sayText)
		for i in WordToSound do
			if string.find(lowerText, WordToSound[i][1]) then
				_EntEmitSound(userid, WordToSound[i][2])
				return
			end
		end
	end
end
HookEvent("eventPlayerSay", Talk_Check)
