I made a general script for the voice commands Yes/No and Cheer/Jeer. What I was trying to get was:
MousewheelUp says a cheer. MousewheelDown says a jeer. While holding Mouse4, MousewheelUp becomes Yes and MousewheelDown becomes No.
This is what I have that currently does not work:
alias yes "voicemenu 0 6"
alias no "voicemenu 0 7"
alias +yesno "bind mwheelup yes;bind mwheeldown no"
alias cheer "voicemenu 2 2"
alias jeer "voicemenu 2 3"
alias -yesno "bind mwheelup cheer;bind mwheeldown jeer"
bind mouse4 "yesno"
Well your logic for your aliases is mixed, you are declaring things and also attempting binds in aliases, just do the following:
Instead of aliases, just do "bind <key> <action>"
Like [B]bind f "voicemenu 0 6"[/B] and what not instead of [B]alias useless "voicemenu 0 6"; bind f "useless"[/B] (as an example). It's just unnecessarily longer and you are more likely to mess up again.
Sorry, you need to Log In to post a reply to this thread.