Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ Hey guys long time no see, question.
Hey guys long time no see, question.
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Rob Harper
(108 posts) Bio
|
Date
| Sun 14 Dec 2003 07:11 AM (UTC) |
Message
| Hey I was wondering how would I go about having a variable I create lets call it ahh rank, add 1 to it every six hours they play? This is not how I'm using it but just an example.
Thanks | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sun 14 Dec 2003 08:57 PM (UTC) |
Message
| In one of the "heartbeat" functions check how many hours they have been playing (I'm not sure, that might be there already), and divide it by 6. If the result is more than there current "rank", add one to it. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Rob Harper
(108 posts) Bio
|
Date
| Reply #2 on Mon 22 Dec 2003 08:20 AM (UTC) |
Message
| Thanks nick, I think I got it..I'll know soon enough, heh you'll have to stop by and check out my finished work when it's done. | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
10,842 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top