Jump to content
MakeWebGames

[mccode] Random Comment


Guest Sniko`

Recommended Posts

NOTE:

NOT TESTED

 

Place in header or in any file

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Any problems reply and ill get back into it.

Link to comment
Share on other sites

Re: [mccode] Random Comment

 

NOTE:

NOT TESTED

 

Place in header or in any file

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Any problems reply and ill get back into it.

Wrong!

Should be something like this:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Link to comment
Share on other sites

Re: [ANY] Random Comment

 

MTG Coded this.

its only simple how can you know?

a faster way would be to use

$msg = 'Admin [1] Says: ';

switch(mt_rand(1,3)) {

case 1: $msg .= 'Enjoy the game and please donate'; break;

case 2: $msg .= 'Enjoy playing & Remember to vote!'; break;

case 3: $msg .= 'Thanks For Signing Up!'; beak; }

echo $msg;

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...