View Single Post
  #4  
Old 03-13-2012, 02:41 AM
mapleblade mapleblade is offline
Epicness sausage
 
Join Date: May 2009
Posts: 180
Gender: Male
Credits: 20,885
mapleblade
Default

why not try PHP instead?
PHP Code:
$random rand(1,50);

if(
$random >&& $random 20){
$article_title "You found a Rock";
$article_content "You only found a rock, <a href="explore.php">Head on</a>";
// possible query, or -1 steps query
}
elseif(
$random =>21 && $random =< 40){
$article_title "You found a Flower";
$article_content "You only found a flower, <a href="explore.php">Head on</a>";
// possible query, or -1 steps query
}
elseif(
$random =>41 && $random =< 49){
// potion recieve query
$article_title "You found a Potion";
$article_content "You only found a potion, <a href="explore.php">Head on</a>";

}
elseif(
$random == 50){
// potion recieve query
$article_title "You found a rare adoptable";
$article_content "You found a rare adoptable hiding in the bushes, he seems to like you, and you take him home, it looks like his species is ADOPTABLE <a href="explore.php">Head on</a>";

}else{
$article_content "Error";
$article_title "There went something wrong.";

This will also stop spamming the page that u find an adoptable, since its not /1.html but all on the same page.
__________________
Need coding help? send me a PM! :)

Last edited by mapleblade; 03-13-2012 at 02:52 AM.
Reply With Quote