HolyTrance

Would you like to react to this message? Create an account in a few clicks or log in to continue.
HolyTrance

HolyTrance Forums Created by Dom


2 posters

    A suggestion

    avatar
    OmgitzVincent


    Posts : 4
    Join date : 2009-08-17

    A suggestion Empty A suggestion

    Post  OmgitzVincent Thu Aug 20, 2009 11:52 pm

    Hey well here is my suggestion I edited a script I haven't tried it but if you want to try it you may. The script trades saves for items that usually Admins/Gms trade for.This means saving Admins/Gms time from wasting their time and getting the items for the players. So far in the script i only have codes for chairs since those are the only codes released so far.I would add Weapons in the script but the problem is players want 1.5k stat or something and I need Dom to edit weapons/equips to the amount of stats but I don't know if he can with out changing the amount of stats on the item he choose to change.If any anyone knows the mount codes and saddles tell me and i'll add them right away or Dom might. So heres the code.

    Code:
    // Credits to Moogra,xChibi,& Mages4Ever edited and changed by 1BigFailure
    var status = 0;

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

    function action(mode, type, selection) {
        if (mode == -1) {
            cm.dispose();
        } else {
            if (mode == 0 && status == 0) {
                cm.dispose();
                return;
            }
            if (mode == 1)
                status++;
            else
                status--;
            if (status == 0) {
                cm.sendSimple("Hello I take your (Saves) and trade it for things.: \r\n#L1# I would like to trade 5 #b#5220001##k for a #b#v3010020##k!#l \r\n#L2# I would like to trade my 5 #b#v5220001##k for #b#v3010021##k!#l \r\n#L3# I would like to trade 5 #b#v5220001##k for #b#v3010027##k.#l \r\n#L4# I would like to trade 5 #b#v5220001##k for #b#v3010029##k.#l  \r\n\#L5# I would like to trade 5 #b#v5220001##k for #b#v3010030##k.#l  \r\n\#L6# I would like to trade 5 #b#v5220001##k for #b#v3010031##k.#l \r\n\#L7# I would like to trade 5 #b#v5220001##k for #b#v3010032##k.#l \r\n\#L8# I would like to trade 5 #b#v5220001##k for #b#v3010037##k.#l \r\n\#L9# I would like to trade 5 #b#v5220001##k for #b#v3010043##k.#l \r\n\#L10# I would like to trade 5 #b#v5220001##k for #b#v3010045##k.#l \r\n\#L11# I would like to trade 5 #b#v5220001##k for #b#v3010046##k.#l \r\n\#L12# I would like to trade 5 #b#v5220001##k for #b#v3010047##k.#l \r\n\#L13# I would like to trade 5 #b#v5220001##k for #b#v3010049##k.#l
    \r\n\#L14# I would like to trade 5 #b#v5220001##k for #b#v3010051##k.#l \r\n\#L15# I would like to trade 5 #b#v5220001##k for #b#v3010052##k.#l \r\n\#L16# I would like to trade 5 #b#v5220001##k for #b#v3010054##k.#l \r\n\#L17# I would like to trade 5 #b#v5220001##k for #b#v3012000##k.#l");
          } else if (status == 1) {
                if (selection == 1) {
                    if (cm.haveItem(5220001, 5)) {
              cm.gainItem(3010020, 1);   
                        cm.gainItem(5220001, -5);
                        cm.sendOk("Have fun with your new chair!");
                    } else {
                        cm.sendOk("Sorry, you don't have 5 #b#v5220001##k!");
                    }
                    cm.dispose();
                }  else if (selection == 2) {
                    if (cm.haveItem(5220001, 5)) {
                        cm.gainItem(3010021, 1);
                        cm.gainItem(5220001, -5);
                        cm.sendOk("Have fun with your new chair!");
                    } else {
                        cm.sendOk("Sorry, you don't have 5 #b#v5220001##k!");
                    }
                    cm.dispose();
            } else if (selection == 3) {
                    if (cm.haveItem(5220001, 5)) {
                        cm.gainItem(3010027, 1);
                        cm.gainItem(5220001, -1);
                        cm.sendOk("Have fun with your new chair!");
                    } else {
                        cm.sendOk("Sorry you dont have 5 #b#v5220001##k!");
                    }
                    cm.dispose();
            } else if (selection == 4) {
                    if(cm.haveItem(5220001, 1)) {
                        cm.gainItem(3010029, 1);
                        cm.gainItem(5220001, -1);
                        cm.sendOk("Have fun with your new chair!");
                    } else {
                        cm.sendOk("Sorry you dont have a #b#v1122004##k!");
                    }
                    cm.dispose();   
            } else if (selection == 5) {
                    if(cm.haveItem(5220001, 1)) {
                        cm.gainItem(3010030, 1);
                        cm.gainItem(5220001, -1);
                        cm.sendOk("Have fun with your new chair!");
                    } else {
                        cm.sendOk("Sorry you dont have a #b#v1122006##k!");
                    }
                    cm.dispose();   
            } else if (selection == 6) {
                    if(cm.haveItem(5220001, 1)) {
                        cm.gainItem(3010031, 1);
                        cm.gainItem(5220001, -1);
                        cm.sendOk("Have fun with your new chair!");
                    } else {
                        cm.sendOk("Sorry you dont have enough #b#v5220001##k!");
                    }
                    cm.dispose(); 
            } else if (selection == 7) {
                    if(cm.haveItem(5220001, 5)) {
                        cm.gainItem(3010032, 1);
                        cm.gainItem(5220001, -5);
                        cm.sendOk("Have fun with your new chair!");
                    } else {
                        cm.sendOk("Sorry you dont have enough #b#v5220001##k!");
                    }
                    cm.dispose();
            } else if (selection == 8) {
                    if(cm.haveItem(5220001, 5)) {
                        cm.gainItem(3010037, 1);
                        cm.gainItem(5220001, -5);
                        cm.sendOk("Have fun with your new chair!");
                    } else {
                        cm.sendOk("Sorry you dont have enough #b#v5220001##k!");
                    }
                    cm.dispose();
            } else if (selection == 9) {
                    if(cm.haveItem(5220001, 5)) {
                        cm.gainItem(3010043, 1);
                        cm.gainItem(5220001, -5);
                        cm.sendOk("Have fun with your new chair!");
                    } else {
                        cm.sendOk("Sorry you dont have enough #b#v5220001##k!");
                    }
                    cm.dispose(); 
            } else if (selection == 10) {
                    if(cm.haveItem(5220001, 5)) {
                        cm.gainItem(3010045, 1);
                        cm.gainItem(5220001, -5);
                        cm.sendOk("Have fun with your new chair!");
                    } else {
                        cm.sendOk("Sorry you dont have enough #b#v5220001##k!");
                    }
                    cm.dispose();
            } else if (selection == 11) {
                    if(cm.haveItem(5220001, 5)) {
                        cm.gainItem(3010046, 1);
                        cm.gainItem(5220001, -5);
                        cm.sendOk("Have fun with your new chair!");
                    } else {
                        cm.sendOk("Sorry you dont have enough #b#v5220001##k!");
                    }
                    cm.dispose();
            } else if (selection == 12) {
                    if(cm.haveItem(5220001, 5)) {
                        cm.gainItem(3010047, 1);
                        cm.gainItem(5220001, -5);
                        cm.sendOk("Have fun with your new chair!");
                    } else {
                        cm.sendOk("Sorry you dont have enough #b#v5220001##k!");
                    }
                    cm.dispose();
            } else if (selection == 13) {
                    if(cm.haveItem(5220001, 5)) {
                        cm.gainItem(3010049, 1);
                        cm.gainItem(5220001, -5);
                        cm.sendOk("Have fun with your new chair!");
                    } else {
                        cm.sendOk("Sorry you dont have enough #b#v5220001##k!");
                    }
                    cm.dispose();   
            } else if (selection == 14) {
                    if(cm.haveItem(5220001, 5)) {
                        cm.gainItem(3010051, 1);
                        cm.gainItem(5220001, -5);
                        cm.sendOk("Have fun with your new chair!");
                    } else {
                        cm.sendOk("Sorry you dont have enough #b#v5220001##k!");
                    }
                    cm.dispose();   
            } else if (selection == 15) {
                    if(cm.haveItem(5220001, 5)) {
                        cm.gainItem(3010052, 1);
                        cm.gainItem(5220001, -5);
                        cm.sendOk("Have fun with your new chair!");
                    } else {
                        cm.sendOk("Sorry you dont have enough #b#v5220001##k!");
                    }
                    cm.dispose(); 
            } else if (selection == 16) {
                    if(cm.haveItem(5220001, 5)) {
                        cm.gainItem(3010054, 1);
                        cm.gainItem(5220001, -5);
                        cm.sendOk("Have fun with your new chair!");
                    } else {
                        cm.sendOk("Sorry you dont have enough #b#v5220001##k!");
                    }
                    cm.dispose(); 
            } else if (selection == 17) {
                    if(cm.haveItem(5220001, 5)) {
                        cm.gainItem(3012000, 1);
                        cm.gainItem(5220001, -5);
                        cm.sendOk("Have fun with your new chair!");
                    } else {
                        cm.sendOk("Sorry you dont have enough #b#v5220001##k!");
                    }
                    cm.dispose();           
                }
                else{
                    cm.sendOk("All right. Come back later");
                }
            }
        }
    avatar
    Admin
    Admin
    Admin


    Posts : 29
    Join date : 2009-07-16

    A suggestion Empty Re: A suggestion

    Post  Admin Mon Aug 24, 2009 11:44 pm

    yes. i have thought about this chair. It won't work. U can only obtain it from drop.
    avatar
    OmgitzVincent


    Posts : 4
    Join date : 2009-08-17

    A suggestion Empty Re: A suggestion

    Post  OmgitzVincent Tue Aug 25, 2009 10:28 pm

    Admin wrote:yes. i have thought about this chair. It won't work. U can only obtain it from drop.
    oh well that sucks but you can just switch the chair id with a equip or something else that could has a value

    Sponsored content


    A suggestion Empty Re: A suggestion

    Post  Sponsored content

      Similar topics

      -

      Current date/time is Mon May 13, 2024 8:59 am