r/Tf2Scripts • • Aug 06 '18

Answered +attack not working with MWHEELUP/DOWN

+attack and other +/- commands don't seem to work with MWHEELUP/MWHEELDOWN when referenced via an alias.

These both work. I attack when I move the mouse wheel down, and I jump when I move it up:

bind MWHEELDOWN +attack
bind MWHEELUP +jump

This doesn't work, though:

alias +test "+attack; echo foo;"
alias -test "-attack; echo bar;"
bind MWHEELUP +test

The echo calls register, but the +attack doesn't.

Is this something y'all have known about? Can others confirm this behavior?

Here's a screenshot after moving the mouse wheel up. Note that my character didn't jump:

4 Upvotes

12 comments sorted by

View all comments

Show parent comment

2

u/BananaFactBot Aug 06 '18

There are more trade restrictions on bananas than on AK-47s.


I'm a Bot bleep bloop | Unsubscribe | 🍌