Will All Of These Work?

-- Form A Tribe Command --
function raidRules( ply, text, public )
	if( string.sub( text, 1, 9) == "!raidrules" then
		Entity(1):PrintMessage(HUD_PRINTTALK, "-- Rules Of Raiding --")
		Entity(1):PrintMessage(HUD_PRINTTALK, "1. You Must Be Survival Level 4 +")
		Entity(1):PrintMessage(HUD_PRINTTALK, "2. You Must Be With 2 People From The Same Tribe (Not Default Tribe)")
		Entity(1):PrintMessage(HUD_PRINTTALK, "3. You Cannot Raid For Wood.")
		Entity(1):PrintMessage(HUD_PRINTTALK, "To Start A Raid Type !raid *playername*")
		Entity(1):PrintMessage(HUD_PRINTTALK, "( Example: !raid GamingWinks )")
		Entity(1):PrintMessage(HUD_PRINTTALK, "HAPPY RAIDING")
hook.Add( "PlayerSay", "raidRules", raidRules )

-- Raiding --
function raid( ply, text, public )
	if( string.sub( text, 1, 9) == "!raid" then
		ply:PrintMessage (HUD_PRINTTALK, target:Nick() .. "Is Going To Be Raided By [" .. warn .. "] Prepare For Battle"
	target:PrintMessage (HUD_PRINTTALK, "You Are Going To Be Raided By: [" .. ply:Nick .."]"
hook.Add( "PlayerSay", "raid", raid )

-- Request --
hook.Add( "PlayerSay", "PlayerSayExample", function( ply, text, team )
	if ( string.sub( text, 1, 6 ) == "/request" ) then--if ( the first 4 letters are /all continue
		return "[REQUEST] " .. string.sub( text, 5 ) --add [Global] infront of the players text ) then display
end )

-- Checking Version --
function verSion( ply, text, public )
	if( string.sub( text, 1, 9) == "!raid" then
		Entity(1):PrintMessage(HUD_PRINTTALK, "The Current Version Of Our Server)"
		Entity(1):PrintMessage(HUD_PRINTTALK, "1.15"
		Entity(1):PrintMessage(HUD_PRINTTALK, "Whats New?"
		Entity(1):PrintMessage(HUD_PRINTTALK, "Raid Command! - "
		Entity(1):PrintMessage(HUD_PRINTTALK, "Type !raidrules To Find Out More"
hook.Add( "PlayerSay", "verSion", verSion )

And where do i put them? like what folder

[editline]13th September 2014[/editline]

ive changed all the lengths of commands and named em properly

  1. Why are you creating 4 different PlayerSay functions ? You can just put them in the same function
  2. string.sub will check if the first integer (1) to the second integer (9) are !raid, for example, but !raid is only 5 characters. I am not sure if this will cause issues because I have never tried a higher amount, but change it to 5 anyway
  3. Why are you using Entity(1) ? It will only work for the first entity on the map, you already have a playerdefined ( ply ) in your function, use ply:PrintMessage(HUD_PRINTTALK, “text”) instead… Then it’ll work for anyone who says it
  4. Target is undefined in your raid function.
  5. You’re missing multiple parenthesises
  6. Many other things, can’t be fucked to explain;

Learn Lua and don’t type random things in the hope they work together, ‘TheCodingBoss’. And why don’t you try it yourself, instead of asking us? Create a gamemode if you want to create a gamemode, or put it in addon/lua folder format if you don’t.

i mainly need 3 things;
The Raid command, print a text in everyones chat saying TheCodingBoss Is Raiding TheCodingBoss
For example
the raidrules
and rules, please someone help

Did you even read Tomvdr’s post? He told you exactly what was wrong.