Jump to content

skymia

Members
  • Posts

    298
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by skymia

  1. yes i want to be repeatable and can choose other also a item to make
  2. how can i make multiple item in one character? because this script is 1 item per character only sir
  3. no error but still champ can equip the card and the effect still use sir
  4. Nice master you did it. thanks a lot thanks also to crazyarashi
  5. Error: Unexpected end of script
  6. prontera,145,173,4 script Wise Ninja 637,{ if( !application ) { goto Intro; } if( application == 1 ) { goto Challenge; } if ( application && explanation == 1) { goto Challenge2; } if ( application && explanation && challenge == 1){ goto Quiz; } if ( application && explanation && challenge && passed == 1){ goto Reward; } if ( application && explanation && challenge && passed && reward == 1){ goto Finish; } Intro: mes .npc$; mes "Hello, I am travelling shinobi. I am looking for a wise people"; mes "who can answer all my questions"; next; mes .npc$; mes "If you can finish my challenges and answer all my questions"; mes "I will make you a genin and reward you with a special item"; next; mes .npc$; mes "But of course its not for free"; mes "The application fee for one try is ^FF0000" + .zeny + " z^000000."; next; mes .npc$; mes "Do you want to try answering my questions?"; next; switch(select("Yes I Do!:No Thanks:Ignore Him")) { case 1: mes .npc$; mes "The Application Fee is ^FF0000" + .amount[0] + " z^000000"; next; switch(select("Pay!:I will get the money first")) { case 1: if(Zeny < .zeny){ mes .npc$; mes "Kid this is not enough!"; mes "You need^FF0000 " + .zeny$ + " for the application fee^000000"; close; } else { mes .npc$; set Zeny, Zeny - .zeny[0]; mes "Okay, This is enough"; set application,1; next; mes .npc$; mes "I will think about your challenge"; mes "come talk to me again in a bit"; end; } case 2: mes .npc$; mes "Okay, come back to me anytime"; close; } case 2: mes .npc$; mes "Are you sure kid?"; mes "It's once in a lifetime offer"; close; case 3: mes .npc$; mes "......"; close; } Challenge: set explanation,1; mes .npc$; mes "So for your challenge, I want you to get me a"; mes "^00FF005"+ getitemname(.item[0]) +" "+.item_amount[0]+"^000000 "; close; Challenge2: if(countitem(.item[0]) == .item_amount){ mes .npc$; delitem .item[0],.item_amount[0]; mes "Oh, I see you have collected all the items for the challenge"; next; mes .npc$; mes "Give them to me"; next; mes .npc$; mes "You may now take the quiz"; mes "Talk to me anytime you're ready"; set challenge,1; close; } else { mes .npc$; mes "So for your challenge, I want you to get me a"; mes "^00FF005"+ getitemname(.item[0]) +" "+.item_amount[0]+"^000000 "; close; } Quiz: mes .npc$; mes "Are you ready?"; next; switch(select("Yes!:No")) { case 1: mes .npc$; mes "Okay, let's start"; goto Quiz02; case 2: mes .npc$; mes "Okay, whenever youre ready"; close; } Quiz02: set .@correct$, .answers[.@i]; mes .npc$; mes "1st Question"; mes ".questions[0]"; input .@a1$; if (.@correct$ == .@a1$) { set score, +1; } end; next; mes .npc$; mes "2nd Question"; mes ".questions[1]"; input .@a2$; if (.@correct$ == .@a2$) { set score, +1; } next; mes .npc$; mes "3rd Question"; mes ".questions[2]"; input .@a3$; if (.@correct$ == .@a3$) { set score, +1; } next; mes .npc$; mes "4th Question"; mes ".questions[3]"; input .@a4$; if (.@correct$ == .@a4$) { set score, +1; } next; mes .npc$; mes "5th Question"; mes ".questions[4]"; input .@a5$; if (.@correct$ == .@a5$) { set score, +1; } next; mes .npc$; mes "6th Question"; mes ".questions[5]"; input .@a6$; if (.@correct$ == .@a6$) { set score, +1; } next; mes .npc$; mes "7th Question"; mes ".questions[6]"; input .@a7$; if (.@correct$ == .@a7$) { set score, +1; } next; mes .npc$; mes "8th Question"; mes ".questions[7]"; input .@a8$; if (.@correct$ == .@a8$) { set score, +1; } next; mes .npc$; mes "9th Question"; mes ".questions[8]"; input .@a9$; if (.@correct$ == .@a9$) { set score, +1; } next; mes .npc$; mes "10th Question"; mes ".questions[9]"; input .@a10$; if (.@correct$ == .@a10$) { set score, +1; } next; mes .npc$; mes "The Quiz is done"; mes "Let me check your answers"; goto Checking; next; Checking: if( score > 7 ){ mes .npc$; mes "Congratulations you passed the quiz"; set passed, 1; close; } else { mes .npc$; set score, 0; mes "You Failed the quiz"; mes "Feel free to try again"; close; } Reward: mes .npc$; mes "Congratulations for passing my challenge"; mes "As a promise here is your reward"; mes "Select Carefully for your reward"; next; .@menu_item_size = getarraysize(.@rewardname$); for (.@i = 0; .@i < .@menu_item_size; .@i++) { .@menu$ = .@menu$ + (.@i > 0 ? ":" : "") + .@rewardname$[.@i]; } .@i = select( .@menu$ ) - 1; mes "You selected : "+ .@menu_item$[.@i]; getitem .rewardid$[.@i],1; set reward,1; end; Finish: mes .npc$; mes "Congratulations on finishing my challenge"; mes "I hope you have a nice day"; close; OnInit: set .npc$ = "[ ^0000FFWise Ninja^000000 ]" setarray .zeny, 5000000 //zeny setarray .item, 5160; // challenge item id setarray .item_amount, 5; //challenge item amount setarray .questions, What is the special source of energy used by ninjas ?, What is the name of the special eye of the Uchiha clan ? , What is the name of the secret village of the country of Fire ? , What is the prefered jutsu of Naruto ?, How many villages are there in total ?, What is the name of the 'star looking' weapon of the ninjas ?, What is the name of the ultimate warrior/ninja in a particular village ?, What is the name of Kiba's dog ?, Who is the master of Naruto, Sasuke and Sakura ?, What is the name of the nine-tailed demon fox ?; setarray .answers, Chakra, Sharingan, Konoha, Kage bunshin no jutsu, 10, Shuriken, Kage, Akamaru, Kakashi, Kurama; setarray .@rewardname$, "Country of Fire", "Country of Wind", "Country of Water", "Country of Lightning", "Country of Earth", "Country of Sound"; setarray .rewardid$, 33001, 33002, 33003, 33004, 33005, 33006; setarray .effect$, "+10 STR HP", "+10 AGI HP", "+10 INT HP", "+10 LUK HP", "+10 VIT HP", "+10 DEX HP"; .totalreward = 6; end; } I check all Quiz2 and change them all to Quiz02 and here's the new error sir
  7. can anyone have a answer for this one? 4359,B_Eremes_Card,Assassin Cross Card,6,20,,10,,,,,,,,2,,,,,{ bonus3 bAutoSpell,378,3,30;},{},{} how to restrict champion and paladin to use this card? example: this two char can't equip this card or the effect of the card wont execute. i try this but it wont disable it 4359,B_Eremes_Card,Assassin Cross Card,6,20,,10,,,,,,,,2,,,,,{ bonus3 bAutoSpell,378,3,30; if(Class != 15 || Class != 4016 || Class != 4070 || Class != 4077 || Class != 4015 || Class != 4066 || Class != 4073);},{},{}
  8. and this Country of Fire (+10 STR HP) Country of Wind (+10 AGI HP) Country of Water. (+10 INT HP) Country of Lightning. (+10 LUK HP) Country of Earth. (+10 VIT HP) Country of Sound. (+10 DEX HP) i put the script in items
  9. does anyone have here a script like this? I saw this npc in Dark-Ro Force...credits to them...I hope someone have this type of script...thanks Pay an application Fee (5 Milion Zenies). Show your survival skills (hunt 5 Majestic Goats). Do a knowledge Test. After paying the fees you need to delivery 5 Majestic Goats (They can be bought at @mall). The last step is the test, you can either answer in small letter (test), in capital letters (TEST), or the normal way (Test), but nothing else will work (i.e teSt). You need at least a 8/10 score to pass the exam. You can't quit the exam before answering all questions. Here are the questions: What is the special source of energy used by ninjas ? What is the name of the special eye of the Uchiha clan ? What is the name of the secret village of the country of Fire ? What is the prefered jutsu of Naruto ? How many villages are there in total ? What is the name of the 'star looking' weapon of the ninjas ? What is the name of the ultimate warrior/ninja in a particular village ? What is the name of Kiba's dog ? Who is the master of Naruto, Sasuke and Sakura ? What is the name of the nine-tailed demon fox ? Answers to the question: chakra sharingan konoha kage bunshin no jutsu 10 shuriken kage akamaru kakashi kurama Once you passed on the exam you can choose to be a genin of one country, each country gives a different Head Protector with different status Item Quest Headprotector Fire - Country of Fire (Item Effect:+10 STR HP) Example: 31224,_headprotectorfire,Headprotector Fire,4,0,,200,,3,,1,0xFFFFFFFF,7,2,256,,0,1,1621,{bonus bStr,10; bonus bMaxHP,1000;},{},{} Headprotector Wind - Country of Wind (Item Effect:+10 AGI HP) Headprotector Water - Country of Water. (Item Effect:+10 INT HP) Headprotector Lightning - Country of Lightning. (Item Effect:+10 LUK HP) Headprotector Earth - Country of Earth. (Item Effect:+10 VIT HP) Headprotector Sound - Country of Sound. (Item Effect:+10 DEX HP)
  10. skymia

    @afk Command

    how to remove the message that he is in autotrade mode? i want is he can still receive the message even he is in afk mode
  11. skymia

    Q/R>Promo Npc

    Thanks sir i fix it now
  12. skymia

    Q/R>Promo Npc

    sec_in02,147,161,4 script Random Donate NPC 936,{ mes "[Random Donate NPC]"; mes "Get random item for 1 Event Ticket?"; next; menu "Yes",-,"No",Menu_No; if (countitem(7711)>=1) goto No_Zeny; delitem 7711,1; if (rand(100) < 10) { setarray RandItem[0],5469,5579,5518,5548,5483,31500,31501,31502,31503; // Items with 10% Chance } else { setarray RandItem[0],31200,31201,31202,31203,31204,31205,31206,31207,31208,31209,31210,31211,31212,31213,31214,31224,31225,31226,31227,31228,31229,31230,31231,31232; // Items with 90% chance }set RandCount, getarraysize(RandItem); mes "[Random Donate NPC]"; mes "Here it is..."; getitem (RandItem[rand(RandCount)],1); delitem 7711,1; close; Menu_No: mes RandItem[rand(RandCount)]; close; No_Zeny: mes "[Random Donate NPC]"; mes "You don't have enough Event Ticket."; close; } i already did it sir
  13. skymia

    Q/R>Promo Npc

    what if i will change the payment for this script i want is event ticket not zeny
  14. is there a script that restrict the usage of the card? Example: Assassin Cross Card the effect is enchant deadly poison but i want is the champion cannot use this card
  15. This is also my problem on run for ur life event the clones ar not using any skills can anyone help me? because my event run for your life if the event master will summon the clones they will not use random skills...anyone know how to fix this? can find yet a answer for this...need help sir
  16. How to put percentage to this script? {getitem callfunc("F_Rand",7078,7079,7080,7081,7082,7083,7084,7085,7086,7087),1;}{}{}
×
×
  • Create New...