This cheat will spawn a pipe bomb under your character, which will detonate (and deal damage) after a few seconds.
The syntax for the boom command is as follows:
Search our database of 116 Left 4 Dead 2 commands...Full list
Find below working examples of the boom command.
This is the only way the boom command can be used - it will spawn a pipe bomb under you.