ACMD_FUNC(mapcrash) { struct status_change *sc; int t=0; if (!sd) return -1; sc = status_get_sc(&sd->bl); t = sc->data[SC_BLADESTOP]->val1; //mapcrash if no bladstop ShowInfo("val1=%d",t); clif_displaymessage(sd->fd, "Boom !"); return 0; } .... ACMD_DEF(mapcrash),