Jump to content
  • 0

script quest npc


ZelosAvalon

Question


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  181
  • Reputation:   33
  • Joined:  11/11/12
  • Last Seen:  

file txt npc quest : Valkyrie_Crafter.txt

erro line : 90 and have others erros anyone can check this script for me ?


gonryun,37,22,6 script Valkyrie Crafter 801,{

mes "[Valkyrie Crafter]";
mes "Oh! A visitor. That's do rare!";
mes "Welcome to the portal to God's Realm.";
mes "I'm the guardian of this place.";
next;
mes "[Valkyrie Crafter]";
mes "What are you seeking stranger? The words of God himself?";
mes "[Valkyrie Crafter]";
mes "Or are you interested in my special crafting abilities?";
next;
switch(select("Yeah, I'd like to hear God' voice:So, what can you craft exactly?:That's very interesting but i have to go.")) 
{
case 1: 
mes "[Valkyrie Crafter]";
mes "oh, so you want hear God's voice.";
mes "Well, only angels can hear him. Are you an angel?";
next;
mes "[Valkyrie Crafter]";
mes "Mmm, no. You don't seem to propagate any Holy Waves of the Angels.";
mes "I'm sorry but you won't be able to hear him today.";
mes "Maybe if you do become an anel one day.";
next;
mes "[Valkyrie Crafter]";
mes "In this case, I wish you a good day traveler!";
close;
case 2:
mes "[Valkyrie Crafter]";
mes "I'm the finest crafter of heaven.";
mes "I can make wings that are completely out of this world.";
next;
mes "[Valkyrie Crafter]";
mes "My finest work consist of crafting elemental wings from normal wings.";
mes "It's like refining existing wings if you prefer.";
mes "You simply need to hand me the elements that i need to do them.";
next;
mes "[Valkyrie Crafter]";
mes"Oh! There is however a litte special request I would have to ask you before starting doing any crafting.";
next;
mes "[Valkyrie Crafter]";
mes "i'm a big lover of rare precious stones. They're a real source of inspiration to me !";
mes "So, for any wings you want me to craft, could you please bring me at least 10 of each of those ores:";
next;
mes "[Valkyrie Crafter]";
mes "10x Ruby";
mes "10x Sapphire";
mes "10x Topaz";
mes "10x Opal";
mes "10x Emerald";
mes "10x Amethyst";
mes "10x Aquamarine";
next;
mes "[Valkyrie Crafter]";
mes "So what wings would you like me to craft for you ?";
next;

Main:
switch(select("Artic Wings:Demon Wings:Phoenix Wings:Gargoyle Wings:Torn Wings:Nothing for now, tahnk you."))
{
case 1:
mes "[Valkyrie Crafter]";
mes "Those water element wings are said to provide extra knowledge about the world we live in.";
mes "Ok, I will need the following:";
next;
mes "[Valkyrie Crafter]";
mes "1x Angel Wings";
mes "25x Mystic Frozen";
mes "10x Frozen Rose";
mes "50x Ice Cubic";
mes "10x gold for the crafting fees";
next;
mes "[Valkyrie Crafter]";
mes "So, do you want me to make them now ?";
switch(select("Sure, I got all the items!:Mm, can I choose another wings?:No, I don't have all items yet..."))
{
case 1:
if(countitem(723) < 10 && countitem(726) < 10 && countitem(728) < 10 && countitem(727) < 10 && countitem(721) < 10 && countitem(719) < 10 && countitem(720) < 10)
{
mes "[Valkyrie Crafter]";
mes "Oh! ssems that you didn't do the most important task: that's to bring to me all the precious stones i requested.";
mes "They are my source of inspiration and motivation. Without them, i can't do your wings.";
next;
mes "[Valkyrie Crafter]";
mes "Come back when you have them please!";
close;
}
if(countitem(8002) < 1 && (countitem(995) < 25 && countitem(749) < 10 && countitem(7066) < 50 && countitem(969) < 10)
{
mes "[Valkyrie Crafter]";
mes "Mm, I'm sorry. It seems that some items are missing.";
mes "Please, feel free to come again when you have everything.";
close;
}
if(countitem(8002) >= 1 && (countitem(995) >= 25 && countitem(749) >= 10 && countitem(7066) >= 50 && countitem(969) >= 10 && countitem(723) >= 10 && countitem(726) >= 10 && countitem(728) >= 10 && countitem(727) >= 10 && countitem(721) >= 10 && countitem(719) >= 10 && countitem(720) >= 10)
{
delitem 8002,1;
delitem 995,25;
delitem 749,10;
delitem 7066,50;
delitem 969,10;
delitem 723,10;
delitem 726,10;
delitem 728,10;
delitem 727,10;
delitem 721,10;
delitem 719,10;
delitem 720,10;
mes "[Valkyrie Crafter]";
mes "great! I'll start making them right now. Ok, just wait a few minutes please.";
next;
mes "[Valkyrie Crafter]";
mes "*Waiting impatiently for the wings*";
next;
mes "[Valkyrie Crafter]";
mes "( 15 minutes later )";
next;
mes "[Valkyrie Crafter]";
mes "Holy God! That's some great work i just did! Here yo ugo young traveler.";
mes "Those are you Arctic Wings.";
next;
getitem 8005,1;
mes "[Valkyrie Crafter]";
mes "Bye and don't hestate to come back! Enjoy your new wings ^^";
close;
}
break; 
case 2:
mes "[Valkyrie Crafter]";
mes "So, do you want me to make them now ?";
goto Main;
case 3:
mes "[Valkyrie Crafter]";
mes "Very well. Good bye traveler and please come back again!";
close;
}

case 2:
[Valkyrie Crafter]
WoW, I see that you show interest in the Demons Wings. Be careful with its power!
Well, I only need those to make them:
next;
[Valkyrie Crafter]
1x Devil Wings
100x Dragon Scale
100x Evil Horn
50x Tiger's Footskin
10x gold for the crafting fees
next;
mes "So, do you want me to make them now ?";
switch(select("Sure, I got all the items!:Mm, can I choose another wings?:No, I don't have all items yet..."))
{
case 1:
if(countitem(723) < 10 && countitem(726) < 10 && countitem(728) < 10 && countitem(727) < 10 && countitem(721) < 10 && countitem(719) < 10 && countitem(720) < 10)
{
mes "[Valkyrie Crafter]";
mes "Oh! ssems that you didn't do the most important task: that's to bring to me all the precious stones i requested.";
mes "They are my source of inspiration and motivation. Without them, i can't do your wings."
next;
mes "[Valkyrie Crafter]";
mes "Come back when you have them please!";
close;
}
if(countitem(8001) < 1 && (countitem(1036) < 100 && countitem(923) < 100 && countitem(1030) < 50 && countitem(969) < 10)
{
mes "Mm, I'm sorry. It seems that some items are missing.";
mes "Please, feel free to come again when you have everything.";
close;
}
if(countitem(8001) >= 1 && (countitem(1036) >= 100 && countitem(923) >= 100 && countitem(1030) >= 50 && countitem(969) >= 10 && countitem(723) >= 10 && countitem(726) >= 10 && countitem(728) >= 10 && countitem(727) >= 10 && countitem(721) >= 10 && countitem(719) >= 10 && countitem(720) >= 10)
{
delitem 8001,1;
delitem 1036,100;
delitem 923,100;
delitem 1030,50;
delitem 969,10;
delitem 723,10;
delitem 726,10;
delitem 728,10;
delitem 727,10;
delitem 721,10;
delitem 719,10;
delitem 720,10;
mes "[Valkyrie Crafter]";
mes "great! I'll start making them right now. Ok, just wait a few minutes please.";
next;
mes "[Valkyrie Crafter]";
mes "*Waiting impatiently for the wings*";
next;
mes "[Valkyrie Crafter]";
mes "( 15 minutes later )";
next;
mes "[Valkyrie Crafter]";
mes "Holy God! That's some great work i just did! Here yo ugo young traveler.";
mes "Those are you Arctic Wings.";
next;
getitem 8006,1;
mes "[Valkyrie Crafter]";
mes "Bye and don't hestate to come back! Enjoy your new wings ^^";
close;
}
break;
case 2:
mes "[Valkyrie Crafter]";
mes "So, do you want me to make them now ?";
goto Main;
case 3:
mes "[Valkyrie Crafter]";
mes "Very well. Good bye traveler and please come back again!";
close;
}
case 3:
goto Main;
case 4:
goto Main;
case 5:
goto Main;
case 6:
close;
}
case 3:
mes "[Valkyrie Crafter]";
mes "Very well. Good bye traveler and please come back again!";
close;
}
}

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   13
  • Joined:  11/14/11
  • Last Seen:  

The errors were mostly from not nesting correctly the IF parentheses.

For the rest, just some missing ; and some line that didn't have mes.

gonryun,37,22,6 script Valkyrie Crafter 801,{
mes "[Valkyrie Crafter]";
mes "Oh! A visitor. That's do rare!";
mes "Welcome to the portal to God's Realm.";
mes "I'm the guardian of this place.";
next;
mes "[Valkyrie Crafter]";
mes "What are you seeking stranger? The words of God himself?";
mes "[Valkyrie Crafter]";
mes "Or are you interested in my special crafting abilities?";
next;
switch(select("Yeah, I'd like to hear God' voice:So, what can you craft exactly?:That's very interesting but i have to go."))
{
case 1:
mes "[Valkyrie Crafter]";
mes "oh, so you want hear God's voice.";
mes "Well, only angels can hear him. Are you an angel?";
next;
mes "[Valkyrie Crafter]";
mes "Mmm, no. You don't seem to propagate any Holy Waves of the Angels.";
mes "I'm sorry but you won't be able to hear him today.";
mes "Maybe if you do become an anel one day.";
next;
mes "[Valkyrie Crafter]";
mes "In this case, I wish you a good day traveler!";
close;
case 2:
mes "[Valkyrie Crafter]";
mes "I'm the finest crafter of heaven.";
mes "I can make wings that are completely out of this world.";
next;
mes "[Valkyrie Crafter]";
mes "My finest work consist of crafting elemental wings from normal wings.";
mes "It's like refining existing wings if you prefer.";
mes "You simply need to hand me the elements that i need to do them.";
next;
mes "[Valkyrie Crafter]";
mes"Oh! There is however a litte special request I would have to ask you before starting doing any crafting.";
next;
mes "[Valkyrie Crafter]";
mes "i'm a big lover of rare precious stones. They're a real source of inspiration to me !";
mes "So, for any wings you want me to craft, could you please bring me at least 10 of each of those ores:";
next;
mes "[Valkyrie Crafter]";
mes "10x Ruby";
mes "10x Sapphire";
mes "10x Topaz";
mes "10x Opal";
mes "10x Emerald";
mes "10x Amethyst";
mes "10x Aquamarine";
next;
mes "[Valkyrie Crafter]";
mes "So what wings would you like me to craft for you ?";
next;
Main:
switch(select("Artic Wings:Demon Wings:Phoenix Wings:Gargoyle Wings:Torn Wings:Nothing for now, tahnk you."))
{
case 1:
mes "[Valkyrie Crafter]";
mes "Those water element wings are said to provide extra knowledge about the world we live in.";
mes "Ok, I will need the following:";
next;
mes "[Valkyrie Crafter]";
mes "1x Angel Wings";
mes "25x Mystic Frozen";
mes "10x Frozen Rose";
mes "50x Ice Cubic";
mes "10x gold for the crafting fees";
next;
mes "[Valkyrie Crafter]";
mes "So, do you want me to make them now ?";
switch(select("Sure, I got all the items!:Mm, can I choose another wings?:No, I don't have all items yet..."))
{
case 1:
if(countitem(723) < 10 && countitem(726) < 10 && countitem(728) < 10 && countitem(727) < 10 && countitem(721) < 10 && countitem(719) < 10 && countitem(720) < 10)
{
mes "[Valkyrie Crafter]";
mes "Oh! ssems that you didn't do the most important task: that's to bring to me all the precious stones i requested.";
mes "They are my source of inspiration and motivation. Without them, i can't do your wings.";
next;
mes "[Valkyrie Crafter]";
mes "Come back when you have them please!";
close;
}
if(countitem(8002) < 1 && countitem(995) < 25 && countitem(749) < 10 && countitem(7066) < 50 && countitem(969) < 10)
{
mes "[Valkyrie Crafter]";
mes "Mm, I'm sorry. It seems that some items are missing.";
mes "Please, feel free to come again when you have everything.";
close;
}
if(countitem(8002) >= 1 && countitem(995) >= 25 && countitem(749) >= 10 && countitem(7066) >= 50 && countitem(969) >= 10 && countitem(723) >= 10 && countitem(726) >= 10 && countitem(728) >= 10 && countitem(727) >= 10 && countitem(721) >= 10 && countitem(719) >= 10 && countitem(720) >= 10)
{
delitem 8002,1;
delitem 995,25;
delitem 749,10;
delitem 7066,50;
delitem 969,10;
delitem 723,10;
delitem 726,10;
delitem 728,10;
delitem 727,10;
delitem 721,10;
delitem 719,10;
delitem 720,10;
mes "[Valkyrie Crafter]";
mes "great! I'll start making them right now. Ok, just wait a few minutes please.";
next;
mes "[Valkyrie Crafter]";
mes "*Waiting impatiently for the wings*";
next;
mes "[Valkyrie Crafter]";
mes "( 15 minutes later )";
next;
mes "[Valkyrie Crafter]";
mes "Holy God! That's some great work i just did! Here yo ugo young traveler.";
mes "Those are you Arctic Wings.";
next;
getitem 8005,1;
mes "[Valkyrie Crafter]";
mes "Bye and don't hestate to come back! Enjoy your new wings ^^";
close;
}
break;
case 2:
mes "[Valkyrie Crafter]";
mes "So, do you want me to make them now ?";
goto Main;
case 3:
mes "[Valkyrie Crafter]";
mes "Very well. Good bye traveler and please come back again!";
close;
}
case 2:
mes "[Valkyrie Crafter]";
mes "WoW, I see that you show interest in the Demons Wings. Be careful with its power!";
mes "Well, I only need those to make them:";
next;
mes "[Valkyrie Crafter]";
mes "1x Devil Wings";
mes "100x Dragon Scale";
mes "100x Evil Horn";
mes "50x Tiger's Footskin";
mes "10x gold for the crafting fees";
next;
mes "So, do you want me to make them now ?";
switch(select("Sure, I got all the items!:Mm, can I choose another wings?:No, I don't have all items yet..."))
{
case 1:
if(countitem(723) < 10 && countitem(726) < 10 && countitem(728) < 10 && countitem(727) < 10 && countitem(721) < 10 && countitem(719) < 10 && countitem(720) < 10)
{
mes "[Valkyrie Crafter]";
mes "Oh! ssems that you didn't do the most important task: that's to bring to me all the precious stones i requested.";
mes "They are my source of inspiration and motivation. Without them, i can't do your wings.";
next;
mes "[Valkyrie Crafter]";
mes "Come back when you have them please!";
close;
}
if(countitem(8001) < 1 && countitem(1036) < 100 && countitem(923) < 100 && countitem(1030) < 50 && countitem(969) < 10)
{
mes "Mm, I'm sorry. It seems that some items are missing.";
mes "Please, feel free to come again when you have everything.";
close;
}
if(countitem(8001) >= 1 && countitem(1036) >= 100 && countitem(923) >= 100 && countitem(1030) >= 50 && countitem(969) >= 10 && countitem(723) >= 10 && countitem(726) >= 10 && countitem(728) >= 10 && countitem(727) >= 10 && countitem(721) >= 10 && countitem(719) >= 10 && countitem(720) >= 10)
{
delitem 8001,1;
delitem 1036,100;
delitem 923,100;
delitem 1030,50;
delitem 969,10;
delitem 723,10;
delitem 726,10;
delitem 728,10;
delitem 727,10;
delitem 721,10;
delitem 719,10;
delitem 720,10;
mes "[Valkyrie Crafter]";
mes "great! I'll start making them right now. Ok, just wait a few minutes please.";
next;
mes "[Valkyrie Crafter]";
mes "*Waiting impatiently for the wings*";
next;
mes "[Valkyrie Crafter]";
mes "( 15 minutes later )";
next;
mes "[Valkyrie Crafter]";
mes "Holy God! That's some great work i just did! Here yo ugo young traveler.";
mes "Those are you Arctic Wings.";
next;
getitem 8006,1;
mes "[Valkyrie Crafter]";
mes "Bye and don't hestate to come back! Enjoy your new wings ^^";
close;
}
break;
case 2:
mes "[Valkyrie Crafter]";
mes "So, do you want me to make them now ?";
goto Main;
case 3:
mes "[Valkyrie Crafter]";
mes "Very well. Good bye traveler and please come back again!";
close;
}
case 3:
goto Main;
case 4:
goto Main;
case 5:
goto Main;
case 6:
close;
}
case 3:
mes "[Valkyrie Crafter]";
mes "Very well. Good bye traveler and please come back again!";
close;
}
}

Edited by Miles
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  181
  • Reputation:   33
  • Joined:  11/11/12
  • Last Seen:  

The errors were mostly from not nesting correctly the IF parentheses.

For the rest, just some missing ; and some line that didn't have mes.

gonryun,37,22,6 script Valkyrie Crafter 801,{
mes "[Valkyrie Crafter]";
mes "Oh! A visitor. That's do rare!";
mes "Welcome to the portal to God's Realm.";
mes "I'm the guardian of this place.";
next;
mes "[Valkyrie Crafter]";
mes "What are you seeking stranger? The words of God himself?";
mes "[Valkyrie Crafter]";
mes "Or are you interested in my special crafting abilities?";
next;
switch(select("Yeah, I'd like to hear God' voice:So, what can you craft exactly?:That's very interesting but i have to go."))
{
case 1:
mes "[Valkyrie Crafter]";
mes "oh, so you want hear God's voice.";
mes "Well, only angels can hear him. Are you an angel?";
next;
mes "[Valkyrie Crafter]";
mes "Mmm, no. You don't seem to propagate any Holy Waves of the Angels.";
mes "I'm sorry but you won't be able to hear him today.";
mes "Maybe if you do become an anel one day.";
next;
mes "[Valkyrie Crafter]";
mes "In this case, I wish you a good day traveler!";
close;
case 2:
mes "[Valkyrie Crafter]";
mes "I'm the finest crafter of heaven.";
mes "I can make wings that are completely out of this world.";
next;
mes "[Valkyrie Crafter]";
mes "My finest work consist of crafting elemental wings from normal wings.";
mes "It's like refining existing wings if you prefer.";
mes "You simply need to hand me the elements that i need to do them.";
next;
mes "[Valkyrie Crafter]";
mes"Oh! There is however a litte special request I would have to ask you before starting doing any crafting.";
next;
mes "[Valkyrie Crafter]";
mes "i'm a big lover of rare precious stones. They're a real source of inspiration to me !";
mes "So, for any wings you want me to craft, could you please bring me at least 10 of each of those ores:";
next;
mes "[Valkyrie Crafter]";
mes "10x Ruby";
mes "10x Sapphire";
mes "10x Topaz";
mes "10x Opal";
mes "10x Emerald";
mes "10x Amethyst";
mes "10x Aquamarine";
next;
mes "[Valkyrie Crafter]";
mes "So what wings would you like me to craft for you ?";
next;
Main:
switch(select("Artic Wings:Demon Wings:Phoenix Wings:Gargoyle Wings:Torn Wings:Nothing for now, tahnk you."))
{
case 1:
mes "[Valkyrie Crafter]";
mes "Those water element wings are said to provide extra knowledge about the world we live in.";
mes "Ok, I will need the following:";
next;
mes "[Valkyrie Crafter]";
mes "1x Angel Wings";
mes "25x Mystic Frozen";
mes "10x Frozen Rose";
mes "50x Ice Cubic";
mes "10x gold for the crafting fees";
next;
mes "[Valkyrie Crafter]";
mes "So, do you want me to make them now ?";
switch(select("Sure, I got all the items!:Mm, can I choose another wings?:No, I don't have all items yet..."))
{
case 1:
if(countitem(723) < 10 && countitem(726) < 10 && countitem(728) < 10 && countitem(727) < 10 && countitem(721) < 10 && countitem(719) < 10 && countitem(720) < 10)
{
mes "[Valkyrie Crafter]";
mes "Oh! ssems that you didn't do the most important task: that's to bring to me all the precious stones i requested.";
mes "They are my source of inspiration and motivation. Without them, i can't do your wings.";
next;
mes "[Valkyrie Crafter]";
mes "Come back when you have them please!";
close;
}
if(countitem(8002) < 1 && countitem(995) < 25 && countitem(749) < 10 && countitem(7066) < 50 && countitem(969) < 10)
{
mes "[Valkyrie Crafter]";
mes "Mm, I'm sorry. It seems that some items are missing.";
mes "Please, feel free to come again when you have everything.";
close;
}
if(countitem(8002) >= 1 && countitem(995) >= 25 && countitem(749) >= 10 && countitem(7066) >= 50 && countitem(969) >= 10 && countitem(723) >= 10 && countitem(726) >= 10 && countitem(728) >= 10 && countitem(727) >= 10 && countitem(721) >= 10 && countitem(719) >= 10 && countitem(720) >= 10)
{
delitem 8002,1;
delitem 995,25;
delitem 749,10;
delitem 7066,50;
delitem 969,10;
delitem 723,10;
delitem 726,10;
delitem 728,10;
delitem 727,10;
delitem 721,10;
delitem 719,10;
delitem 720,10;
mes "[Valkyrie Crafter]";
mes "great! I'll start making them right now. Ok, just wait a few minutes please.";
next;
mes "[Valkyrie Crafter]";
mes "*Waiting impatiently for the wings*";
next;
mes "[Valkyrie Crafter]";
mes "( 15 minutes later )";
next;
mes "[Valkyrie Crafter]";
mes "Holy God! That's some great work i just did! Here yo ugo young traveler.";
mes "Those are you Arctic Wings.";
next;
getitem 8005,1;
mes "[Valkyrie Crafter]";
mes "Bye and don't hestate to come back! Enjoy your new wings ^^";
close;
}
break;
case 2:
mes "[Valkyrie Crafter]";
mes "So, do you want me to make them now ?";
goto Main;
case 3:
mes "[Valkyrie Crafter]";
mes "Very well. Good bye traveler and please come back again!";
close;
}
case 2:
mes "[Valkyrie Crafter]";
mes "WoW, I see that you show interest in the Demons Wings. Be careful with its power!";
mes "Well, I only need those to make them:";
next;
mes "[Valkyrie Crafter]";
mes "1x Devil Wings";
mes "100x Dragon Scale";
mes "100x Evil Horn";
mes "50x Tiger's Footskin";
mes "10x gold for the crafting fees";
next;
mes "So, do you want me to make them now ?";
switch(select("Sure, I got all the items!:Mm, can I choose another wings?:No, I don't have all items yet..."))
{
case 1:
if(countitem(723) < 10 && countitem(726) < 10 && countitem(728) < 10 && countitem(727) < 10 && countitem(721) < 10 && countitem(719) < 10 && countitem(720) < 10)
{
mes "[Valkyrie Crafter]";
mes "Oh! ssems that you didn't do the most important task: that's to bring to me all the precious stones i requested.";
mes "They are my source of inspiration and motivation. Without them, i can't do your wings.";
next;
mes "[Valkyrie Crafter]";
mes "Come back when you have them please!";
close;
}
if(countitem(8001) < 1 && countitem(1036) < 100 && countitem(923) < 100 && countitem(1030) < 50 && countitem(969) < 10)
{
mes "Mm, I'm sorry. It seems that some items are missing.";
mes "Please, feel free to come again when you have everything.";
close;
}
if(countitem(8001) >= 1 && countitem(1036) >= 100 && countitem(923) >= 100 && countitem(1030) >= 50 && countitem(969) >= 10 && countitem(723) >= 10 && countitem(726) >= 10 && countitem(728) >= 10 && countitem(727) >= 10 && countitem(721) >= 10 && countitem(719) >= 10 && countitem(720) >= 10)
{
delitem 8001,1;
delitem 1036,100;
delitem 923,100;
delitem 1030,50;
delitem 969,10;
delitem 723,10;
delitem 726,10;
delitem 728,10;
delitem 727,10;
delitem 721,10;
delitem 719,10;
delitem 720,10;
mes "[Valkyrie Crafter]";
mes "great! I'll start making them right now. Ok, just wait a few minutes please.";
next;
mes "[Valkyrie Crafter]";
mes "*Waiting impatiently for the wings*";
next;
mes "[Valkyrie Crafter]";
mes "( 15 minutes later )";
next;
mes "[Valkyrie Crafter]";
mes "Holy God! That's some great work i just did! Here yo ugo young traveler.";
mes "Those are you Arctic Wings.";
next;
getitem 8006,1;
mes "[Valkyrie Crafter]";
mes "Bye and don't hestate to come back! Enjoy your new wings ^^";
close;
}
break;
case 2:
mes "[Valkyrie Crafter]";
mes "So, do you want me to make them now ?";
goto Main;
case 3:
mes "[Valkyrie Crafter]";
mes "Very well. Good bye traveler and please come back again!";
close;
}
case 3:
goto Main;
case 4:
goto Main;
case 5:
goto Main;
case 6:
close;
}
case 3:
mes "[Valkyrie Crafter]";
mes "Very well. Good bye traveler and please come back again!";
close;
}
}

working , but with directories is wrong, i tried fix , but i'm failed :( dont can give me this scrip on txt ? cuz when i copy it adont have no1 tab and missing directories, cuz have alot cases

a need it : Valkyrie_Crafter.txt check this

Edited by ZelosAvalon
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

Missing mes

   	 [Valkyrie Crafter]
		WoW, I see that you show interest in the Demons Wings. Be careful with its power!
		Well, I only need those to make them:
		next;
		[Valkyrie Crafter]
		1x Devil Wings
		100x Dragon Scale
		100x Evil Horn
		50x Tiger's Footskin
		10x gold for the crafting fees

if(countitem(723) < 10 && countitem(726) < 10 && countitem(728) < 10 && countitem(727) < 10 && countitem(721) < 10 && countitem(719) < 10 && countitem(720) < 10)

means if one of this items are missing, this condition if false but you want to be true. So use || instead of &&.

Comparisons can be stacked in the same condition:

&& - Is True if and only if BOTH sides are true.

('1==1 && 2==2' is true. '2==1 && 1==1' is false.)

|| - Is True if either side of this expression is True.

1==1 && 2==2 is True.

1==1 && 2==1 is False.

1==1 || 2==1 is True.

Edited by Capuche
  • Upvote 1
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...