בבקשה
קוד PHP:
/*
made by tomitomf(kill1900)
*/
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) {
cm.sendOk("Wow u Good ! =] Good luk On BladeMs!!! ");
cm.dispose();
return;
}
if (mode == 1)
status++;
else
status--;
if (status == 0) {
cm.sendNext("Welcome to BladeMs!");
}else if(status == 1){
cm.sendSimple("Hey select what do u want to do:\r\n#L0#Do u want lost 50 Rebirth are u did and get #v1112809# +30k all stats?#l\r\n#L1#Do u want check how much Rebirh u did?#l");
}else if(status == 2){
if(selection == 0){
if(cm.getPlayer().getReborns() >= 50){
cm.getPlayer().setReborns(cm.getPlayer().getReborns() - 50);
cm.makeProItem(1112809,30000);
cm.dispose();
}else{
cm.sendOk("Checking ..... Xd \r\n\r\nwow u dont have 50 Rebirth go check how u have and work");
cm.dispose();
}
return;
}
if(selection == 1){
cm.sendNext("I Checking u Rebirth Please Wait... ");
}
}else if(status == 3){
cm.sendOk("You have "+cm.getPlayer().getReborns()+" Rebirthes.");
cm.dispose();
}
}
}