x13th Posted May 18, 2012 Posted May 18, 2012 i added @main command delay but players can PM Main and can spam there messages. how to disable it? Quote
Brian Posted May 19, 2012 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
Question
x13th
i added @main command delay but players can PM Main and can spam there messages. how to disable it?
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.