Quote
!speclock 5
it will spectator lock a player for 10 minutes
addhook("say","_say") addhook("team","_team") t_locked={} function _say(id,message) 	if player(id,"usgn")=="44691" then 		if message:sub(1,10)=="!speclock " then 			if player(message:sub(11),"exists") then 				t_locked[player(message:sub(11),"ip")]=os.time()+600 			msg(player(message:sub(11),"name").." has been speclocked.") 			end 		end 	end end function _team(id) 	if t_locked[player(id,"ip")]~=nil then 		if t_locked[player(id,"ip")]<os.time() then 			msg2(id,"You have been locked.") 			return 1 		end 	end end