why not try PHP instead?
PHP Code:
$random = rand(1,50);
if($random >1 && $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.