Destined-MS

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

    Suggestions~

    avatar
    cicktowin


    Posts : 2
    Join date : 2009-12-28

    Suggestions~ Empty Suggestions~

    Post  cicktowin Mon Dec 28, 2009 7:19 am

    FM 2-6 Boss Spawner

    1m per a spawn



    Code:
    var mob = Array(8500001, 8510000, 9400014, 9400121, 9400112);

    function start() {
        cm.sendSimple("Hi im destined-Ms Fm 2-6 Boss Spawner! The price to summon monsters is " + 1000000 * cm.getC().getChannelServer().getMesoRate() + " mesos. \r\n Please choose #b\r\n#L0#Papulatus clock#l\r\n#L1#Pianus#l\r\n#L2#Black Crow#l\r\n#L3#Anego#l\r\n#L4#BodyGuard A#l#k");
    }

    function action(mode, type, selection) {
        if (cm.getMeso() > 1000000* cm.getC().getChannelServer().getMesoRate()) {
            cm.summonMob(mob[selection]);
            cm.gainMeso(-1000000* cm.getC().getChannelServer().getMesoRate());
        } else {
            cm.sendOk("You do not have enough mesos.");
        }
        cm.dispose();
    }

    This was edited from the moorga script!

    Also

    @go Command~

    Code:
    else if (splitted[0].equals("@go")) {
                if (!player.inBlockedMap()) {
                    HashMap<String, Integer> maps = new HashMap<String, Integer>();
                    maps.put("henesys", 100000000);
                    maps.put("ellinia", 101000000);
                    maps.put("perion", 102000000);
                    maps.put("kerning", 103000000);
                    maps.put("lith", 104000000);
                    maps.put("sleepy", 105040300);
                    maps.put("florina", 110000000);
                    maps.put("orbis", 200000000);
                    maps.put("happy", 209000000);
                    maps.put("elnath", 211000000);
                    maps.put("ludi", 220000000);
                    maps.put("omega", 221000000);
                    maps.put("korean", 222000000);
                    maps.put("aqua", 230000000);
                    maps.put("leafre", 240000000);
                    maps.put("mulung", 250000000);
                    maps.put("herb", 251000000);
                    maps.put("nlc", 600000000);
                    maps.put("shrine", 800000000);
                    maps.put("showa", 801000000);
                    maps.put("fm", 910000000);
                    maps.put("nautilus", 120000000);
                    maps.put("singapore", 540000000);
                    maps.put("sharenian", 990000000);
                    maps.put("horntail", 240060200);
                    maps.put("jrbalrog", 105090900);
                    maps.put("amoria", 680000000);
                    maps.put("guild", 200000301);
                    if (splitted.length != 2) {
                            StringBuilder builder = new StringBuilder("Syntax: @go <mapname>");
                            int i = 0;
                            for (String mapss : maps.keySet()) {
                                if (1 % 10 == 0) {// 10 maps per line
                                    mc.dropMessage(builder.toString());
                                } else {
                                    builder.append(mapss + ", ");
                                }
                            }
                            mc.dropMessage(builder.toString());
                    } else if (maps.containsKey(splitted[1])) {
                        player.changeMap(cserv.getMapFactory().getMap(maps.get(splitted[1])), cserv.getMapFactory().getMap(maps.get(splitted[1])).getPortal(0));
                    } else {
                        mc.dropMessage("WTF ~ GO GET YOUR EYES CHECKED!");
                    }
                } else {
                    mc.dropMessage("You are in jail - don't try escaping.");
                }

    dont forget to compile! you add this to player command .java idk what it is called on the repack your useing~

    Also!

    A Reward System~

    i will make that if you want me 2 pm me! or msn cicktowinya@hotmail.com or aim myhiddenblades

      Current date/time is Fri Apr 19, 2024 2:33 pm