• Help!

    From Jayhawk@VERT to All on Tue Aug 13 22: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 20:46:53 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 telnet://vert.synchro.net