• Minute / Second Deduction

    From Biohazard@VERT/BIOHAZ to All on Monday, October 02, 2006 11:32:00
    OTE: DCTEdit v0.04 [0]

    Wondering if anyone knows a quick baja code to subtract a integer value from the users minutes / seconds online -- not minutes in the timebank? I
    tried the SUB function but it doesn't actually SET the users time to the
    value after using the SUB function. Any help would be greatly appreciated, thanks.

    Regards,
    Timothy Arnold (Biohazard)
    telnet://biohazmat.ath.cx

    ... "Hugh Jass? Somebody check the mens' room for a Hugh Jass!" -- Moe

    ---
    þ Synchronet þ Biohazmat - biohazmat.ath.cx
  • From Digital Man@VERT to Biohazard on Monday, October 16, 2006 17:21:07
    Re: Minute / Second Deduction
    By: Biohazard to All on Mon Oct 02 2006 11:32 am

    OTE: DCTEdit v0.04 [0]

    You should set SCFG->External Programs->External Editors->DCTEdit->Strip FidoNet Kludge lines to "Yes".

    Wondering if anyone knows a quick baja code to subtract a integer value from the users minutes / seconds online -- not minutes in the timebank? I tried the SUB function but it doesn't actually SET the users time to the value after using the SUB function. Any help would be greatly appreciated, thanks.

    The users time available (left) online is calculated dynamically. It's not stored in some variable that you can modify (via Baja or any other method). There is an "anchor" time-stamp (internally, known as 'starttime'), but it's not currently exposed via Baja or JS.

    There are other ways to deduct time from the user (e.g. the moduser.dat drop file). Perhaps if you gave more details about what you're trying to do, we could give some pointers.

    digital man (xbox-live: digitlman)

    Snapple "Real Fact" #28:
    Chewing gum while peeling onions will prevent you from crying.
    Norco, CA WX: 65.4øF, 63% humidity, 0 mph NNE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Biohazard@VERT/BIOHAZ to Digital Man on Wednesday, October 18, 2006 10:59:00
    Re: Minute / Second Deduction
    By: Digital Man to Biohazard on Mon Oct 16 2006 18:21:00

    OTE: DCTEdit v0.04 [2]
    OTE: DCTEdit v0.04 [0]

    You should set SCFG->External Programs->External Editors->DCTEdit->Strip FidoNet Kludge lines to "Yes".

    Digital Man,

    Thank you -- I'll look into that and fix it.

    Wondering if anyone knows a quick baja code to subtract a integer val
    from the users minutes / seconds online -- not minutes in the timebank? I tried the SUB function but it doesn't actually SET the users time to the value after using the SUB function. Any help would be greatly appreciated thanks.

    The users time available (left) online is calculated dynamically. It's not stored in some variable that you can modify (via Baja or any other method). There is an "anchor" time-stamp (internally, known as 'starttime'), but it's not currently exposed via Baja or JS.

    Thanks for the information -- I wanted to be able to create a program which can deduct a integer amount from the user's online time.

    Regards,
    Timothy Arnold (Biohazard)
    telnet://biohazmat.ath.cx

    ... All files renamed using random characters. Delete children (Y/N)?

    ---
    þ Synchronet þ Biohazmat - biohazmat.ath.cx
  • From Digital Man@VERT to Biohazard on Wednesday, October 25, 2006 18:06:51
    Re: Minute / Second Deduction
    By: Biohazard to Digital Man on Wed Oct 18 2006 10:59 am

    Re: Minute / Second Deduction
    By: Digital Man to Biohazard on Mon Oct 16 2006 18:21:00

    OTE: DCTEdit v0.04 [2]
    OTE: DCTEdit v0.04 [0]

    You should set SCFG->External Programs->External Editors->DCTEdit->Strip FidoNet Kludge lines to "Yes".

    Digital Man,

    Thank you -- I'll look into that and fix it.

    Wondering if anyone knows a quick baja code to subtract a integer val from the users minutes / seconds online -- not minutes in the timebank? tried the SUB function but it doesn't actually SET the users time to th value after using the SUB function. Any help would be greatly appreciat thanks.

    The users time available (left) online is calculated dynamically. It's no stored in some variable that you can modify (via Baja or any other method There is an "anchor" time-stamp (internally, known as 'starttime'), but i not currently exposed via Baja or JS.

    Thanks for the information -- I wanted to be able to create a program which can deduct a integer amount from the user's online time.

    You can adjust their "minutes" field (time bank) with the minutes line of the moduser.dat drop file (read back in when you select xtrn.dat as the drop file format for an external program), but if the user doesn't have any minutes in their minute bank, it won't have any effect on their time available online.

    I don't see a way, in Baja, to deduct time for a user's available time online any other way.

    digital man (xbox-live: digitlman)

    Snapple "Real Fact" #79:
    There are 119 grooves on the edge of a quarter.
    Norco, CA WX: 71.2øF, 51% humidity, 0 mph WNW wind, 0.04 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Biohazard@VERT/BIOHAZ to Digital Man on Sunday, October 29, 2006 13:43:00

    You can adjust their "minutes" field (time bank) with the minutes line of th moduser.dat drop file (read back in when you select xtrn.dat as the drop fil format for an external program), but if the user doesn't have any minutes in their minute bank, it won't have any effect on their time available online.

    I don't see a way, in Baja, to deduct time for a user's available time onlin any other way.

    Rob,

    Sorry about the delayed response -- been really busy with work, wife and BBS (not in that particular order though <g>).

    Thanks for the information on the user online time -- I think I may not
    be able to do what I was planning on doing using the suggestion you mentioned. Thanks again though.

    Regards,
    Timothy Arnold (Biohazard)
    telnet://biohazmat.ath.cx

    ... "...death awaits you all with big and nasty pointy teeth."

    ---
    þ Synchronet þ Biohazmat - biohazmat.ath.cx