• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->

Help with some code (1 Viewer)

Joined
Mar 17, 2006
RedCents
688¢
Hi, I use some code I found few years back as a remote control for my other accounts, I put it in the source of one of the plugins, all worked fine till this patch with the spam filter thing, seems now the plugin won't read the names on the incoming chat correctly and it won't work. Any help on fixing this would help.

Rich (BB code):
PLUGIN_API DWORD OnIncomingChat(PCHAR Line, DWORD Color)
{
   if (strstr(Line,"Name1 tells you, '") || strstr(Line,"Name1 told you, '") || strstr(Line,"Name2 tells you, '") || strstr(Line,"Name2 told you, '"))
   {
      CHAR TextString[MAX_STRING];
      PSTR Text;

      Text = GetNextArg(Line,1,FALSE,'\'');

      strcpy(TextString,Text);
      TextString[strlen(Text)-1] = '\0';
      
      DoCommand((PSPAWNINFO)pCharSpawn,TextString);
   }
   return 0;
}

That is what I have been using and I have no clue how to make it work again.
 

Users who are viewing this thread

Back
Top