• New feature thats COOL

    From Magic Man@VERT/PORTWIZ to All on Wed May 4 11:09:00 2005
    I made a cool feature in the treasure shell. you hit & and it changes the promts from freaky leet to regular looking prompts. It didn't take long at all, but i think it was pretty genius of me to figure it out.

    compare_misc UNEXPERT
    if_true
    print "freeky leet prompt >"
    else
    print "Command >
    end_if


    cmdkey &
    toggle misc unexpert

    imm doing that off the top of my head but you get the idea, woot changeable prompts. Since the treausre shell uses built in menus, the EXPERT toggle works well as a argument. but you could use flags and stuff too. Im happy with the command compare_misc, thanks DM.


    ---
    ώ Synchronet ώ Wizards Realm
  • From Maverick@VERT/CLINIC to Magic Man on Thu May 5 12:52:00 2005
    Re: New feature thats COOL
    By: Magic Man to All on Wed May 04 2005 04:09 pm

    Where in treseaure.src are you placing the "freeky leet" code?


    ---
    ώ Synchronet ώ The Clinic BBS telnet://clinic.synchro.net http://clinic.synchro.net
  • From Magic Man@VERT/PORTWIZ to Maverick on Thu May 5 15:29:00 2005
    Re: New feature thats COOL
    By: Maverick to Magic Man on Thu May 05 2005 05:52 pm

    # Update node status
    node_action node_main
    async
    print ""
    # Display main Prompt
    # TIME DISPLAY##(DEFAULT ON) #################################
    # IF YOU DONT WANT THE TIME DISPLAYED REMOVE THE NEXT 4 LINES#
    INT T
    TIME T
    TIME_STR STR T
    PRINTF "Current Time: %s\r\n" STR

    compare_user_misc um_expert
    if_true
    #ELITE PROMPT (DEFAULT OFF)
    print "UŽŽŽŽŽŽ—‘ -@BBS@- ‘ —ŽŽŽ—‘ Time Left @MINLEFT
    print "\r\nAŽŽŽ—£"
    ## NON ELITE PROMPT (DEFAULT ON)
    else
    print "Time (@MINLEFT@ min) - What now @FIRST@? c
    end_if


    ---
    ώ Synchronet ώ Wizards Realm
  • From Angus Mcleod@VERT/ANJO to Magic Man on Thu May 5 19:01:00 2005
    Re: New feature thats COOL
    By: Magic Man to Maverick on Thu May 05 2005 19:29:00

    Re: New feature thats COOL
    By: Maverick to Magic Man on Thu May 05 2005 05:52 pm

    # Update node status
    node_action node_main
    async
    print ""
    # Display main Prompt
    # TIME DISPLAY##(DEFAULT ON) #################################
    # IF YOU DONT WANT THE TIME DISPLAYED REMOVE THE NEXT 4 LINES#
    INT T
    TIME T
    TIME_STR STR T
    PRINTF "Current Time: %s\r\n" STR

    compare_user_misc um_expert
    if_true
    #ELITE PROMPT (DEFAULT OFF)
    print "UŽŽŽŽŽŽ—‘ -@BBS@- ‘ —ŽŽŽ—‘ Time Left @MINLEFT
    print "\r\nAŽŽŽ—£"
    ## NON ELITE PROMPT (DEFAULT ON)
    else
    print "Time (@MINLEFT@ min) - What now @FIRST@? c
    end_if



    ---
    ώ Synchronet ώ Where we BAJA Rob into writing our modules. The ANJO BBS