Updated for MQ2Data and MQ2Datavars
Code: Select all
/declare mainassist global
/custombind add setassist
/custombind set setassist /multiline ; /varset mainassist ${Target.Name};/echo Main assist: ${mainassist}
/custombind add assistmain
/custombind set assistmain /assist ${mainassist}
The global must be declared for this to work (note that global variables arent cleared when a macro ends). Also, the /multiline isnt going to work 100% as desired unless you have the March 22 release.
This goes without saying but since the bind system is new:
Set the bind keys like so:
Code: Select all
/bind assistmain q
/bind setassist m




