• Help!

    From Jayhawk@VERT/TCC to All on Tue Aug 13 18:15:00 2002
    Can someone tell me why that is not working???

    compare_word "SPY"
    if_true
    compare_ars LEVEL 99
    if_less
    printf "You do not have sufficent access to use this feature\r\n"
    return
    end_if
    call get_arg
    end_if

    trying to get it were only access level 99 can access the spy command

    Thanks

    Jayhawk




    ---
    þ Synchronet þ The Canton Connection BBS : tccbbs.thebbs.org
  • From Digital Man@VERT to Jayhawk on Tue Aug 13 16:46:00 2002
    Re: Help!
    By: Jayhawk to All on Tue Aug 13 2002 09:15 pm

    Can someone tell me why that is not working???

    compare_word "SPY"
    if_true
    compare_ars LEVEL 99
    if_less
    printf "You do not have sufficent access to use this feature\r\n
    return
    end_if
    call get_arg
    end_if

    trying to get it were only access level 99 can access the spy command

    Looks like you deleted some important lines there. Like "shift_str 3" and "spy". This block of code will print the error if the level is less than 99 and do *nothing* if the level is 99.

    digital man

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net