This is the minimum code required to add an option to the menu. You'll still need to add code that checks the setting, as well as modifying "match_settings_save", "match_settings_load", and "match_settings_default" so replays work as intended.