Subj : Re: user.adjust_minutes -- Not working..?
To   : Digital Man
From : Noisome Poison
Date : Thu Jun 18 2009 08:33 am

>
> I'm not really sure what you're trying to do.
>
> The user.get_time_left() function requires an argument which indicates the
> start time (e.g. login time) to base the time-left calculation on. If the
> user represented by the 'user' object when this script is run has the 'T'
> exemption, then the user.get_time_left() return value is never going to
> change and the start-time argument value (if supplied) is irrelevant. You
> need to make sure the account doesn't have the 'T' exemption if you
> actually want the user.adjust_minutes() call to have an effect.
>
> The bbs.get_time_left() return value will also not change if the current
> user has the 'T' exemption.
>
>                                             digital man
>
> Snapple "Real Fact" #180:
> The first VCR was made in 1956 and was the size of a piano.
>
> ---
>  � Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net

I'm just trying to reduce the user's time by five or ten minutes when a
program is run.  The get_time_left I was using was just to verify that the
time has changed, and will be removed later on.  Is there a better option to
get the remaining time of the user than "bbs/user.get_time_left"?

Sorry for my ignorance, but what is the 'T' exemption?  I have changed
everyone's level to the default level 15, with 15 minutes per day and a
maximum of 15 minutes per call, and the user I'm testing this on is on that
level, a regular user account.

The door itself is not set on suspend time as well.

Thanks for your help!

Jeff

---
� Synchronet � Digital 52 - bbs.digital52.com