Looking at your OP you actually had it just had some extra stuff:
Delete this from your original cfg and you will be good to go:
Code:
//Build Dispenser/Det Dispenser (WILL DISMANTLE IF WITHIN DISMANTLE DISTANCE)
alias builddis1 "dispenser; alias weaponswitch builddis2"
alias builddis2 "dismantledispenser; detdispenser; alias weaponswitch builddis1"
Config should look like this:
Code:
echo ENGINEER CFG LOADED
resetbinds
resetnumpad
//Spanner - Super Shotgun Switch
alias weps1 "slot1; alias weaponswitch weps2"
alias weps2 "slot3; alias weaponswitch weps1"
alias weaponswitch weps1
bind "f" "weaponswitch"
//Build Sentry/Det Sentry (WILL DISMANTLE IF WITHIN DISMANTLE DISTANCE)
bind "MOUSE5" "sentrygun; dismantlesentry; detsentry"
//Build Dispenser/Det Dispenser (WILL DISMANTLE IF WITHIN DISMANTLE DISTANCE)
bind "MOUSE4" "dispenser; dismantledispenser; detdispenser"
//Aim Sentry Gun
bind "UPARROW" "aimsentry"
Now "f" will switch between spanner and shotty, mouse4 will build/det/dismantle dispenser, and mouse5 will build/det/dismantle Sg
~there is no need to toggle the build and det/dismantle b/c they can all be in the same bind...