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 codeOriginally Posted by Liam.
![]()

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 codeOriginally 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(1, count($quote));
echo "$quote[$random]";
?>![]()
I'm extremely critical and mean..
Uherm... Im a boy !! "/ - Sorry my name is a bit girlish. I only really use this name of HabboxOriginally 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
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])
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.
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.
And 15 mins later...Originally Posted by Recursion
*oh trust me
*I would NEVER go ATi
Sapphire ATI Radeon HD 5850 1024MB GDDR5 PCI-Express Graphics Card £195.73 1 £195.73
*ordered.
Or i can Lock thread
Never argue with an idiot, he'll drag you down to his level, and beat you with experience.
And 15 mins later...Originally Posted by Recursion
*oh trust me
*I would NEVER go ATi
Sapphire ATI Radeon HD 5850 1024MB GDDR5 PCI-Express Graphics Card £195.73 1 £195.73
*ordered.
No Sorry.
Thread Closed!
Never argue with an idiot, he'll drag you down to his level, and beat you with experience.
And 15 mins later...Originally Posted by Recursion
*oh trust me
*I would NEVER go ATi
Sapphire ATI Radeon HD 5850 1024MB GDDR5 PCI-Express Graphics Card £195.73 1 £195.73
*ordered.
Want to hide these adverts? Register an account for free!