I need a help for a command @switch which make all CT to T and all T to CT..Can someone make a script like that?

Thx.


-F1r3Z_
if switch == nil then switch = {} end addhook("say","switch.func") function switch.func(id,txt) 	if txt=="@switch" then 		local T = player(0,"team1") 		local CT = player(0,"team2") 		for i=0,#T do 			parse("makect "..CT[i]) 		end 		for i = 0,#CT do 			parse("maket "..CT[i]) 		end 	end end