Hello Everyone Its Me Again! I am back with a second release. This release is fairly simple. This is a NPC that will max you skills and give you a Starter Pack. Im pretty sure most of you can make this but this i guess you could say for people that are just getting started and need a push or something.Here is the Code.
Code:function start() { cm.sendSimple ("Welcome to ShainaStory. I am the Skill Maxer. I will also give you a Starter Pack. Enjoy The Server! \r\n#L0##bMax My Skills#k#l"); } function action(mode, type, selection) { if (selection > 5) {cm.sendSimple("Okay, I will wait for you."); cm.dispose();} else { cm.gainMeso(13337); cm.gainItem(1002140,1); cm.gainItem(2022457, 100); cm.gainItem(2022457, 100); cm.gainItem(2022457, 100); cm.gainItem(3010057, 1); cm.gainItem(1112100, 1); cm.gainItem(1072384, 1); cm.gainItem(5072000, 20); cm.gainItem(5076000, 10); cm.gainItem(5211010, 1); switch(selection) { case 0: cm.getPlayer().maxAllSkills(); break; } cm.warp(910000000,0); cm.getPlayer().maxAllSkills(); cm.resetStats(); cm.sendOk("Let the training begin!"); cm.dispose(); } }
ScreenShot
Again this is a very basic NPC. Sorry I haven't learn Arrays yet.
Credits
Blake
RageZone




Reply With Quote


