Page 1 of 4
Main assist binds
Posted: Mon Mar 22, 2004 3:25 am
by Lax
Here's a pair of binds you could use to easily assist the main assist without screwing around with changing your assist hotkey. One will set the main assist as MQ2 sees it, and the other assists that person.
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}
You could place this in Configs\autoexec.cfg
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
I use 'q' for assist since its right above 'a' for attacking, and 'm' for setting the main assist because 'm' is for main assist

Posted: Tue Mar 23, 2004 10:33 am
by frabtik
Very nice, I like when someone thinks up good ideas for me. Esp when they are freeing up hotkeys.
Posted: Thu Apr 08, 2004 10:30 pm
by Malaphus
Lax,
I know there must be a reason, so just looking for clarification here...
Will the assist stuff not work with ONLY the "/declare mainassist global" in a CFG file, as /bind's and /custombind/s are saved to related ini/txt files and reloaded every time you login, etc?
Or does the /custombind stuff need to be in the same CFG file as well for the variable to work?
Just trying to figure out how all this works together.
Posted: Thu Apr 08, 2004 11:07 pm
by Lax
all that needs to happen is the variable needs to exist, and the binds need to exist. It doesnt matter what order they exist in, why they exist, etc. They just need to exist. The bind file itself does not store variables, and the easiest way for it to always exist is to declare it in autoexec.cfg.
Posted: Sat Apr 24, 2004 7:07 pm
by Iamgman
This was working fine for me until the latest version was released. Now I get the following in my chat:
[MQ2] Main assist: $target(name)
Also when I do a /mana I get this:
[MQ2] Current Mana: $char(mana,cur) -- Max Mana: $char(mana,max)
Thought these might be related.
Posted: Sat Apr 24, 2004 7:13 pm
by koad
Code: Select all
/varset mainassist ${Target.CleanName}
Posted: Fri Apr 30, 2004 1:06 pm
by yesman
Tried using this today in game using it in autoexec.cfg, but it seems like assistmain isn't working correctly, even using new code.
Code: Select all
/declare mainassist global
/custombind add setassist
/custombind set setassist /multiline ; /varset mainassist ${Target.CleanName} ; /echo Main Assist: ${mainassist}
/custombind add assistmain
/custombind set assistmain /assist ${mainassist}
any ideas?
Posted: Fri Apr 30, 2004 5:21 pm
by ieatacid
This is what I'm using and it works:
Code: Select all
/declare mainassist string outer
/custombind add setassist
/custombind set setassist /multiline ; /varset mainassist ${Target.CleanName};/echo Main assist: ${mainassist}
/bind setassist m
Then make your hotbutton in EQ:
Posted: Sat May 01, 2004 1:36 pm
by yesman
Still not working for me this way, very confusing.
Posted: Sat May 01, 2004 3:43 pm
by Lax
copy/paste from top post, it has been updated
Posted: Sat May 01, 2004 7:12 pm
by yesman
Thanks a ton Lax
Posted: Wed Sep 08, 2004 3:11 am
by Extralarge
I cant get the assistmain to work.
Setting the mainassist works well and I get a feedback on the new Mainassist. But when I press the q key nothing happens.
Re: Main assist binds
Posted: Sun Nov 02, 2025 3:31 pm
by xyilla
Re: Main assist binds
Posted: Sun Nov 02, 2025 3:32 pm
by xyilla
Re: Main assist binds
Posted: Sun Nov 02, 2025 4:45 pm
by xyilla