recordvanilla
After starting odamex or running odamex with +recordvanilla, this will record a vanilla doom demo.
Ex. If you wanted to record a demo of a map01 run, you would use recordvanilla map01 demotitle
recordlongticks
This is like recordvanilla, only it records demos in the longticks format. Consult the Doom Wiki.