[Help] NPC scripting

Results 1 to 3 of 3
  1. #1
    Account Upgraded | Title Enabled! bond is offline
    MemberRank
    Mar 2007 Join Date
    Hellv2Location
    217Posts

    [Help] NPC scripting

    Hello everyone...well i having trouble making custom npc quest...i want to make the quest npc or npc give item to player only give item per 1 user....how to make it??? can u tell me??

    this is my npc script for giving new player item...but i would like to limit it..is it possible??

    Code:
    prontera.gat,164,167,5    script    Blackrose Gift    61,{
        mes "[Blackrose Gift]";
        mes "I worked myself to death trying to fulfill your ridiculous expectations for items!";
        mes "Now that I've finally found the formula for the perfect headgear, I'm willing to share my time and talents";
        next;
        mes "You need to fullfill this requirement!";
        mes "Zeny 6 million";
        next;
        mes "Were' not done yet sweety...";
        mes "Im a big fan of dolls, so you need to bring me these cuties";
        mes "1 Poring Doll - a Poring drop";
        next;
        mes "Finally, i worked hard to make these Items for my master with all the mentioned items above...";
        mes "Please include exta 4 million zeny for my efforts."; 
        next;
        mes "[Blackrose Gift]";
        mes ". . . . . .";
        mes "Are you ready for me to make this special item?";
        next;
        menu "Sure am!",-,"These requirements are unfathomable!",LUnfathomable;
    
            mes "[BlackROSE SANTA]";
            if(countitem(741) < 1 || Zeny < 10000000) goto LNotEnough;
            delitem 741,1;
            set Zeny,Zeny-10000000;
            mes "Wow!  You are brave indeed!";
            getitem 2357,1; //armor
            getitem 2421,1; //shoes
            getitem 4047,1; //ghostring card
            getitem 4054,1; //angeling card
            getitem 2524,1; //garment
            getitem 30013,1; //wings
            getitem 30024,1; //headgear
            mes ". . . . .";
            mes "Enjoy being God of BlackROSE Ragnarok!";
            close;
    
            LNotEnough:
                mes ". . . . .";
                mes ". . .I'm sorry .. You don't have enough money and items ..";
                mes "I can't afford to make this if you don't bring all materials needed.  Please understand this is to benefit heroes such as yourself!";
                close;
    
        LUnfathomable:
            mes ". . . . .";
            mes "What I had to go through was more unfathomable..";
            mes "If you succeed in getting these items, you will have incredible strength!";
            close;
    }


  2. #2
    Member Idola The Witty is offline
    MemberRank
    Aug 2008 Join Date
    OntarioLocation
    80Posts

    Re: [Help] NPC scripting


  3. #3
    Account Upgraded | Title Enabled! bond is offline
    MemberRank
    Mar 2007 Join Date
    Hellv2Location
    217Posts

    Re: [Help] NPC scripting

    thank you Mr.Idola The Witty....



Advertisement