• Help!

    From Jayhawk@TCC to All on Tuesday, August 13, 2002 22:15:00
    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 to Jayhawk on Tuesday, August 13, 2002 20:46:53
    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