Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Join Date
    Feb 2006
    Location
    Manchester UK
    Posts
    156
    Tokens
    0

    Default

    Quote Originally Posted by Liam.
    You can do it in php aswell.

    PHP Code:
    <?
       $quote
    [1]="Your Text";
       
    $quote[2]="Your Text";
       
    $quote[3]="Your Text";
       
    $random rand(1count($quote));
       echo 
    "$quote[$random]";
    ?>
    Yes Liam, this would be my way of doing it if that code is correct, i'm half asleep "/ but she asked for Javascript so I layed out the Javascript code
    I'm extremely critical and mean..

  2. #12
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    Quote Originally Posted by Raremandan
    Yes Liam, this would be my way of doing it if that code is correct, i'm half asleep "/ but she asked for Javascript so I layed out the Javascript code
    Uherm... Im a boy !! "/ - Sorry my name is a bit girlish. I only really use this name of Habbox
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  3. #13
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    Lol just copy hobtechs:

    var quotes=new Array()

    quotes[0]='"Keep your Habbo Password a well kept secret!"'

    quotes[1]='"Habbo Staff and Hobbas will never ask you for your password."'

    quotes[2]='"Hobbas and Staff members have badges. Either silver and gold stars or a gold diamond. Do not be fooled!"'

    quotes[3]='"A Habbo Staff member or Hobba will never add you to MSN or any other Instant Messaging programs."'

    quotes[4]='"You should never use any scripting, or hacking software within the Hotel!"'

    quotes[5]='"Never pester other Habbos if they do not want to chat to you."'

    quotes[6]='"Never give out your person information, like your password, email address, and any other personals."'

    quotes[7]='"Do not chat to Habbos that make you feel uncomfortable."'

    quotes[8]='"Use the Call For Help feature if you are in need of urgent help. Use the Contact Us form for less urgent stuff!"'

    quotes[9]='"Know a scammer, for have you been scammed? Report the Habbo to Scam Busters!"'

    quotes[10]='"Your password is like your wallet. You do not give it away!"'

    var whichquote=Math.floor(Math.random()*(quotes.length ))
    document.write(quotes[whichquote])

  4. #14
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    i know thats how i learnt about the .JS file. It doesnt matter now though.
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  5. #15
    Join Date
    Aug 2004
    Location
    bristol
    Posts
    3,799
    Tokens
    0

    Latest Awards:

    Default

    What? Something which says a random message?

    Code:
    <script type="text/JavaScript">
    var messages = new Array ('I\'m happy','Habbox Forum is annoying','123 testing');
    var messages_length = messages.length;
    alert(messages[Math.floor(Math.random()*messages_length)]);
    </script>
    kinda quit.

  6. #16
    Join Date
    Aug 2005
    Location
    Tunbridge Wells, Kent
    Posts
    5,063
    Tokens
    1,624

    Latest Awards:

    Default

    Thats random names in the script Nets lol
    Never argue with an idiot, he'll drag you down to his level, and beat you with experience.

    Quote Originally Posted by Recursion
    *oh trust me
    *I would NEVER go ATi
    And 15 mins later...
    Sapphire ATI Radeon HD 5850 1024MB GDDR5 PCI-Express Graphics Card £195.73 1 £195.73
    *ordered.

  7. #17
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    Ive got the script I need know! keep posting IF you want.

    EDIT: I have just geven Steven. +Rep for the script!
    Last edited by Recursion; 13-03-2006 at 07:25 PM.
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  8. #18
    Join Date
    Aug 2005
    Location
    Tunbridge Wells, Kent
    Posts
    5,063
    Tokens
    1,624

    Latest Awards:

    Default

    Or i can Lock thread
    Never argue with an idiot, he'll drag you down to his level, and beat you with experience.

    Quote Originally Posted by Recursion
    *oh trust me
    *I would NEVER go ATi
    And 15 mins later...
    Sapphire ATI Radeon HD 5850 1024MB GDDR5 PCI-Express Graphics Card £195.73 1 £195.73
    *ordered.

  9. #19
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    if you want - Could be stickied under Tutorials?
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  10. #20
    Join Date
    Aug 2005
    Location
    Tunbridge Wells, Kent
    Posts
    5,063
    Tokens
    1,624

    Latest Awards:

    Default

    No Sorry.

    Thread Closed!
    Never argue with an idiot, he'll drag you down to his level, and beat you with experience.

    Quote Originally Posted by Recursion
    *oh trust me
    *I would NEVER go ATi
    And 15 mins later...
    Sapphire ATI Radeon HD 5850 1024MB GDDR5 PCI-Express Graphics Card £195.73 1 £195.73
    *ordered.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •