This command has been reported as not working - it should put you in spectator mode on servers.
The syntax for the spectate command is as follows:
spectate
Search our database of 116 Left 4 Dead 2 commands...