Jump to content
  • 0

error on adding menu


RN1986

Question


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.03
  • Content Count:  439
  • Reputation:   2
  • Joined:  05/04/12
  • Last Seen:  

i add the Gargoyle Wings",l_ry, the npc stop working any idea?

prontera,156,179,1 script Wing Maker 911,{ // ==Change coords, Name of NPC and Sprite==
set .@npc$,"[Mixis]"; // ==Change to name of npc==
mes .@npc$; // ==You can change the dialouge if you want==
mes "Do you want some Wing?";
mes "This may help your journey....";
mes "then.";
mes "You must get the required items for me ";
next;
menu "Matsuri Wings",l_wbw,"Artic Wings",l_bbw,"Deviling Wings",l_tw,"Gargoyle Wings",l_ry,"No Thanks!",l_nothanks;

l_wbw:
mes .@npc$;
mes "^4EE2ECMatsuri Wing^000000";
mes "81Pcs of Flame Heart,";
mes "82Pcs of Shining Scale,";
mes "83Pcs of Wing Red Bat,";
mes "300 Gold";
next;
if(countitem(994) <81) goto l_noitem;
if(countitem(954) <82) goto l_noitem;
if(countitem(7006) <83) goto l_noitem;
if(countitem(969) <300) goto l_noitem;
delitem 994,81;
delitem 954,82;
delitem 7006,83;
delitem 969,300;
getitem 1998,1; // IMPORTANT: Change this to the ItemID of the item you're giving and the amount.
mes .@npc$;
mes "Congratulations! You have earned my ^4EE2ECMatsuri Wing^000000!";
next;
mes .@npc$;
mes "Goodbye!";
close;

l_noitem:
mes .@npc$;
mes "Please come back when you have my required items.";
close;

l_bbw:
mes .@npc$;
mes "^15317EArtic Wings^000000";
mes "Mystic Frozen 25Pcs,"; // IMPORTANT: Enter the text for required items on Black Butterfly Wings
mes "Frozen Rose 25Pcs";
mes "Ice Cubic 100Pcs";
mes "Gold 300";
next;
if(countitem(995) <25) goto l_noitembb; // Replace the first 123 with the ItemID of the required item and the second 123 for the amount
if(countitem(749) <25) goto l_noitembb;
if(countitem(7066) <100) goto l_noitembb;
if(countitem(969) <300) goto l_noitembb;
delitem 995,25; // delitem ItemID, Amount;
delitem 749,25;
delitem 7066,100;
delitem 969,300;
getitem 1992,1;
mes .@npc$;
mes "Congratulations! You have earned my ^15317EArtic Wings^000000!";
next;
mes .@npc$;
mes "Goodbye!";
close;
l_noitembb:
mes .@npc$;
mes "Please come back when you have my required items.";
close;

l_tw:
mes .@npc$;
mes "^F6358ADeviling Wings^000000";
mes "Brigan 150pcs,"; // IMPORTANT: Enter the text for required items on Black Butterfly Wings
mes "Soft Feather 30pcs";
mes "White Dyestuff 10pcs";
mes "300 Gold's";
next;
if(countitem(7054) <150) goto l_noitemtw; // Replace the first 123 with the ItemID of the required item and the second 123 for the amount
if(countitem(7063) <30) goto l_noitemtw;
if(countitem(982) <10) goto l_noitemtw;
if(countitem(969) <300) goto l_noitemtw;
delitem 7054,150; // delitem ItemID, Amount;
delitem 7063,30;
delitem 982,10;
delitem 969,300;
getitem 9146,1;
mes .@npc$;
mes "Congratulations! You have earned my ^F6358ADeviling Wings^000000!";
next;
mes .@npc$;
mes "Goodbye!";
close;
l_noitemtw:
mes .@npc$;
mes "Please come back when you have my required items.";
close;

1_ry:
mes .@npc$;
mes "^F6358AGargoyle Wings^000000";
mes "Brigan 150pcs,"; // IMPORTANT: Enter the text for required items on Black Butterfly Wings
mes "Soft Feather 30pcs";
mes "White Dyestuff 10pcs";
mes "300 Gold's";
next;
if(countitem(7054) <150) goto l_noitemry; // Replace the first 123 with the ItemID of the required item and the second 123 for the amount
if(countitem(7063) <30) goto l_noitemry;
if(countitem(982) <10) goto l_noitemry;
if(countitem(969) <300) goto l_noitemry;
delitem 7054,150; // delitem ItemID, Amount;
delitem 7063,30;
delitem 982,10;
delitem 969,300;
getitem 9146,1;
mes .@npc$;
mes "Congratulations! You have earned my ^F6358ADeviling Wings^000000!";
next;
mes .@npc$;
mes "Goodbye!";
close;
l_noitemry:
mes .@npc$;
mes "Please come back when you have my required items.";
close;

l_nothanks:
mes .@npc$;
mes "Alright, bye for now!";
close;
}
}
}
}
}

Edited by Arcenciel
Codeboxed
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  375
  • Reputation:   88
  • Joined:  12/30/11
  • Last Seen:  

}

}

}

}

delete them

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.03
  • Content Count:  439
  • Reputation:   2
  • Joined:  05/04/12
  • Last Seen:  

Closed i change script.

Edited by RN1986
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...