[Release]Donator NPCs

Fixed some errors. What a waste of my life. 10 seconds.
PHP:
var status = 0;  
var mapid = PUTMAPIDHERE;

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

function action(mode, type, selection) {  
       
    if (mode == -1) {  
        cm.dispose();  
    }  
    else {   
        if (status >= 2 && mode == 0) {   
            if(cm.getChar().isDonator() == true) { //checks for donator
            cm.sendYesNo("Would you like to go to the donator map?");   
            cm.warp(mapid,0);
            cm.dispose(); 
        }else if (status == 1) { 
        cm.sendOk("Alright then, happy Mapling!");
        cm.dispose();
        }
       }
     }
And

PHP:
var status = 0;  
var mapid = PUTHENESYSMAPIDHERE;

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

function action(mode, type, selection) {  
       
    if (mode == -1) {  
        cm.dispose();  
    }  
    else {   
        if (status >= 2 && mode == 0) {   
            if(cm.getChar().isDonator() == true) { //checks for donator
            cm.sendSimple("I am the donator NPC for ThisMS. Please choose what you would like to do. #L0#Can you summon some super EXP snails for me?#l#\r\n#L1#Warp me to Henesys, please.");   
            cm.spawnMonster(100**** 1, 1, 1, 2000000, 0, 0, 10, 655, -146);
            cm.dispose();  
} 
            }else{
            if (status = 1) {
            cm.sendOK("Alrighty, come back later.");
            cm.warp(mapid,0);
            cm.dispose();
            }
        }
}
 
Fixed some errors. What a waste of my life. 10 seconds.
PHP:
var status = 0;  
var mapid = PUTMAPIDHERE;

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

function action(mode, type, selection) {  
       
    if (mode == -1) {  
        cm.dispose();  
    }  
    else {   
        if (status >= 2 && mode == 0) {   
            if(cm.getChar().isDonator() == true) { //checks for donator
            cm.sendYesNo("Would you like to go to the donator map?");   
            cm.warp(mapid,0);
            cm.dispose(); 
        }else if (status == 1) { 
        cm.sendOk("Alright then, happy Mapling!");
        cm.dispose();
        }
       }
     }
And

PHP:
var status = 0;  
var mapid = PUTHENESYSMAPIDHERE;

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

function action(mode, type, selection) {  
       
    if (mode == -1) {  
        cm.dispose();  
    }  
    else {   
        if (status >= 2 && mode == 0) {   
            if(cm.getChar().isDonator() == true) { //checks for donator
            cm.sendSimple("I am the donator NPC for ThisMS. Please choose what you would like to do. #L0#Can you summon some super EXP snails for me?#l#\r\n#L1#Warp me to Henesys, please.");   
            cm.spawnMonster(100**** 1, 1, 1, 2000000, 0, 0, 10, 655, -146);
            cm.dispose();  
} 
            }else{
            if (status = 1) {
            cm.sendOK("Alrighty, come back later.");
            cm.warp(mapid,0);
            cm.dispose();
            }
        }
}

Forgot the bracket.
 
@Iwannawin
Good fix for the noobies(who can't even figure out a bracket missing.

@msdartz
Apperently I think you shouldn't let others know about the 1 bracket missing
 
From all the posts up to this point ;;
Either the flame shield is very efficient, or your releases are spectacular :thumbup:

Thanks for the release, but I wonder; is there a reason for you to choose a snail, or perhaps it was the first thing that came to your mind? :laugh:
 
Back