Fun NPC

Page 1 of 2 12 LastLast
Results 1 to 15 of 23
  1. #1
    Valued Member ^^^ is offline
    MemberRank
    Aug 2009 Join Date
    124Posts

    Fun NPC

    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 Code:
    public void ban() {
        
    ban("NPC");

    Last edited by ^^^; 01-07-10 at 10:59 PM.


  2. #2
    wackyracer#1337 wackyracer is offline
    MemberRank
    Jun 2008 Join Date
    1,524Posts

    Re: Fun NPC

    lolwut

  3. #3
    Account Upgraded | Title Enabled! billabonker is offline
    MemberRank
    Feb 2008 Join Date
    YouTube :)Location
    360Posts

    Re: Fun NPC

    win
    post too short

  4. #4
    Account Upgraded | Title Enabled! jbird4242 is offline
    MemberRank
    Jul 2008 Join Date
    379Posts

    Re: Fun NPC

    ..Is there any point to this npc?

  5. #5
    Alpha Member XxОsirisxX is offline
    MemberRank
    Aug 2009 Join Date
    2,727Posts

    Re: Fun NPC

    Quote Originally Posted by jbird4242 View Post
    ..Is there any point to this npc?
    The fun?

  6. #6
    Account Upgraded | Title Enabled! Auku1 is offline
    MemberRank
    Mar 2008 Join Date
    204Posts

    Re: Fun NPC

    Quote Originally Posted by ^^^ View Post
    Code:
            cm.getPlayer().ban();
    epic coding.

  7. #7
    return null; mertjuh is offline
    MemberRank
    Dec 2008 Join Date
    The NetherlandsLocation
    1,269Posts

    Re: Fun NPC

    wtf?.

  8. #8
    Account Upgraded | Title Enabled! hindie is offline
    MemberRank
    Jun 2010 Join Date
    253Posts

    Re: Fun NPC

    Quote Originally Posted by Auku1 View Post
    epic coding.
    i dont think you have the function anyway, might work for some source
    Last edited by hindie; 01-07-10 at 09:43 AM.

  9. #9
    offonline King Grub is offline
    MemberRank
    Aug 2009 Join Date
    Spring fieldLocation
    3,303Posts

    Re: Fun NPC

    look! he can use arrays...

  10. #10
    while(true) spam(); kevintjuh93 is offline
    MemberRank
    Jun 2008 Join Date
    The NetherlandsLocation
    4,119Posts

    Re: Fun NPC

    Quote Originally Posted by pirateowh View Post
    look! He can use arrays...
    look i can too

  11. #11
    Gamma Samus. is offline
    MemberRank
    Jun 2008 Join Date
    wvndesign.nlLocation
    3,216Posts

    Re: Fun NPC

    It can say what day it is and ofc, ban you.

  12. #12
    Account Upgraded | Title Enabled! Sactual is offline
    MemberRank
    Jan 2010 Join Date
    Hong KongLocation
    212Posts

    Re: Fun NPC

    On Saturday we are banned. post2short

  13. #13
    Account Upgraded | Title Enabled! billabonker is offline
    MemberRank
    Feb 2008 Join Date
    YouTube :)Location
    360Posts

    Re: Fun NPC

    Quote Originally Posted by Sactual View Post
    On Saturday we are banned. post2short
    it aint post2short at all. use it when you has less than 10 characters in your post. /end

  14. #14
    Account Upgraded | Title Enabled! jadeling is offline
    MemberRank
    Jul 2008 Join Date
    706Posts

    Re: Fun NPC

    I will get banned after two moar days?

  15. #15
    Member istuck is offline
    MemberRank
    Jan 2009 Join Date
    55Posts

    Re: Fun NPC

    function action (moo, says, cow) {

    Epic coding too! =]



Page 1 of 2 12 LastLast

Advertisement