TRY THIS:
- script mall_atcommand#1 -1,{
OnInit:
bindatcmd "mall",strnpcinfo(3)+"::OnDo",0,99;
end;
OnDo:
if (getmapflag(strcharinfo(3),mf_quest)) {
getmapxy (.@map$, .@x, .@y, BL_PC);
mes "[ ^d30e00Warp manager^000000 ]";
mes "You must be in town first for you to use this command.";
mes "You may type @mall";
dispbottom "[ Warp manager ]";
dispbottom "Please be in a town first!";
end;
}
warp "prontera",238,63;
dispbottom "[ Warp manager ]";
dispbottom "Welcome to the Mall Area!";
}