MQ2AutoGroup

Third party software discussion goes here.
dabs
Posts: 11

MQ2AutoGroup

Post#1 » Sun Mar 24, 2013 4:52 pm

For some reason my alts used to auto accept any invite to a group when invited. It might just be a mq2 option or another plugin I can't find. Anyways here is my version of this.

Code: Select all

#include "../MQ2Plugin.h"


PreSetup("MQ2Autogroup");

PLUGIN_API DWORD OnIncomingChat(PCHAR Line, DWORD Color)
{
   PSPAWNINFO pMe = GetCharInfo()->pSpawn;
   if(strstr(Line,"invites you to join a group."))
   {
      WriteChatColor("Invite detected",CONCOLOR_YELLOW);
      DoCommand(pMe, "/invite");
   }
   
   return 0;
}

Noren
Posts: 1053

Re: MQ2AutoGroup

Post#2 » Sun Mar 24, 2013 6:57 pm

I had mine stop working once - it turned out to be the MQ2AutoGroup.ini file needed editing.

I'd open yours up and correct the numbering of people to accept invites from. I think if there are duplicates or if it skips a number, the plugin breaks.

Return to “Third party software”

Who is online

Users browsing this forum: No registered users and 2 guests