Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-15-2009, 08:02 PM
rosepose rosepose is offline
Member
 
Join Date: Jan 2009
Posts: 127
Credits: 10,630
rosepose
Default No Clicks at all?

I'm trying to teach myself PHP, and I was wondering which bits of the script contain parts that determine when the adoptable levels up, and how hard that would be to change to no clicks? I'm trying to get it to change after a certain amount of time, you see, like this:
PHP Code:
if ($date XX) {

  foreach (
$variation->age as $age) {
         if (
$age['date'] == "a") {
              
$pickedAge=$age;
         }
    }
}

  else if (
$date XX && $date >= XX) {

  foreach (
$variation->age as $age) {
         if (
$age['date'] == "b") {
              
$pickedAge=$age;
         }
    }
}

  else if (
$date >= XX) {

  foreach (
$variation->age as $age) {
         if (
$age['date'] == "c") {
              
$pickedAge=$age;
         }
    }
}

else {
echo 
"Cannot find that age";

Rather than with clicks, because the main thing that appeals to me about this script is that you can put your adoptables on an account. Even as the admin of my site, I'm still finding it hard to get mine to level up.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Freeze ONLY the evolution, not the clicks dulop Questions and Supports 2 09-28-2012 10:29 AM
Limit amount of clicks per day SilverDragonTears Questions and Supports 15 11-29-2011 11:50 AM
Limit clicks/day to 10 sensacion Questions and Supports 1 07-02-2011 05:15 AM
Days Instead of Clicks alonaria Suggestions and Feature Requests 7 06-25-2011 05:27 AM
Limit clicks/day to 10, for each pet? Quillink Questions and Supports 9 02-08-2010 02:35 PM


All times are GMT -5. The time now is 03:43 AM.

Currently Active Users: 9770 (0 members and 9770 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636