Cheat Engine

The Underground Site of Cheat Engine


    Trophy System NPC

    Share

    SXV
    Guest

    Trophy System NPC

    Post  SXV on Thu May 21, 2009 2:02 am

    Hi I know this has been released on RageZone before but here I'm releasing one I coded with similar items to the one released on RZ

    Here Is The Script:
    Code:
    /* Coded By lilAznDevinDev.*/

    var wui = 0;

    function start() {
        cm.sendSimple ("Hello, I'm The Event Trophie Trader. If you got any Trophies you could exchange them For prizes. But Please Remeber To Pick Wisley I Do Not Give Any Refunds. Please Also remeber More Prizes Will be Added.\r\n#L0# #b#b10#k Trophies For A  #i2000005#\n\ x100  #l\r\n#L1##b50#k Trophies For  #i2340000#\n\ x10  #l\r\n#L2##b100#k Trophies For A  #i1012105#\n\  #l\r\n#L3##b150#k Tropies For A #i1302049#\n\  #l\r\n#L4##b200#k Trophies For  #i1322013#\n\  #l\r\n#L5##b300#k Trophies For A  #i1002518#\n\  #l\r\n#L6##b5000#k Trophies For A  #i1042003#\n\  #l\r\n#L7##b10000#k Trophies For A #i1002140#\n\ ");
    }

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

     if (cm.haveItem(4000038, 10)) {
                          cm.gainItem(2000005,100);
                          cm.gainItem(4000038, -10);
                          cm.sendOk("Well done, Here are your 100 Power Elixirs Use Them Wisley.");
                          cm.dispose();
                } else {
                    cm.sendOk(" Sorry. You Do Not Have Enough Trophies For 100 Power Exlixirs ");
                    cm.dispose();
                    }

       
            } else if (selection == 1) {


                        if (cm.haveItem(4000038, 50)) {
                        cm.gainItem(2340000,10); 
                          cm.gainItem(4000038, -50);
                          cm.sendOk("Well done!, Here Are Your 10 White SCrolls.");
                          cm.dispose();
                } else {
                    cm.sendOk(" Sorry. You Do Not Have Enough Trophies For 10 White Scrolls. ");
                    cm.dispose();
                    }


            } else if (selection == 2) {

                        if (cm.haveItem(4000038, 100)) {
                          cm.gainItem(1012105,1); 
                          cm.gainItem(4000038, -100);
                          cm.sendOk("Well done!, Here Is your Baby Pacifier.");
                          cm.dispose();
                } else {
                    cm.sendOk(" Sorry. You Do Not Have Enough Trophies For a baby Pacifier. ");
                    cm.dispose();
                    }



            } else if (selection == 3) {


                        if (cm.haveItem(4000038, 150)) {

                          cm.gainItem(1302049,1);
                          cm.gainItem(4000038, -150);
                          cm.sendOk("Well done!, Here Is your #r Glowing Whip#k.");
                          cm.dispose();
                } else {
                    cm.sendOk(" Sorry. You Do Not Have Enough Trophies For a Glowing Whip. ");
                    cm.dispose();
                    }



            } else if (selection == 4) {
     
                        if (cm.haveItem(4000038, 200)) {
                     
                          cm.gainItem(1322013,1);
                          cm.gainItem(4000038, -200);
                          cm.sendOk("Well done!, Here Is Your Wizet Suitcase.");
                          cm.dispose();
                } else {
                    cm.sendOk(" Sorry. You Do Not Have Enough Trophies For a Wizet Suitcase . ");
                    cm.dispose();
                    }

            } else if (selection == 5) {

                        if (cm.haveItem(4000038, 300)) {
                          cm.gainItem(1002518,1); 
                          cm.gainItem(4000038, -300);
                          cm.sendOk("We'll Done! Here Is Your Maple Bandana, Please go Collect More Trophies.");
                          cm.dispose();
                } else {
                    cm.sendOk(" Sorry. You Do Not Have Enough Trophies For a Blue Maple Bandana. ");
                    cm.dispose();
                    }

     
            } else if (selection == 6) {

                        if (cm.haveItem(4000038, 5000)) {
     
                          cm.gainItem(1042003,1);
                          cm.gainItem(4000038, -5000);
                          cm.sendOk("We'll Done On Getting A Wizet Plain Suit, Please go Collect more Trophies.");
                          cm.dispose();
                } else {
                    cm.sendOk(" Sorry. You Do Not Have Enough Trophies For a Wizet Plain Suit. ");
                    cm.dispose();
                    }


                } else if (selection == 7) {

                        if (cm.haveItem(4000038, 10000)) {

                          cm.gainItem(1002140,1);
                          cm.gainItem(4000038, -10000);
                          cm.sendOk("Congratz On Getting The Top Prize A Wizet Hat!, Please go Collect more Trophies.");
                          cm.dispose();
                } else {
                    cm.sendOk(" Sorry. You do not have enough Trophies. ");
                    cm.dispose();
                    }


            cm.dispose();
            }   


       

      Current date/time is Mon Oct 22, 2018 11:28 pm