Both.
Weird little thing I just found, if I exec autoexec once I'm already on a server, the script works fine. If I do it while sitting in the main menu, things get unbound. I tried deleting all my class configs and that didn't change anything. I've just put exec autoexec in all my class configs and it should work out fine.
does code not work in spoiler or am i formatting wrong
[code]unbindall
bind "0" "0"
bind "1" "load_itempreset 0"
bind "2" "load_itempreset 1"
bind "3" "slot3; r_drawviewmodel 1"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "say ¯\_(?)_/¯"
bind "7" "o7"
bind "8" "slot8"
bind "9" "slot9"
bind "a" "+mleft"
bind "b" "lastdisguise"
bind "c" "voice_menu_3"
bind "d" "+mright"
bind "e" "+fw; voicemenu 0 0"
bind "f" "+inspect"
bind "g" "+use_action_slot_item"
bind "h" "+taunt"
bind "i" "showmapinfo"
bind "j" "cl_trigger_first_notification"
bind "k" "kill"
bind "l" "say fite me irl"
bind "m" "open_charinfo_direct"
bind "n" "open_charinfo_backpack"
bind "o" "cl_decline_first_notification"
bind "p" "vr_reset_home_pos"
bind "q" "demo_togglepause"
bind "r" "+reload"
bind "s" "+mback"
bind "t" "impulse 201"
bind "u" "say_team"
bind "v" "+teamonly"
bind "w" "+mfwd"
bind "x" "voice_menu_2"
bind "y" "say"
bind "z" "voice_menu_1"
bind "KP_END" "load_itempreset 0"
bind "KP_DOWNARROW" "load_itempreset 1"
bind "KP_PGDN" "load_itempreset 2"
bind "KP_LEFTARROW" "load_itempreset 3"
bind "[" "show_quest_log"
bind "]" "show_matchmaking"
bind "'" "+moveup"
bind "`" "toggleconsole"
bind "," "changeclass"
bind "." "changeteam"
bind "/" "+movedown"
bind "\" "htmlhud"
bind "-" "say kill"
bind "=" "say live"
bind "SPACE" "+jump"
bind "TAB" "+showscoresandspawns"
bind "CAPSLOCK" "+voicerecord"
bind "ESCAPE" "cancelselect"
bind "INS" "+klook"
bind "END" "centerview"
bind "PGUP" "+lookup"
bind "PGDN" "+lookdown"
bind "PAUSE" "pause"
bind "SHIFT" "+duck"
bind "F1" "load_itempreset 2"
bind "F2" "load_itempreset 3"
bind "F3" "askconnect_accept"
bind "F5" "screenshot"
bind "F6" "save_replay"
bind "F7" "abuse_report_queue"
bind "F8" "kill"
bind "F9" "jointeam red"
bind "F10" "jointeam blue"
bind "F11" "jointeam spectator"
bind "F12" "jointeam auto"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MOUSE3" "+attack3"
bind "MWHEELUP" "slot1"
bind "MWHEELDOWN" "slot2"
cl_rumblescale "0"
cl_interp_ratio "1"
cl_interp ".00001"
cl_chatfilter_version "1"
sensitivity "1.950000"
m_rawinput "1"
cl_idealpitchscale "1.3"
net_graphsolid "0"
viewmodel_fov "54.000000"
mat_viewportscale "1"
mat_software_aa_strength "0"
mat_software_aa_strength_vgui "0"
pyro_vignette "0"
pyro_dof "0"
voice_modenable "0"
hud_fastswitch "1"
tf_backpack_page_button_delay "0.25"
tf_time_loading_item_panels "0.0001"
hud_classautokill "0"
cl_disablehtmlmotd "1"
sixense_sensitivity_level "2"
sixense_aim_freeaim_heading_multiplier "1.750000"
sixense_aim_freeaim_pitch_multiplier "1.750000"
sixense_aim_freeaim_dead_zone_radius "0.000000"
sixense_aim_freeaim_accel_band_size "15"
sixense_aim_freeaim_max_speed "12.000000"
sixense_aim_1to1_pitch_multiplier "3.000000"
sixense_feet_angles_offset_stick_spin_horiz_multiplier "7.500000"
sixense_feet_angles_offset_stick_spin_vert_multiplier "4.500000"
muzzleflash_light "0"
cl_autorezoom "0"
sb_dontshow_maxplayer_warning "1"
sb_close_browser_on_connect "0"
tf_inspect_hint_count "11"
fov_desired "90"
cl_ask_blacklist_opt_out "1"
ds_min_streak "4.000000"
ds_kill_delay "15.000000"
tf_particles_disable_weather "1"
hud_combattext_batching "1"
tf_dingalingaling "1"
tf_dingaling_volume "0.750000"
tf_dingaling_pitchmindmg "164.940002"
tf_dingaling_pitchmaxdmg "80.809998"
tf_dingaling_lasthit_volume "0.750000"
tf_dingaling_lasthit_pitchmindmg "100.000000"
tf_dingaling_lasthit_pitchmaxdmg "100.000000"
tf_find_a_match_hint_viewed "1"
tf_training_has_prompted_for_training "1"
tf_training_has_prompted_for_offline_practice "1"
tf_training_has_prompted_for_forums "1"
tf_training_has_prompted_for_options "1"
tf_training_has_prompted_for_loadout "1"
cl_mainmenu_operation_motd_start "2017-10-24 15:55:24"
tf_last_store_pricesheet_version "17656"
tf_simple_disguise_menu "1"
cl_hud_playerclass_playermodel_showed_confirm_dialog "1"
tf_hud_target_id_alpha "100.000000"
tf_use_min_viewmodels "1"
tf_party_join_request_mode "1"
tf_show_preset_explanation_in_class_loadout "0"
tf_show_taunt_explanation_in_class_loadout "0"
replay_replaywelcomedlgcount "2"
tf_scoreboard_ping_as_text "1"
tf_casual_welcome_hide "1"
cl_use_tournament_specgui "1"
tf_medigun_autoheal "1"
hud_medicautocallers "1"
hud_medicautocallersthreshold "54.779999"
hud_medichealtargetmarker "1"
tf_sniper_fullcharge_bell "1"
tf_explanations_store "1"
sv_skyname "sky_badlands_01"
windows_speaker_config "4"
volume "0.050000"
snd_musicvolume "0.000000"
snd_mixahead "0.05"
name "Morris Menachem"
sv_unlockedchapters "99"
cl_timeout "70"
cl_logofile ""
con_enable "1"
r_ambientmin "0.6"
mp_decals "9"
bugreporter_uploadasync "1"
rate "170016"
cl_cmdrate "66"
cl_updaterate "66"
engine_no_focus_sleep "0"
r_rootlod "1"
mat_forceaniso "0"
mat_picmip "1"
mat_antialias "1"
mat_queue_mode "2"
mat_hdr_level "0"
[/code]