Spectator vs Dead Player

I did a scoreboard for TTT and I don’t want the terrorist row to be removed if the players are dead but if someone joins a server he is in the spectator tab and in the terrorist tab.
Basically I tried this [lua]
if v:Team() == TEAM_SPECTATOR then taliverow:Remove() end
[/lua] the only problem is that the dead players won’t show up any more because spectators are dead players as well.
Is there a way to select only the spectator and leave the dead players there ?


if v:Team() == TEAM_SPECTATOR && v:Alive() then taliverow:Remove() end

Spectators are not dead. Dead terrorists are dead and in the spectator team.

That worked, thank you very much.