In retail this was put mouseover into focus
With alt click
/script SetBindingMacro("ALT-BUTTON2", "(focussystem)"); SetBinding("BUTTON2","TURNORACTION"); SaveBindings(GetCurrentBindingSet());
/run SetBindingMacro("BUTTON2", "focussystem") SetBinding("ALT-BUTTON2","TURNORACTION") SaveBindings(GetCurrentBindingSet()) -mistake
/run SetBindingMacro("CTRL-BUTTON2", "focussystem") SetBinding("BUTTON2","TURNORACTION") SaveBindings(GetCurrentBindingSet())
/run SetBinding("ALT-BUTTON2",nil) SaveBindings(GetCurrentBindingSet())
/run SetBindingMacro("ALT-BUTTON1", "focussystem") SaveBindings(GetCurrentBindingSet())
/run SetBinding("CTRL-BUTTON2",nil) SaveBindings(GetCurrentBindingSet())
How to make it work in classic? I mean through exution /script focus=UnitName("target") on mouseover.
|