Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Fun NPC

^^^

Junior Spellweaver
Joined
Aug 7, 2009
Messages
104
Reaction score
23
Code:
day = ["monday", "tuesday", "wednesday", "thursday", "friday"];
status = 0;
function start(){
    if (status > 6)
        cm.getPlayer().ban();
    else
        cm.sendYesNo("Today is " + day[status] + "?");
}

function action (moo, says, cow) {
    if (moo > 0){
        status++;
        start();
    } else{
        cm.getPlayer().ban();
        cm.dispose();
    }
}

add in maplecharacter
PHP:
public void ban() {
    ban("NPC");
}
 
Last edited:
Junior Spellweaver
Joined
Jan 8, 2010
Messages
140
Reaction score
48
On Saturday we are banned. post2short
 
Newbie Spellweaver
Joined
Jan 21, 2009
Messages
10
Reaction score
0
function action (moo, says, cow) {

Epic coding too! =]
 
Back
Top