x13th Posted May 18, 2012 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 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...
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