//Xvenia's Pseudorandomdorandom Disuise Script

//Cycles between Sniper, Demoman, Pyro, Spy and Engineer disguises

//Disguises

alias disguise1 "disguise 2 -1" //Sniper

alias disguise2 "disguise 4 -1" //Demoman

alias disguise3 "disguise 7 -1" //Pyro

alias disguise4 "disguise 8 -1" //Spy

alias disguise5 "disguise 9 -1" //Engineer

//Pseudorandomiser, decides what disguise will be picked

alias droll1 "alias doutput disguise1; alias dcycle droll2"

alias droll2 "alias doutput disguise2; alias dcycle droll3"

alias droll3 "alias doutput disguise3; alias dcycle droll4"

alias droll4 "alias doutput disguise4; alias dcycle droll5"

alias droll5 "alias doutput disguise5; alias dcycle droll1"

alias dcycle "droll1"

//Change '[' to any key of your choice to choose the random disguise

bind [ "doutput;dcycle"

//Makes the disguises seem a little more random by shuffling the disguises every time you move

//Alternatively, add 'dcycle' to all of your movement binds

alias +mfwd "+forward;dcycle"

alias +mback "+back;dcycle"

alias +mleft "+moveleft;dcycle"

alias +mright "+moveright;dcycle"

alias -mfwd "-forward;dcycle"

alias -mback "-back;dcycle"

alias -mleft "-moveleft;dcycle"

alias -mright "-moveright;dcycle"

bind w +mfwd

bind s +mback

bind a +mleft