use this npc if you cant find nocommand mapflag inside mapflag folder.
// Please VOTE UP my post if I helped.
// Script By: Anubis
- script WoE_NoCommand -1,{
OnInit:
setarray .woe_cas$,"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05"; // Add more maps here.
for ( set .@x, 0; .@x < getarraysize(.woe_cas$); set .@x, .@x +1 )
setmapflag .woe_cas$, mf_nocommand;
}