Jump to content
  • 0

Pet Shop... Again need help... :(


Elsa Mist

Question


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  387
  • Reputation:   60
  • Joined:  10/08/13
  • Last Seen:  

Here is my script. is there anything wrong with it?

because when im load the npc, nothing is happen.. someone...?

job_sage,128,109,4	script	Pet Shop	890,{
	mes "Molly, Pet Shop";
	mes "Hello!";
	mes "Would you like to look at the shop?";
	next;
	switch(select("Pet Food:Pet Armor:Monster Egg:Not Today")) {
		case 1: // Pet Food
			mes "I'll open the Pet Food Shop for you";
			close2;
			callshop "PetFoodShop",1;
			end; 
		case 2: // Pet Armor
			mes "I'll open the Pet Armor Shop for you";
			callshop "PetArmorShop",1;
			end;
		case 3: // Monster Egg
			mes "I'll open the Taming Items Shop for you";
			callshop "MonsterEgg",1;
			end;
		default: 
			mes "See you again!";
			close; 
	}
	
}
 
//shop configuration

-	shop	PetFoodShop	-1,
riceN
-	shop	PetArmorShop	-1,
riceN
-	shop	MonsterEgg	-1,9027:100,9010:100,9024:100,9025:100,9029:100,9040:100,9023:100,9036:100,9019:100,9002:100,9049:100,9033:100,9046:100,9053:100,9030:100,9022:100,9034:100,9056:100,9052:100,9021:100,9042:100,9043:100,9048:100
riceN
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Show error from console. Possible error is tabulation of header.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

-	shop	PetFoodShop	-1,

riceN

- shop PetArmorShop -1,

riceN

- shop MonsterEgg -1,9027:100,....

riceN

what is riceN ? /hmm
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...