• Check flags

    From Phil@PLT2 to All on Tuesday, November 17, 2009 21:17:51
    How can I check these flags if they are on and off? Can you please provide me with a example to check a2 and the restricted flag R?

    _USERON.FLAGS1 *Flag set #1 for user online
    _USERON.FLAGS2 *Flag set #2 for user online
    _USERON.FLAGS3 *Flag set #3 for user online
    _USERON.FLAGS4 *Flag set #4 for user online
    _USERON.EXEMPT *Exemption flags for user online



    ---
    ■ Synchronet ■ bbs.cyberchatnet.com - 192.168.1.102
  • From Digital Man to Phil on Tuesday, November 17, 2009 21:32:44
    Re: Check flags
    By: Phil to All on Tue Nov 17 2009 09:17 pm

    How can I check these flags if they are on and off? Can you please provide me with a example to check a2 and the restricted flag R?

    _USERON.FLAGS1 *Flag set #1 for user online
    _USERON.FLAGS2 *Flag set #2 for user online
    _USERON.FLAGS3 *Flag set #3 for user online
    _USERON.FLAGS4 *Flag set #4 for user online
    _USERON.EXEMPT *Exemption flags for user online

    COMPARE_ARS FLAG A2 AND REST R
    IF_TRUE
    PRINT "Yup.\r\n"
    END_IF

    digital man

    Snapple "Real Fact" #75:
    The average person makes 1,140 phone calls per year.