The easiest way to achieve this would be to bindatcmd @mi to a script, so you can then control every aspect of the command.
For example:
- script atcmd_mi -1,{
OnInit:
bindatcmd "mi",strnpcinfo(3)+"::OnAtcommand";
end;
OnAtcommand:
if(.@atcmd_numparameters == 0){ dispbottom "Usage: @mi <id>"; end;}
.@id = atoi(.@atcmd_parameters$[0]);
if(getmonsterinfo(.@id,MOB_NAME) == -1){ dispbottom "Monster ID not found"; end; }
mes "Name:" + getmonsterinfo(.@id,MOB_NAME);
mes "Lv:" + getmonsterinfo(.@id,MOB_LV);
mes "HP:" + getmonsterinfo(.@id,MOB_MAXHP);
mes "Base EXP:" + getmonsterinfo(.@id,MOB_BASEEXP);
mes "Job EXP:" + getmonsterinfo(.@id,MOB_JOBEXP);
end;
}