This command will toggle god mode for your character. When in god mode, you are invincible and will not take any damage.
The syntax for the god command is as follows:
Find below working examples of the god command.
This is the only way the god command can be executed. If not in god mode, running this command will put your character in god mode (making them invincible). If already in god mode, running this command will disable god mode.