Change it to 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"
bind "MOUSE4" "dispenser; dismantledispenser; detdispenser"
//Build Dispenser/Det Dispenser (WILL DISMANTLE IF WITHIN DISMANTLE DISTANCE)
alias builddis1 "dispenser; alias builddet builddis2"
alias builddis2 "dismantledispenser; detdispenser; alias builddet builddis1"
alias builddet builddis1
bind "MOUSE4" "builddet"
//Aim Sentry Gun
bind "UPARROW" "aimsentry"
Well i would do this a different way. But after building a dispenser you change what weaponswitch does. So basicly i changed it. Not sure What exactly you are wanting to do because could simplify mouse4 to
Code:
bind mouse4 "dismantledispenser;detdispenser; dispenser"
with this code will try to dismantle first then if not close will blow up dispenser then build a dispenser. But if you want to toggle between build and "det/dismantle" of the dispenser.
Get back to me can tell me exactly what you want ill write up a script for ya