Posted on: 03-20-2013 - Updated on: 03-20-2013 - viewed 5029 times
Bind a spell/item/macro to a mouse button
I use this with the All-in-one Tillers macro, but you can use it for any spell, item, or macro you choose.
1) SaveBindings takes a 1 or 2 as an argument – 1 is account-wide bindings, 2 is character-specific bindings.
2) The second argument to SetBinding has two components – one of SPELL/ITEM/MACRO, as space, then the spell, item, or macro you want to use.
3) SetBinding can also unbind if you set the second argument to two double quotes. ie: SetBinding(“BUTTON5″,””)
/run SetBinding("BUTTON5","MACRO Tillers") SaveBindings(1)