MULTIBOXING

Send and Accept Group Invites with One Key Press

Can life get any easier?

Your group panel looks like this:

You press a single key, and instantly your group panel looks like this:

To do this, make a hotkey like this:

Hotkey (F1)
{
   package
   {
      sendto ( Driver )
      slash ( "/invite healer1" )
      slash ( "/invite healer2" )
      slash ( "/invite nuker1" )
      slash ( "/invite nuker2" )
      ...
   }
   
   package
   {
      wait(300)
      ClickMouse (625 430)     
   }
}

Notice that I’m using window names here not toon names. That way I can reuse the script with many different teams. I give names to windows of team members automatically with Mojo’s team member window. But if you want to write actual names of toons, like you would type in the game, that’s fine too.

Where I wrote "Driver", if you prefer, you can write “local_foreground” instead. That assumes the group leader will always be in the foreground (in the active DAOC window) when you press this hotkey.

Alternatively, if you don’t want to rename your windows, you can add to the list of invitations every toon you might ever want to invite to a group. Only the ones that are online when you press the hotkey will get invited. If you do this, you’ll have to write Waits between invitations to avoid having DAOC tell you to slow down.

That was the easy part. The tricky part is the numbers “625” and “430”. That’s the x, y location on my computer where DAOC’s “accept” button pops up. You have to replace those numbers with the x, y location on your computer.

How do you figure out the numbers that replace “625” and “430”? Send yourself an invite so the little “accept” window is visible. Put the mouse on the “accept” button while DAOC is in the foreground and Mojo is visible. Mojo displays the numbers as “win pos” in the upper left corner of its Geeky Stuff page. Make sure DAOC is active (in the foreground) when you do this.

I’ve assumed here that the “accept” box appears in the same place in all your toon’s windows. If this isn’t true, you’ll have to write more packages to handle the different locations.

One last thing. You may also want a hotkey that disbands the whole group. That’s easy.

Hotkey (F2)
{
   slash ( "/disband" );
}

Related

ClickMouse

This page was first published on February 11, 2018 and last modified on February 11, 2018