[Add-on] Semi-Karaoke NPC

Results 1 to 12 of 12
  1. #1
    Alpha Member XxОsirisxX is offline
    MemberRank
    Aug 2009 Join Date
    2,727Posts

    [Add-on] Semi-Karaoke NPC

    Hello RaGEZONE, this NPC comes to you guys since I lost another bet with Moogra... and I was so close to win that.. oh well...

    Moogra sent me a video in YouTube of his favorite song and it resulted to be "You Belongs With Me" from Taylor Swift, which gave me an idea for this bet that I just lost, so I had to release.

    The NPC is: 9201022

    So this is meant to be in the file: 9201022.js

    NPC:

    Spoiler:

    PHP Code:
    status = -1;

    function 
    start() {
        if (
    cm.getPlayer().getLevel() > 1) {
            
    cm.sendYesNo("Hey, I'm Thomas Swift, I am the cousin of Taylor Swift, the famous artist that has become popular around the kiddos with her lovely songs. I have a problem, and is that I promised to her that I will sang one of her songs for her but I was eating fried pork and it ruined my throat, so I wants to fix my vocals. Can you help me?");
        } else {
            
    cm.sendNext("... Get away from me you person taht lacks of money!");
            
    cm.dispose();
        }
    }

    function 
    action(modetypeselection) {
        if (
    mode 0) {
            
    status++;
            if (
    status == 0) {
                
    cm.sendNext("Okay, let's start with \"You Belongs With Me\" song.\r\n\r\n1..\r\n2..\r\n3..");
            } else if (
    status == 1) {
                
    cm.sendNext("*Chan Chan Chan Chan Chan Chan Chan Chan Chan*\r\n*Chan Chan Chan Chan Chan Chan Chan Chan Chan*");
            } else if (
    status == 2) {
                
    cm.sendSimple("You're on the phone with your girlfriend...#b\r\n#L0#she's bitching.\r\n#L1#she's upset.#L2#she's talking a lot.");
            } else if (
    status == 3) {
                if (
    selection == 1) {
                    
    cm.sendSimple("She's going off about something that you said 'Cause she doesn't get your humor like...#b\r\n#L0#I do.#L1#Mom do.#L2#Scooby do.");
                } else {
                    
    youFailedAtSinging("Is that the way to treat your girlfriend? You have no respect from me..");
                }
            } else if (
    status == 4) {
                if (
    selection == 0) {
                    
    cm.sendGetText("I'm in the room, it's a typical Tuesday night I'm listening to the kind of music she doesn't like And ...");
                } else {
                    
    youFailedAtSinging("Don't you have to do something else?");
                }
            } else if (
    status == 5) {
                if (
    cm.getText().equals("she'll never know your story like I do")) {
                    
    cm.sendNext("But she wears short skirts, I wear T-shirts\r\nShe's Cheer Captain and I'm on the bleachers\r\nDreaming about the day when you wake up and find\r\nThat what you're looking for has been here the whole time\r\n\r\nIf you could see that I'm the one who understands you\r\nBeen here all along, so why can't you see?\r\nYou, you belong with me, you belong with me\r\n\r\nWalking the streets with you and your worn-out jeans\r\nI can't help thinking this is how it ought to be\r\nLaughing on a park bench, thinking to myself\r\nHey, isn't this easy?\r\n\r\nAnd you've got a smile that could light up this whole town\r\nI haven't seen it in a while since she brought you down\r\nYou say you're fine, I know you better than that\r\nHey, what ya doing with a girl like that?\r\n\r\nShe wears high heels, I wear sneakers\r\n[ From: http://www.elyrics.net/read/t/taylor-swift-lyrics/you-belong-with-me-lyrics.html ]\r\nShe's Cheer Captain and I'm on the bleachers\r\nDreaming about the day when you wake up and find\r\nThat what you're looking for has been here the whole time\r\n\r\nIf you could see that I'm the one who understands you\r\nBeen here all along, so why can't you see?\r\nYou belong with me\r\n\r\nStanding by and waiting at your back door\r\nAll this time how could you not know?\r\nBaby, you belong with me, you belong with me\r\n\r\nOh, I remember you driving to my house in the middle of the night\r\nI'm the one who makes you laugh when you know you're 'bout to cry\r\nAnd I know your favorite songs and you tell me 'bout your dreams\r\nThink I know where you belong, think I know it's with me\r\n\r\nCan't you see that I'm the one who understands you?\r\nBeen here all along, so why can't you see?\r\nYou belong with me\r\n\r\nStanding by and waiting at your back door\r\nAll this time, how could you not know?\r\nBaby, you belong with me, you belong with me\r\n\r\nYou belong with me\r\nHave you ever thought just maybe\r\nYou belong with me?\r\nYou belong with me");
                } else {
                    
    youFailedAtSinging("Ermm, you know, I think the pork flushed into my stomach already, I can handle it... Take this for the food.");
                    
    cm.gainMeso(5);
                }
            } else if (
    status == 6) {
                
    cm.sendAcceptDecline("Wow, that was intense.. don't you think? You sing incredible... But I thinks the pork is still in the tip of my throat, care to put your tongue in my mouth and reach to my throat to push the piece of pork so I can sing better?");
            } else if (
    status == 7) {
                
    cm.sendNext("Awwww, so sweet... You can keep it there if you wish :>\r\n\r\n#b(You feel so manly that you just level up)");
                
    cm.getPlayer().levelUp();
                
    cm.dispose();
            }
        } else {
            if (
    status == -1) {
                
    youFailedAtSinging("You're such a souless boy. I bet you mom gave you birth vomiting.");
            } else if (
    status == 6) {
                
    youFailedAtSinging("You're such an insensible person... I hate you! *cry*\r\n\r\n#b(#p#9201022# feelings has been broken, and so your heart did... that you would love to go back in time, and that feeling was so strong, that you went back in time and lost 1 level.)");
                
    cm.getPlayer().setLevel(cm.getPlayer().getLevel() - 1);
            } else {
                
    cm.dispose();
            }
        }
    }

    function 
    youFailedAtSinging(song) {
        
    cm.sendNext(song);
        
    cm.dispose();



  2. #2
    Banned Sublime is offline
    BannedRank
    Dec 2010 Join Date
    On your shouldeLocation
    1,040Posts

    Re: [Add-on] Semi-Karaoke NPC

    Oh. cool.

  3. #3
    Interesting... SharpAceX is offline
    MemberRank
    Oct 2008 Join Date
    2,011Posts

    Re: [Add-on] Semi-Karaoke NPC

    What is this I don't even....

  4. #4
    Account Upgraded | Title Enabled! Nmb1Gamer is offline
    MemberRank
    Apr 2009 Join Date
    Anime HeavenLocation
    383Posts

    Re: [Add-on] Semi-Karaoke NPC

    My mind couldn't handle the awesome D:

  5. #5
    Enthusiast Alexander I is offline
    MemberRank
    Feb 2012 Join Date
    31Posts

    Re: [Add-on] Semi-Karaoke NPC

    This was pretty funny. How long do you think you'll keep losing like this? :P

  6. #6
    Account Upgraded | Title Enabled! StripedCow is offline
    MemberRank
    Jun 2011 Join Date
    813Posts

    Re: [Add-on] Semi-Karaoke NPC

    nice rls i use 4 my srvr

  7. #7
    Apprentice iMapleEdit is offline
    MemberRank
    Jan 2012 Join Date
    21Posts

    Re: [Add-on] Semi-Karaoke NPC

    I read the options and it made my day. LOL

  8. #8
    Account Upgraded | Title Enabled! AuroX is offline
    MemberRank
    Sep 2008 Join Date
    1,431Posts

    Re: [Add-on] Semi-Karaoke NPC

    I was curious here...youFailedAtSinging was sent, where the cm.dispose() was already sent, how can the player's level being dropped by 1 or gain 5 mesos? :O Correct me if I'm wrong.

  9. #9
    Ass > Tits Lapje is offline
    MemberRank
    Feb 2009 Join Date
    nullLocation
    1,879Posts

    Re: [Add-on] Semi-Karaoke NPC

    It executes everything within the block even if you dispose on top.

    so
    PHP Code:
    if (true) {
       
    cm.dispose();
       
    cm.gainMeso(5);
       
    cm.sendOk("Here you go, 5 Meso!");

    Would still work and give you 5 meso and the chat =]. Just because youFailedAtSinging is in another function doesn't mean it works different.
    Last edited by Lapje; 27-02-12 at 11:33 AM. Reason: Aweful grammar @_@

  10. #10
    ♥Fatal|Error♥ JungleByte is offline
    MemberRank
    Oct 2009 Join Date
    Singapore, SingLocation
    1,096Posts

    Re: [Add-on] Semi-Karaoke NPC

    Can screenshot be provided ? Much appreciated . (:

  11. #11
    Can't kilean the zilean Darksta is offline
    MemberRank
    Oct 2010 Join Date
    Down undah mateLocation
    1,582Posts
    LOL. So. When do you ever win ? Haha
    Sent from my HTC Vision using Tapatalk

  12. #12
    Yuki Zygon is offline
    MemberRank
    Aug 2008 Join Date
    IllinoisLocation
    1,208Posts

    Re: [Add-on] Semi-Karaoke NPC

    Darn, I could of sworn the lyrics went Scooby Do.

    I lol'd:
    [ From: http:/ /ww w.elyrics.net/read/t/taylor-swift-lyrics/you-belong-with-me-lyrics.html ]

    Edit:
    Here is for everyone to remember the lyrics:
    http://www.infinitelooper.com/?v=VuNIsY6JdUw
    Last edited by Zygon; 28-02-12 at 03:21 AM.



Advertisement