alias +stab "+attack"
alias -stab "-attack; wait; scloak"
bind mouse1 "+stab"
but i think there is a delay from next time you can cloak if im not mistaken. that will take some tweeking to how long it will take. but this is what you need for what you were tryign to pull off with your code