View Single Post
Old 12-27-2009, 01:21 PM   #174
GenghisTron
AKA LittleAndroidMan
D&A Member
Beta Tester
 
GenghisTron's Avatar
 
Join Date: Sep 2007
Location: Dystopia
Class/Position: Demo/Medic
Gametype: CTF
Affiliations: [TALOS] [SR]
Posts Rated Helpful 11 Times
So since no one answered my post above, I decided to mess around and make my own script, but I'm wondering--is there a way to cancel automatically switching to the secondary mode of my alias?

So far I have (In binds.cfg and demoman.cfg)

//----
// Anti-Juke
//----

alias +antijuke "slot4; wait; +attack"
alias -antijuke "-attack; wait; detpipes; wait; slot5"

// Bind

bind "e" "+antijuke"

And it works pretty much perfectly, but say I kill someone with a blue pipe and therefore don't need to det my pipes, is there a way to skip going from +antijuke to -antijuke? I tried to switch weapons, and it still dets my pipes.
__________________
GenghisTron is offline   Reply With Quote