[Release] Guide NPC

Waiting and waiting...
Joined
Aug 21, 2008
Messages
134
Reaction score
3
Hello, and welcome to my third release :w00t:

This NPC is a guide which will prevent questions like where is this npc and what is it doing?

Where can I buy armor and weapons and stuff like that. :wink:

If this doesn't prevent all those questions then I give up :tongue:

Well enough talking here it is (please as any others leave my credits alone)


PHP:
/* Credits to Faithless from TrueStory 3rd release! :D Please let my credits be as they are :) */


function start() {
	status = -1;
	action(1, 0, 0);
}

function action(mode, type, selection) {
            if (mode == -1) {
                cm.dispose();
            }
            else {
                if (status >= 3 && mode == 0) {
			cm.sendOk("Good luck on your journey. I hope you had any use to this!");
			cm.dispose();
			return;                    
                }
                if (mode == 1) {
			status++;
		}
		else {
			status--;
		}
               if (status == 0) {
                        cm.sendNext("Hello #d#h ##k #k I can help you to tell you the basic info about TrueStory");                  
                }
               if (status == 1) {
                   cm.sendSimple("#L0#Job Related#l\r\n#L1#Armor and weapon related\r\n#L3#Usefull Stuff\r\n#L5#Skills\r\n#L4#Credits#l\r\n#L6#Rules\r\n#L2#End conversation#l");
               }

    else if (selection == 3) {
                        cm.sendOk("#rFredrick sells a lot of usefull things.#k\r\n#gMr. MoneyBags sells Chairs#k\r\n#bSpindle sells morphs, white scrolls & dragon stones.\r\n#dMia sells special NX.#k\r\nSpiegelmann sells all kinds of scrolls.");
                       cm.dispose();
                   }
    else if (selection == 4) {
                        cm.sendOk("#dCredits goes to Faithless from TrueStory#k");
                       cm.dispose();
                   }
    else if (selection == 5) {
                        cm.sendOk("#dIf you bind your skills on your keys you can use them in other jobs!\r\n#bFor example Shadow partner with hurricane or strafe!#k#k");
                       cm.dispose();
                   }
 else if (selection == 6) {
                        cm.sendOk("Hello #d#h ##k #k\r\nAs you might know, Many severs contain rules. So does this server!\r\n\r\n#b1.#kIt's not allowed to hack here!\r\n#b2.#kDon't beg to be a GM.\r\n#b3.#kPlease be nice to other players.\r\n#b4.#kIllegal actions will result in a jail / ban.\r\n#b5.#kDo not ask for items or mesos!\r\n#b6.#kDon't bother the GM with really stupid questions.\r\n\r\n#dAnd as last (which isn't a rule but a suggest)\r\nPlease vote for TrueStory! :)");
                       cm.dispose();
                   }
                   

               else if (status == 2) {
                   if (selection == 0) {
                       cm.sendSimple("#L0#Job advancer#l\r\n#L1#Skill Maxer#l\r\n#L2#Rebirth#l\r\n");
                   }
                   else if (selection == 1) {
                        cm.sendOk("#rAll armor and weapons you will be able to find at Nana.#k\r\n#gIf this isn't enough then search at the FM.#k");
                       cm.dispose();
                   }
                   else if (selection == 2) {
      cm.sendOk("Good luck on your journey If you need any help you could always look again!");
                       cm.dispose();
                   }
               }

               


               else if (status == 3) {
                       if (selection == 0) {
                    cm.sendOk("#r Cody#k is our own Job advancer.");
                       cm.dispose();
                   }

                   if (selection == 1) {
                       cm.sendOk("#d Duey#k is the Skill Maxer");
                       cm.dispose();

  		  }  if (selection == 2) {
  	                     cm.sendOk("#dRebirth is able to do at Mr. Pickel or just type @rebirth#k");
                       cm.dispose();

            
            }
     
                }

            }
              
            }
I could add some pictures, but it has some diffrent views and besides, it's only a guide, not a release of something brilliants.[/
--------------------------------------------------------------------------------------------------------------------------------

How to instal this NPC?
1. Make a notepad
2. Copy and paste the script
3. Save it as any NPC you want
4. My example 2002.js
5. Paste it in your repack scripts\npc
6. Enjoy! :cool:
​
 
Thanks, You can always modify it of course I mean TrueStory and your own server name don't really coopperate :wink:​
 
Well, I haven't found it so I made my own one :) I won't tell you that you have to use it, I just want to share it with others O.o
 
hey this is a good good release but then you could always jst use the auto messages or @help or soemthign and it would tell them,

toehr then that nice release i aint flaming
 
If I'd add this to auto messages it woldn't be a little much, wouldn't it? (I've been thinking about this too).
 
Back