Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Timeless Weapons For Trophys NPC

Newbie Spellweaver
Joined
Dec 24, 2009
Messages
7
Reaction score
0
Made with Holden Ms Repack. I used Faithless from True Story's original Trophy Trader Code to make this!


This NPC Really will only be useful if you have timeless weapons and they are rare on your server.

PHP:
/* Made by Joey from NobodyMS
ThatEchoKid On RageZone. 
And Made by Faithless from TrueStory */

var wui = 0;

function start() {
    cm.sendSimple ("Hello, I'm the Timeless trader. If you have any Trophies you could exchange them here for Timeless items.\r\n#L0# #r#r10#k trophies for a #rTimeless One hand Sword#k.#k #l\r\n#L1##r10#k trophies for #rTimeless 2 Hand Sword.#k  #l\r\n#L2##r10#k trophies for a #rTimeless one hand mace#k. #l\r\n#L3##r10#k Tropies for a #rTimeless 2 Hand Mace#k #l\r\n#L4##r10#k trophies for a #rTimeless One hand Axe#r#k #l\r\n#L5##r10#k trophies for a #rTimeless Two hand Axe#r#k");
}

function action(mode, type, selection) {
cm.dispose();
    if (selection == 0) {

					if (cm.haveItem(4000038, 10)) {
                      cm.gainItem(1302081,1);
                      cm.gainItem(4000038, -10);
                      cm.sendOk("May Time Never End!!!!!!");
                      cm.dispose();
            } else {
                cm.sendOk(" Sorry. You do not have enough trophies. ");
                cm.dispose();
                }

    
        } else if (selection == 1) {


                    if (cm.haveItem(4000038, 10)) {
                      cm.gainItem(1402046,1);
                      cm.gainItem(4000038, -10);
                      cm.sendOk("May Time Never End!!!!!!");
                      cm.dispose();
            } else {
                cm.sendOk(" Sorry. You do not have enough trophies. ");
                cm.dispose();
                }


        } else if (selection == 2) {

                    if (cm.haveItem(4000038, 10)) {
                      cm.gainItem(1322060,1);
                      cm.gainItem(4000038, -10);
                      cm.sendOk("May Time Never End!!!!!!");
                      cm.dispose();
            } else {
                cm.sendOk(" Sorry. You do not have enough trophies. ");
                cm.dispose();
                }



        } else if (selection == 3) {


                    if (cm.haveItem(4000038, 10)) {
                      cm.gainItem(1422037,1);
                      cm.gainItem(4000038, -10);
                      cm.sendOk("May Time Never End!!!!!!");
                      cm.dispose();
            } else {
                cm.sendOk(" Sorry. You do not have enough trophies. ");
                cm.dispose();
                }
				
				
				
			} else if (selection == 4) {
  
                    if (cm.haveItem(4000038, 10)) {
                      cm.gainItem(1312037,1);
                      cm.gainItem(4000038, -10);
                      cm.sendOk("May Time Never End!!!!!!");
                      cm.dispose();
            } else {
                cm.sendOk(" Sorry. You do not have enough trophies. ");
                cm.dispose();
                }



        } else if (selection == 5) {
  
                    if (cm.haveItem(4000038, 10)) {
                      cm.gainItem(1412033,1);
                      cm.gainItem(4000038, -10);
                      cm.sendOk("May Time Never End!!!!!!");
                      cm.dispose();
            } else {
                cm.sendOk(" Sorry. You do not have enough trophies. ");
                cm.dispose();
                }

        cm.dispose();
        }    


    
}

-=-=-=-=Credits=-=-=-=-
50% To Faithless For Base Code
50% To Me For Edit and Set up

For use with v62 Servers With a Trophy System.
 
Last edited:
Back
Top