集めたらGM職になれるNPC

Go down

集めたらGM職になれるNPC

投稿 by 構築さん on 2014-05-30, 09:24

Code:
/*
GM Roar
Made By iTzLanders
*/
var status = 0;

function start() {
cm.sendSimple (
"Welcome #h #, I am ServerName GM Roar Teacher.. "+
"GM Roar is the Great Attack..\r\n " +
"If you have these items u can get it.\r\n"+
"#L0# 20 #v2049100#, 1 #v1122001#, 1 #v1122002#,1 #v1122003#,1 #v1122004#,1 #v1122005#, 1 #v1122006, \r\n\r\n"+
"1 #v1002140#, 1 #v1042003#, 1 #v1062007#, 1 #v1322013#, 50,000 #v4001126,\r\n"+
"100,000 #v4031039# and #b32767 Stats#k"
);
}

function action(mode, type, selection) {
if (selection == 0) {
if (cm.getPlayer().getStr() > 32000 && cm.getPlayer().getDex() > 32000 && cm.getPlayer().getInt() > 32000 && cm.getPlayer().getLuk() > 32000 && cm.haveItem(4031306, 20) && cm.haveItem(1122001, 1) && cm.haveItem(1122002, 1) && cm.haveItem(1122003, 1) && cm.haveItem(1122004, 1) && cm.haveItem(1122005, 1) && cm.haveItem(1122006, 1) && cm.haveItem(1002140, 1) && cm.haveItem(1042003, 1) && cm.haveItem(1062007, 1) && cm.haveItem(1322013, 1) && cm.haveItem(4001126, 50000) && cm.haveItem(4031039, 100000)) {
cm.gainItem(4031306, -20);
cm.gainItem(1122001, -1);
cm.gainItem(1122002, -1);
cm.gainItem(1122003, -1);
cm.gainItem(1122004, -1);
cm.gainItem(1122005, -1);
cm.gainItem(1122006, -1);
cm.gainItem(1002140, -1);
cm.gainItem(1042003, -1);
cm.gainItem(1062007, -1);
cm.gainItem(1322013, -1);
cm.gainItem(4031305, -50000);
cm.gainItem(4031039, -100000);
cm.getPlayer().setStr(4);
cm.getPlayer().setDex(4);
cm.getPlayer().setLuk(4);
cm.getPlayer().setInt(4);
cm.changeJobById(900);
cm.dispose();
} else {
cm.sendOk("You do not have the required items, come back when you do, or just don't come back :) I am ServerName Assistant<3");
cm.dispose();
}
}
}
avatar
構築さん
Admin

Posts : 193
Join date : 2014/05/29

http://maplescience.forumjap.com

トップに戻る Go down

トップに戻る


 
Permissions in this forum:
返信投稿: 不可