Jump to content
  • 0

Question

1 answer to this question

Recommended Posts

Posted

Find the edit you did to atcommand.c

and also apply that edit in [src=trunk/src/map/clif.c] (around line 9864)

    // Main chat [LuzZza]
   if(strcmpi(target, main_chat_nick) == 0)
   {
       if(!sd->state.mainchat)
           clif_displaymessage(fd, msg_txt(388)); // You should enable main chat with "@main on" command.
       else {

           // ADD YOUR NO-SPAM CODE HERE

           // send the main message using inter-server system
           intif_main_message( sd, message );
       }

       return;
   }

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...