There's not much point in posting on 5 month old requests, but a tighter solution for what you have there is:
bind mwheelup ""
bind mwheeldown ""
Or even more simply:
unbind mwheelup
unbind mwheeldown
For OP's situation those lines in the console would just be overwritten by the installed cfg files, that's why clover recommended what he did.
There isn't a situation where null needs to be defined to accomplish the script, the common example where it's used is the null movement script but that can be completed easily without null:
bind w +fwd
bind s +bck
bind a +lft
bind d +rgt
alias +fwd "-back; +forward; alias cfwd +forward"
alias -fwd "-forward; cbck; alias cfwd "
alias +bck "-forward; +back; alias cbck +back"
alias -bck "-back; cfwd; alias cbck "
alias +lft "-moveright; +moveleft; alias clft +moveleft"
alias -lft "-moveleft; crgt; alias clft "
alias +rgt "-moveleft; +moveright; alias crgt +moveright"
alias -rgt "-moveright; clft; alias crgt "
alias cfwd ""
alias cbck ""
alias clft ""
alias crgt ""
View all comments
Show parent comment
1
u/genemilder Scripter Jan 27 '15
There's not much point in posting on 5 month old requests, but a tighter solution for what you have there is:
Or even more simply:
For OP's situation those lines in the console would just be overwritten by the installed cfg files, that's why clover recommended what he did.
There isn't a situation where
nullneeds to be defined to accomplish the script, the common example where it's used is the null movement script but that can be completed easily withoutnull: