Main assist binds

A forum for sharing CFG/Bind snippets

Moderator: MacroQuest Developers

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Main assist binds

Post by Lax » Mon Mar 22, 2004 3:25 am

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 ;)
Last edited by Lax on Sat May 01, 2004 3:41 pm, edited 1 time in total.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

frabtik
a ghoul
a ghoul
Posts: 114
Joined: Sat Feb 21, 2004 10:07 am

Post by frabtik » Tue Mar 23, 2004 10:33 am

Very nice, I like when someone thinks up good ideas for me. Esp when they are freeing up hotkeys.

Malaphus
orc pawn
orc pawn
Posts: 22
Joined: Mon Feb 23, 2004 2:55 am

Post by Malaphus » Thu Apr 08, 2004 10:30 pm

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.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Thu Apr 08, 2004 11:07 pm

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.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Iamgman
decaying skeleton
decaying skeleton
Posts: 5
Joined: Wed Oct 29, 2003 2:49 pm

Post by Iamgman » Sat Apr 24, 2004 7:07 pm

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.

koad
Plugins Czar
Posts: 127
Joined: Fri May 16, 2003 8:32 pm

Post by koad » Sat Apr 24, 2004 7:13 pm

Code: Select all

/varset mainassist ${Target.CleanName}

yesman
a lesser mummy
a lesser mummy
Posts: 64
Joined: Tue Apr 27, 2004 9:06 pm

Post by yesman » Fri Apr 30, 2004 1:06 pm

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?

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

Post by ieatacid » Fri Apr 30, 2004 5:21 pm

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:

Code: Select all

/assist ${mainassist}

yesman
a lesser mummy
a lesser mummy
Posts: 64
Joined: Tue Apr 27, 2004 9:06 pm

Post by yesman » Sat May 01, 2004 1:36 pm

Still not working for me this way, very confusing.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Sat May 01, 2004 3:43 pm

copy/paste from top post, it has been updated
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

yesman
a lesser mummy
a lesser mummy
Posts: 64
Joined: Tue Apr 27, 2004 9:06 pm

Post by yesman » Sat May 01, 2004 7:12 pm

Thanks a ton Lax

Extralarge
orc pawn
orc pawn
Posts: 12
Joined: Mon Oct 27, 2003 10:47 am

Post by Extralarge » Wed Sep 08, 2004 3:11 am

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.

xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Main assist binds

Post by xyilla » Sun Nov 02, 2025 3:31 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Main assist binds

Post by xyilla » Sun Nov 02, 2025 3:32 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Main assist binds

Post by xyilla » Sun Nov 02, 2025 4:45 pm