Jump to content
  • 0
Sign in to follow this  
NewNewbie

What is wrong in this script?

Question

prontera,124,210,4	script	Mr. Pimp	4_M_REINDEER,{
        mes "[Mr. Pimp]";
	mes "Hello young...";
	mes "My things can make you stronger.";
        mes "But everything have a price, and mine is not cheap... I'm picky haha";
        next;
                mes " [" + strcharinfo(0) + "]: What you have for me?";
		mes "[Mr. Pimp]";
		mes "See... I have many things for you";
		mes "Let's annihilate the newbies";
		emotion e_gg;
switch(select("Sleipnir","Nothing interesting")){


   case 1:
   mes "[Mr. Pimp]";
   mes "+20% HP/SP";
   mes "+ Movement Speed";
   mes "+10 MDEF";
   next;
   switch(select("What do i need?","Not interested.")){
      case 1:
      mes "[Mr. Pimp]";
      mes "Bring me those items, so i can start working on your Sleipnir.";
      mes "Don't forget my money!";
      mes "^0000FF5x Coal";
      mes "^0000FF5x Burnt Tree";
      mes "^0000FF5x Red Bijou";
      mes "^0000FF5x Star Dust";
      mes "^0000FF10x Mixture";
      mes "^0000FF200.000 Zenys";
      next;
      switch(select("I have it all!","Let's deal later...")){
              case 1:
              if (countitem(1003) < 5) goto M_ITEM;
              if (countitem(7068) < 5) goto M_ITEM;
              if (countitem(7447) < 5) goto M_ITEM;
              if (countitem(1001) < 5) goto M_ITEM;
              if (countitem(974) < 10) goto M_ITEM;
              if (zeny <200000) goto M_ITEM;
              delitem 1003,5;
              delitem 7068,5;
              delitem 7447,5;
              delitem 1001,5;
              delitem 974,10;
              set zeny,zeny-200000;
              getitem 2410, 1;
              next;
              mes "[Mr. Pimp]";
              mes "Have fun"";
              close;


              case 2:
              goto exit;
}
}
      case 2:
      goto ni;
}

M_ITEM:
next;
mes "[Mr. Pimp]";
mes "You don't have all the itens!";
mes "Don't try to cheat me.";
close;

exit:
mes "[Mr. Pimp]";
mes "See you later";
close;

ni:
mes "Hummmm ok...";
close;

 

Where is mi mistake? xD

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.