Support for %lvl% in all commands

Except for TerrainInitTextures (I'm not sure what it does but it does something weird)