Results 1 to 12 of 12

Thread: Help my friend get laid     submit to reddit submit to twitter

  1. #1
    Bagel
    Join Date
    Oct 2006
    Posts
    1,228
    BG Level
    6

    Help my friend get laid

    [18:43] Beebo: hey man
    [18:43] Beebo: wanna help this girl script?
    [18:43] Redmonkey842: hey
    [18:43] Redmonkey842: i dont know shit about scripting anymore lol
    [18:43] Beebo: she's trying to write a piece of javascript code that takes text input and checks to see if it's a palindrome
    [18:43] Redmonkey842: unless the reward is you getting some, then i would help
    [18:43] Beebo: hahah yeah dude i'll get my D wet if you do it
    [18:43] Beebo: and then displays a text box saying whether it is or not
    [18:43] Beebo: can you do that?
    [18:44] Redmonkey842: hmm
    [18:44] Redmonkey842: give me abit and ill try
    [18:44] Beebo: it would involve an array index





    Please help.

  2. #2
    Banned.

    Join Date
    Oct 2006
    Posts
    10,115
    BG Level
    9

    Re: Help my friend get laid

    I can do it in C >.>

  3. #3
    Banned.

    Join Date
    Aug 2006
    Posts
    3,113
    BG Level
    7

    Re: Help my friend get laid

    how sad

  4. #4
    Banned.

    Join Date
    Oct 2006
    Posts
    10,115
    BG Level
    9

    Re: Help my friend get laid

    Or better (or rather worse, I has can google)

    http://webdeveloper.earthweb.com/webjs/ ... 011_viewit


    -.-

  5. #5
    blax n gunz
    Join Date
    May 2005
    Posts
    11,141
    BG Level
    9

    Re: Help my friend get laid

    Is this a homework thread with a twist?

    How hard is it to reverse the characters in a string and use strcmp? Jesus Christ.

  6. #6
    Bagel
    Join Date
    Oct 2006
    Posts
    1,228
    BG Level
    6

    Re: Help my friend get laid

    Just my friend in college. He's kidding about the laid part and just helping out a friend. The threads name gets attention though.

  7. #7
    Banned.

    Join Date
    Oct 2006
    Posts
    10,115
    BG Level
    9

    Re: Help my friend get laid

    Nobody is getting laid?, hmmm fucking losers.

    What does that example I posted have this:
    Code:
    function MakeArray(n) {
    
      this.length = n;
    
      for (var i = 1;i <= n; i++) {
    
        this[i] =0
    
      }
    
      return this;
    
    }

    I is javascript noob, plz halp.

  8. #8
    Old Merits
    Join Date
    Sep 2005
    Posts
    1,213
    BG Level
    6

    Re: Help my friend get laid

    Quote Originally Posted by Tajin
    Nobody is getting laid?, hmmm fucking losers.

    What does that example I posted have this:
    Code:
    function MakeArray(n) {
    
      this.length = n;
    
      for (var i = 1;i <= n; i++) {
    
        this[i] =0
    
      }
    
      return this;
    
    }

    I is javascript noob, plz halp.
    I don't know javascript, but it seems to have just about the exact same syntax as C++, (at least in this excerpt) so that function will make an array of length n, (n is the number you'd input when you call the function) and make all of its entries "0". Its just a basic initialization function, so that when you make an array its filled with something, and doesn't have empty array indexes, which can lead to some really weird stuff.

  9. #9
    Banned.

    Join Date
    Oct 2006
    Posts
    10,115
    BG Level
    9

    Re: Help my friend get laid

    I mean what it did in that code, it seemed to do nothing. And well i just commented the script in the html and surely it worked, extra code FTW.

  10. #10
    Sea Torques
    Join Date
    Dec 2007
    Posts
    523
    BG Level
    5

    Re: Help my friend get laid

    DUDE YOU RICKROLLED ME AT SCHOOL I WAS SO SAD

  11. #11
    Banned.

    Join Date
    Oct 2006
    Posts
    10,115
    BG Level
    9

    Re: Help my friend get laid

    wth? >.>

  12. #12
    Banned.

    Join Date
    Aug 2006
    Posts
    3,113
    BG Level
    7

    Re: Help my friend get laid

    Quote Originally Posted by Tajin
    wth? >.>
    OP's sig

Similar Threads

  1. Help: Crazy Friend
    By Royal in forum General Discussion
    Replies: 55
    Last Post: 2008-01-18, 16:44
  2. new family guy dvd posted by my friend
    By Almaa in forum General Discussion
    Replies: 25
    Last Post: 2005-10-03, 19:01
  3. vote for my friends dog :(
    By Zigma in forum General Discussion
    Replies: 19
    Last Post: 2005-08-06, 14:32
  4. My friends owned Songokou for Valkrum Emperor
    By Morfos in forum General Discussion
    Replies: 6
    Last Post: 2004-12-28, 00:56