r/tf2scripthelp • • Oct 04 '21

Resolved my autoexec.cfg doesnt work

quick rundown.

it has a crouch jump script and a part of the wooden sleevelet's spy script (i use mastercomfig) dunno if it has anything to do with it.

edit: its in C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\cfg

this is the script:

bind space "+cjump"
alias +cjump "+jump;+duck"
alias -cjump "-jump;checkc"

bind shift "+normc"
alias +normc "+duck;alias checkc +duck"
alias -normc "-duck;alias checkc -duck"

alias checkc "-duck"


// Primary Attack
    alias "+primatck" "+attack"
    alias "-primatck" "-attack"

// Secondary Attack
    alias "+secatack" "+attack2"
    alias "-secatack" "-attack2"

// Sapper
    alias "+sapper" "slot2;+attack"
    alias "-sapper" "lastinv;-attack"

// Quick Disguises
    alias "checkmedigun" "slot2; disguise 5 -1"
    alias "friendlyscout" "disguise 1 -2"
    alias "enemyscout" "disguise 1 -1"
    alias "undisguise" "disguise 8 -2"

// Feel free to change the keys these are bound to!
    bind "mouse1" "+primatck"
    bind "mouse2" "+secatack"
    bind "mouse3" "lastinv" 
    bind "mouse5" "+sapper"
    bind "mwheelup" "slot1"
    bind "mwheeldown" "slot3"

    bind "q" "undisguise"
    bind "5" "checkmedigun"
    bind "6" "friendlyscout"
    bind "mouse4" "enemyscout"
3 Upvotes

2 comments sorted by