x13th Posted May 18, 2012 Group: Members Topic Count: 55 Topics Per Day: 0.01 Content Count: 206 Reputation: 14 Joined: 11/20/11 Last Seen: April 9, 2024 Share Posted May 18, 2012 i added @main command delay but players can PM Main and can spam there messages. how to disable it? Quote Link to comment Share on other sites More sharing options...
Brian Posted May 19, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted May 19, 2012 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; } Quote Link to comment Share on other sites More sharing options...
Question
x13th
i added @main command delay but players can PM Main and can spam there messages. how to disable it?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.