Subj : Re: user.adjust_minutes -- Not working..?
To : Digital Man
From : Noisome Poison
Date : 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!
> 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".
>
> digital man
Okay, excellent. I did use the bbs.start_time property and it works.