wenn da ma einer lust zu hätte wär nett

wood1 = 0 addhook("trigger", "hook_trigger") function hook_trigger(tree,0) wood1 = wood1 + 1 end end addhook("say", "hook_say") hook_say(id, message) if (message == wood1) then parse (MSG wood1) end end
trigger(trigger,source)(once per trigger) -trigger: trigger name -source: triggered by 0=map/1=script >return:	0 - proceed normally 		1 - don't trigger triggerentity(x,y) triggered entities) -x: entity x position (tiles) -y: entity y position (tiles) >return:	0 - proceed normally 		1 - don't trigger
wood1 = 0 addhook("trigger", "hook_trigger") function hook_trigger(tree,0) 	 wood1 = wood1 + 1 	 end end addhook("say", "hook_say") function hook_say(id, message) 	 if (message == "!wood1") then 		 parse (MSG wood1) 	 end end
addhook("wilkommensnachricht","welcome") welcome(p,t) msg2(p,"Welcome to our Prison Server, "..player(p,"name").."!") end addhook("wilkommensnachricht2","welcome2") welcome2(p,t) msg2(p,"When you're a T write !Jail in Chat and !Afk") end addhook("say","Jail_help") function Jail_help(,p,id, nachricht) if (nachricht == "!Jail") then if (player(p, "team") == 1) then msg(id,"Attack Walls for hiden Triggers or looking for destroyable walls." end end end addhook("say", "afk") function afk(id,p,t) if (t == "!Afk") then if (player(p, "team") == 1) then parse("equip "..p.." 51") then msg(id,"You have get a Anti freekill Armor.") end end end end
addhook("join", "jail_welcome") function jail_welcome(p) 	msg2(p, "Welcome to our prison server, "..player(p,"name").."!") 	msg2(p, "If you're a T write !Jail in Chat and !afk") end addhook("say" , "jail_say") function jail_say(id, nachricht) 	if (player(id, "team") == 1) then 		if (nachricht == "!Jail") then 			msg2(id, "Attack Walls for hiden Triggers or looking for destroyable walls.") 		end 		if (nachricht == "!afk") then 			parse("equip "..id.." 51") 			msg2(id, "You have got an anti freekill armor.") 		end 	end end
parse("hudtxt 0 \"©255255255You play on [Servername]!\" 4 102 0") parse("hudtxt 1 \"Visit: [Homepageurl]\" 4 120 0") parse("hudtxt 2 \"Dont use Hacks or Bann! \" 4 140 0") addhook("welcomemsg","join") function welcomemsg(player) 	parse("msg2 "..player.." \"Welcome on [Servername]@C\"") end
parse("hudtxt 0 \"©255255255You play on [Servername]!\" 4 102 0") parse("hudtxt 1 \"Visit: [Homepageurl]\" 4 120 0") parse("hudtxt 2 \"Dont use Hacks or Bann! \" 4 140 0")
addhook("welcomemsg","join") -- [b]Hier ist ein Fehler[/b] function welcomemsg(player) 	parse("msg2 "..player.." \"Welcome on [Servername]@C\"") end
addhook("hook","NameDerFunktion"[i][,Priorität][/i])
addhook ("spawn","starten") function starten (id) if (team==1) then parse ("equip "..id.." 74") end if (team==2) then parse ("equip "..id.." 30") end end