I'd like to bind a click-cast to the Mousewheel Up, while still zooming in when off a Unit Frame. Clique doesn't seem to register the mousewheel scrolling as a button. If I just bind Scroll Up to the macro:
Code:
/cast [@mouseover, exists] Power Word:Shield
...then it doesn't zoom in when I have no mouseover target. I spent an afternoon learning lua to try:
Code:
/run if UnitExists("mouseover") then CastSpellByName("Power Word:Shield") else CameraZoomIn(1) end
...and then I learned what a Protected function is. Whoops.
I figure the best way to do this is to modify Clique to accept Scroll Up as a button, but I lack the knowhow to make such a modification. Is this possible? If so, could someone do it, and perhaps show me how, that I might learn and better myself?