Subj : Re: user.adjust_minutes -- Not working..?
To : Noisome Poison
From : Digital Man
Date : Fri Jun 19 2009 02:20 pm
Re: Re: user.adjust_minutes -- Not working..?
By: Noisome Poison to Digital Man on Fri Jun 19 2009 01:52 pm
> > user.adjust_minutes() is the correct function to call to add or subtract
> > minutes from the user's time bank. You need to understand that you
> > cannot subtract from the number of minutes that the user is given based
> > on their security level using this function. What this function/method
> > does is add or subtract from the user's "time bank", which normally has
> > 0 minutes in. And you cannot go less than 0. This time bank is
> > automatically added to their available time online.
> >
>
> I did not realize it was for the time bank. I read the source to find out
> the different commands I can use and I did not see in the help that it was
> to remove from the time bank. Thanks!
"Time bank" was never the official term (for Synchronet) - I used "minutes".
They're like credits. You can buy "minutes" (with credits), for example. I know
it's confusing and I'll see about using the term "time bank" more to clarify
the usage of user "minutes".
> > What you probably want to do instead is adjust the bbs.start_time
> > property (in seconds). The user's time online is based on their time per
> > day, time per call, minutes (time bank), the current time, and this
> > start time value. By adjusting the start time value you change their
> > available time for the current "call".
> Okay, excellent. I did use the bbs.start_time property and it works.
Ah, good.
> Thank you very much for the help.
No problem.
digital man
Snapple "Real Fact" #41:
Shrimp can only swim backward.
---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net