Re: How to auto kick who is using proxy?
Deleted Userbut i cant do this =(
addhook("rcon","_rcon") function _rcon(cmds,id,ip,port) 	if ip==115.124.67.178 then 		return 0 	else 		return 1 	end end maybe work because im not test it
adminlist = {XXXXX} bannedusgns = {} addhook('join', 'join_hook') addhook('say', 'say_hook') function join_hook(id) 	for n, w in ipairs(bannedusgns) do 		if w == player(id, 'usgn') then 			parse('kick '.. id ..' "Becouse he is bitch!"') 		end 	end end function say_hook(id, text) 	for n, w in ipairs(adminlist) do 		if w == player(id, 'usgn') then 			if text:sub(1, 8) == '!banusgn' then 				table.insert(bannedusgns, player(tonumber(text:sub(10))), 'usgn') 				parse('kick '.. tonumber(text:sub(10)) ..' "Becouse he is bitch!"') 			return 1 			end 		end 	end end
kick=0 kickid=0		-- add this two code before hook addhook("second","second_hook")		-- add this after join hook function second_hook() 	if kick==1 then 		parse("kick "..kickid) 		kick=0 		kickid=0 	end end 	if name=="Egypt" then 	kick=1 	kickid=id end			-- add this at join hook after msg