I'm currently using this. hope this would help.
src/map/atcommand.cpp
Find :
#include "../custom/atcommand.inc" Add [ Above ] :
Find :
};
AtCommandInfo* atcommand;
Add [ Above ] :
src/map/battle.cpp
Find :
{ "at_timeout", &battle_config.at_timeout, 0, 0, INT_MAX, },
Add [ Below ] :
src/map/battle.hpp
Find :
int at_timeout;
Add [ Below ] :
conf/battle/misc.conf
Find :
mail_show_status: 0 Add [ Below ] :