I was trying to do something like this:
1
2
3
4
5
6
7
2
3
4
5
6
7
addhook("walkover","flacko.gg.walkover") function flacko.gg.walkover(id,iid,type) 	if (iid == 71 or iid == 70) then 		return 0 else return 1 	end end

addhook("walkover","flacko.gg.walkover") function flacko.gg.walkover(id,iid,type) 	if (iid == 71 or iid == 70) then 		return 0 else return 1 	end end
addhook("walkover","flacko.gg.walkover") function flacko.gg.walkover(id,iid,type) 	if (type == 71 or type == 70 or type >= 64 and type <= 68) then 		return 0 else return 1 	end end
function gg.setlevel(p, level, b) 	if level > gg.maxlvl then 		level = gg.maxlvl 		msg("©128000255"..player(p, "name").." Is The Winner@C") 		parse("map "..game("nextmap")) 	end 	if level < gg.minlvl then level = gg.minlvl end 	gg.players[p].level = level 	gg.players[p].kills = 0 	strip(p, 0) 	parse("equip "..p.. " "..gg.wpnlvl[level].wpn_id) 	msg("Player \""..player(p, "name").."\" is now on level "..level) end
addhook("parse","flacko.gg.parse") function flacko.gg.parse(cmd) if(cmd=="gg_levelup-") then flacko.gg.killstolevelup=flacko.gg.killstolevelup-1 print("©255255000 Kills to level up = "..(flacko.gg.killstolevelup)) return 2 end if(cmd=="gg_levelup+") then flacko.gg.killstolevelup=flacko.gg.killstolevelup+1 print("©255255000 Kills to level up = "..(flacko.gg.killstolevelup)) return 2 end end
addhook("parse","flacko.gg.parse") function flacko.gg.parse(cmd) 	if(cmd=="gg_levelup-") then 		flacko.gg.killstolevelup=flacko.gg.killstolevelup-1 		print("©255255000 Kills to level up = "..(flacko.gg.killstolevelup)) 		return 2 	end 	if(cmd=="gg_levelup+") then 		flacko.gg.killstolevelup=flacko.gg.killstolevelup+1 		print("©255255000 Kills to level up = "..(flacko.gg.killstolevelup)) 		return 2 	end end
function split(t, b) 	return toTable(t, b) end function toTable(t, b) 	local cmd = {} 	local match = "[^%s]+" 	if b then 		match = "%w+" 	end 	if type(b) == "string" then match = "[^"..b.."]+" end 	if not t then return invalid() end 	for word in string.gmatch(t, match) do 		table.insert(cmd, word) 	end 	return cmd end
addhook("parse","flacko.gg.parse") function flacko.gg.parse(cmd) 	local str = split(cmd) 	local cmdtype = str[1] 	 	if (cmdtype=="gg_levelup-") then 		flacko.gg.killstolevelup=flacko.gg.killstolevelup-1 		print("©255255000 Kills to level up = "..(flacko.gg.killstolevelup)) 		return 2 	end 	if (cmdtype=="gg_levelup+") then 		flacko.gg.killstolevelup=flacko.gg.killstolevelup+1 		print("©255255000 Kills to level up = "..(flacko.gg.killstolevelup)) 			return 2 	end 	 	if cmdtype == "gg_levelup" then 		flacko.gg.killstolevelup = tonumber(str[2]) 	end end
local str = split(cmd) 	local cmdtype = str[1] 	--------------------------- 	if cmdtype == "gg_levelup" then 		flacko.gg.killstolevelup = tonumber(str[2]) 	end
{"gg_levelup", "5"}
flacko.gg.killstolevelup = tonumber(str[2])
if (cmdtype == "gg_setlevel") then flacko.gg.level[tonumber(str[2])] = tonumber(str[3]) return 2 end