Jump to content
  • 0

help on mvp summoner


Asheraf

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   3
  • Joined:  01/27/13
  • Last Seen:  

hello can any one fix this script for me i want it to wait 10s then summon the monster but is not working

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";
close;
sleep2 5000;
announce "MVP Has Been Spawned",bc_blue|bc_all;
monster "guild_vs1",50,57,"Event Monster",1511,1,"Monster Event::OnThisMobDeath";
OnThisMobDeath:
announce ""+strcharinfo(0)+"killed the mvp",bc_blue|bc_all;
end;
close;
}
 
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  55
  • Reputation:   2
  • Joined:  09/11/13
  • Last Seen:  

can you post the error?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  143
  • Reputation:   30
  • Joined:  12/23/11
  • Last Seen:  


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;

  • Upvote 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...