Hi currently I edited this solution here..
http://rathena.org/board/topic/79604-how-to-enable-go-command-for-towns-only/
to
if( pc_get_group_level(1) && map[sd->bl.m].flag.town && !pc_has_permission(sd, PC_PERM_WARP_ANYWHERE) ) {
clif_displaymessage(sd->fd,"You can only use @go inside towns.");
return 0;
}
and map server crashes.
How to set or the proper format for getting group level at atcommand.c?