mes "[ MVP Summoner ]";
mes "show me if you have zeny";
if( Zeny < .@zenyCost ) {
mes "sry you dont have zeny";
close;
} else {
set Zeny, Zeny - .@zenyCost;
mes "[ MVP Summoner]";
mes "monster will be spawn soon";
close2; //You must use close2 instead of close
sleep2 10000; //10s
announce "MVP Has Been Spawned",bc_blue|bc_all;
monster "guild_vs1",50,57,"Event Monster",1511,1,"Monster Event::OnThisMobDeath";
end;
}
OnThisMobDeath:
announce ""+strcharinfo(0)+"killed the mvp",bc_blue|bc_all;
end;