• adjust_user_minutes

    From Bigjoe@VERT/BLUETHR to All on Sun Jan 30 14:03:00 2005
    Ok, sense I dind't get a reply, well Then I'll ask again, I still need to know how subtract a int_var that does have a value in it from the users current time left

    add bmins dopmins #This saves the adds it for later use

    adjust_user_minutes -dopmins #This line doesn't work. How do I subtract this
    from the users time left or minutes left


    Thanks

    Joe



    ---
    ■ Synchronet ■ Blue Thunder - bluethunder.dtdns.net or bluethr.synchro.net
  • From Angus Mcleod@VERT/ANJO to Bigjoe on Sun Jan 30 19:34:00 2005
    Re: adjust_user_minutes
    By: Bigjoe to All on Sun Jan 30 2005 14:03:00

    Ok, sense I dind't get a reply, well Then I'll ask again, I still need to kn how subtract a int_var that does have a value in it from the users current t left

    add bmins dopmins #This saves the adds it for later use

    adjust_user_minutes -dopmins #This line doesn't work. How do I subtract th
    from the users time left or minutes left

    Ok, well 'sense' I know of two posts giving detailed explanations of what
    to do, one from myself and another from Digital man himself, I'll not
    bother to respond again!


    ---
    ■ Synchronet ■ Where we BAJA Rob into writing our modules. The ANJO BBS
  • From Bigjoe@VERT/BLUETHR to Angus Mcleod on Sun Jan 30 21:05:00 2005
    Re: adjust_user_minutes
    By: Angus Mcleod to Bigjoe on Sun Jan 30 2005 07:34 pm

    Re: adjust_user_minutes
    By: Bigjoe to All on Sun Jan 30 2005 14:03:00

    Ok, sense I dind't get a reply, well Then I'll ask again, I still need to how subtract a int_var that does have a value in it from the users curren left

    add bmins dopmins #This saves the adds it for later use

    adjust_user_minutes -dopmins #This line doesn't work. How do I subtract
    from the users time left or minutes left

    Ok, well 'sense' I know of two posts giving detailed explanations of what to do, one from myself and another from Digital man himself, I'll not bother to respond again!

    Ok, sence the posts that you gave me were wrong, and I said that not what I was trying to. Ok. Be like that then.


    ---
    ■ Synchronet ■ Blue Thunder - bluethunder.dtdns.net or bluethr.synchro.net
  • From Angus Mcleod@VERT/ANJO to Bigjoe on Mon Jan 31 07:29:00 2005
    Re: adjust_user_minutes
    By: Bigjoe to Angus Mcleod on Sun Jan 30 2005 21:05:00

    adjust_user_minutes -dopmins #This line doesn't work. How do I subtr
    from the users time left or minutes le

    Ok, well 'sense' I know of two posts giving detailed explanations of what to do, one from myself and another from Digital man himself, I'll not bother to respond again!

    Ok, sence the posts that you gave me were wrong, and I said that not what I trying to. Ok. Be like that then.

    I told you exactly what to do, gave you a code sample and all. Digital
    Man posted the exact same advice and a near-identical code sample.

    If there was anything 'wrong' with those posts it was us expecting you'd
    have the IQ to understand them. <shrug>



    ---
    ■ Synchronet ■ Where we BAJA Rob into writing our modules. The ANJO BBS
  • From Bigjoe@VERT/BLUETHR to Angus Mcleod on Mon Jan 31 18:24:00 2005

    Re: adjust_user_minutes
    By: Bigjoe to Angus Mcleod on Sun Jan 30 2005 21:05:00

    adjust_user_minutes -dopmins #This line doesn't work. How do I su from the users time left or minutes

    Ok, well 'sense' I know of two posts giving detailed explanations of w to do, one from myself and another from Digital man himself, I'll not bother to respond again!

    Ok, sence the posts that you gave me were wrong, and I said that not what trying to. Ok. Be like that then.

    I told you exactly what to do, gave you a code sample and all. Digital
    Man posted the exact same advice and a near-identical code sample.

    If there was anything 'wrong' with those posts it was us expecting you'd have the IQ to understand them. <shrug>

    And what makes you think I don't I think you don't under stand what I'm
    trying to do. Your samples force me to change the int_var again. I can't do that. I already have the int_var. I just need to subtract it from the users minutes, It's that simple. and Yes I under stude what both of you were
    saying, and like I said, I don't want to change the int_var again and have to change it back again, the sample you gave me work just find. But, Like I
    said, your way I have to change my value again, and again



    dopmins is a val that I have a value all ready in. If I use the SET dopmins -50 command I'm resetting the value. Do you under stand that. The value thats all ready in the int_var dopmins is what I want to subtract, and theres no
    way to do it.

    Joe

    P.S. Maybe I'm not the only one thats needs an IQ test


    ---
    ■ Synchronet ■ Blue Thunder - bluethunder.dtdns.net or bluethr.synchro.net
  • From Angus Mcleod@VERT/ANJO to Bigjoe on Mon Jan 31 22:36:00 2005
    Re: adjust_user_minutes
    By: Bigjoe to Angus Mcleod on Mon Jan 31 2005 18:24:00

    And what makes you think I don't I think you don't under stand what I'm trying to do. Your samples force me to change the int_var again. I can't do that. I already have the int_var. I just need to subtract it from the users minutes, It's that simple. and Yes I under stude what both of you were saying, and like I said, I don't want to change the int_var again and have t change it back again, the sample you gave me work just find. But, Like I said, your way I have to change my value again, and again



    dopmins is a val that I have a value all ready in. If I use the SET dopmins -50 command I'm resetting the value. Do you under stand that. The value that all ready in the int_var dopmins is what I want to subtract, and theres no way to do it.

    <sigh> I'll try once more.

    You CAN NOT apply a unary minus to an integer variable as you want to do.
    And I understand that the value is in 'dopmins' already, and you don't
    want to change that. Therefore what you HAVE to do is 1) create a NEW variable, 2) set it to the NEGATIVE of 'dopmins', and 3) adjust by the
    new, negative variable. Therefore:

    # Step #1 -- create NEW variable
    INT negative_dopmins

    # Step #2 -- set it to negative of 'dopmins'
    # Note that: 0-dopmins gives -dopmins
    SET negative_dopmins 0
    SUB negative_dopmins dopmins

    # Step #3 -- adjust by
    ADJUST_USER_MINUTES negative_dopmins

    Now, this is the third time that this code fragment has been suggested to
    you as the only practical way to achieve what you want to do. Once by
    myself, once by Digital man, and now once again. If this isn't good
    enough for you, that's your business. You are free to reject it. But
    please -- spare us the "poor me didn't get a reply so now I'll come with
    some attitude" responses, OK?

    P.S. Maybe I'm not the only one thats needs an IQ test

    No, I think it *is* only you.




    ---
    ■ Synchronet ■ Where we BAJA Rob into writing our modules. The ANJO BBS
  • From Stephen Cooper@VERT/MISSION1 to Angus Mcleod on Mon Jan 31 21:36:00 2005
    Re: adjust_user_minutes
    By: Angus Mcleod to Bigjoe on Mon Jan 31 2005 22:36:00

    Now, this is the third time that this code fragment has been suggested to you as the only practical way to achieve what you want to do. Once by myself, once by Digital man, and now once again. If this isn't good
    enough for you, that's your business. You are free to reject it. But please -- spare us the "poor me didn't get a reply so now I'll come with some attitude" responses, OK?

    P.S. Maybe I'm not the only one thats needs an IQ test

    No, I think it *is* only you.

    This is one time that I'm forced to agree with Angus, amazingly enough. :)

    ---
    ■ Synchronet ■ Mission Control BBS - http://mission1.synchro.net/
  • From Belly@VERT/BRAZINET to Stephen Cooper on Tue Feb 1 20:57:00 2005
    Re: adjust_user_minutes
    By: Stephen Cooper to Angus Mcleod on Mon Jan 31 2005 09:36 pm

    This is one time that I'm forced to agree with Angus, amazingly enough. :)

    In other news, Satan catches a cold.

    o
    (O)
    BeLLy


    ---
    ■ Synchronet ■ **** BraziBBS: bbs.brazi.net ****
  • From Stephen Cooper@VERT/MISSION1 to Belly on Tue Feb 1 21:46:00 2005
    Re: adjust_user_minutes
    By: Belly to Stephen Cooper on Tue Feb 01 2005 20:57:00

    Re: adjust_user_minutes
    By: Stephen Cooper to Angus Mcleod on Mon Jan 31 2005 09:36 pm

    This is one time that I'm forced to agree with Angus, amazingly enough. :

    In other news, Satan catches a cold.

    Why is that? Because hell finally froze over? :P

    ---
    ■ Synchronet ■ Mission Control BBS - http://mission1.synchro.net/
  • From MBR@VERT/RETROPC to Belly on Wed Feb 2 00:28:00 2005
    Re: adjust_user_minutes
    By: Belly to Stephen Cooper on Tue Feb 01 2005 08:57 pm

    This is one time that I'm forced to agree with Angus, amazingly enough. :

    In other news, Satan catches a cold.

    and he has ice hanging from his face

    The Evil MBR Has Spoken

    Retro PC BBS
    Telnet To:
    RetroPC.homeip.net
    RetroPC.synchro.net


    ---
    ■ Synchronet ■ -= Retro PC BBS =-= Wilson NY, USA =-= RetroPC.homeip.net =-
  • From Belly@VERT/BRAZINET to Stephen Cooper on Wed Feb 2 00:38:00 2005
    Re: adjust_user_minutes
    By: Stephen Cooper to Belly on Tue Feb 01 2005 09:46 pm

    This is one time that I'm forced to agree with Angus, amazingly enough

    In other news, Satan catches a cold.

    Why is that? Because hell finally froze over? :P

    :)

    o
    (O)
    BeLLy


    ---
    ■ Synchronet ■ **** BraziBBS: bbs.brazi.net ****
  • From Jason@VERT/HDCAFE to Belly on Wed Feb 2 11:13:00 2005
    Re: adjust_user_minutes
    By: Belly to Stephen Cooper on Tue Feb 01 2005 08:57 pm

    Re: adjust_user_minutes
    By: Stephen Cooper to Angus Mcleod on Mon Jan 31 2005 09:36 pm

    This is one time that I'm forced to agree with Angus, amazingly enough. :

    In other news, Satan catches a cold.

    o
    (O)
    BeLLy


    lol


    Jason

    _________________________
    / \
    | The Hard Drive Cafe BBS |
    | Montgomery, Alabama, US |
    | telnet://bbs.hdcbbs.net |
    \_________________________/
    ---
    ■ Synchronet ■ Origin: The Hard Drive Cafe - Montgomery Al USA - www.hdcbbs.net