• Custome Message Variables

    From Coolmax@VERT/CRESCUE to All on Sat Jan 29 06:45:00 2005
    Hi All

    I've Add this code to my command shell

    cmdkey E
    TOGGLE_USER_MISC .19
    COMPARE_USER_MISC UM_EXTDESC
    if_true
    CLS
    print "\r\nExtended Descriptions Are Now ON\r\n"
    end_cmd
    end_if
    CLS
    print "\r\nExtended Descriptions Are Now OFF\r\n"
    end_cmd


    This toggles the extended list display on/off
    Is there a way to have THE ON/OFF Display in the .ASC file..
    So a custom message variable would be @EXTDISP@

    eg: EXTENDED DISPLAY: @EXTDISP@


    Thanks
    Coolmax

    ---
    þ Synchronet þ Computer Rescue - cr.savedme.com
  • From Angus Mcleod@VERT/ANJO to Coolmax on Fri Jan 28 16:30:00 2005
    Re: Custome Message Variables
    By: Coolmax to All on Fri Jan 28 2005 22:45:00

    Is there a way to have THE ON/OFF Display in the .ASC file..
    So a custom message variable would be @EXTDISP@

    eg: EXTENDED DISPLAY: @EXTDISP@


    Mmmmmmm. Maybe some sort of (a)EXEC:EXTDISP(a) with the EXTDISP module checking and outputting ON/OFF accordingly?

    Might work....

    ----8<----[extdisp.src]----8<----

    !INCLUDE userdefs.inc
    COMPARE_USER_MISC UM_EXTDESC
    IF_TRUE
    PRINT "ON"
    ELSE
    PRINT "OFF"
    END_IF

    ----8<---------------------8<----


    EXTENDED DISPLAY: @EXEC:EXTDISP@

    Yep -- works here now!



    ---
    þ Synchronet þ Where we BAJA Rob into writing our modules. The ANJO BBS
  • From Coolmax@VERT/CRESCUE to Angus Mcleod on Sat Jan 29 07:43:00 2005
    Re: Custome Message Variables
    By: Coolmax to All on Fri Jan 28 2005 22:45:00

    Is there a way to have THE ON/OFF Display in the .ASC file..
    So a custom message variable would be @EXTDISP@

    eg: EXTENDED DISPLAY: @EXTDISP@


    Mmmmmmm. Maybe some sort of (a)EXEC:EXTDISP(a) with the EXTDISP module checking and outputting ON/OFF accordingly?

    Might work....

    ----8<----[extdisp.src]----8<----

    !INCLUDE userdefs.inc
    COMPARE_USER_MISC UM_EXTDESC
    IF_TRUE
    PRINT "ON"
    ELSE
    PRINT "OFF"
    END_IF

    ----8<---------------------8<----


    EXTENDED DISPLAY: @EXEC:EXTDISP@

    Yep -- works here now!


    Thanks mate... but sometimes im pretty thick when it comes to stuff like this. Can ya email me your EXTDISP.SRC ya just made
    or tell me whats in it :)

    ---
    þ Synchronet þ Computer Rescue - cr.savedme.com
  • From Coolmax@VERT/CRESCUE to Angus Mcleod on Sat Jan 29 07:48:00 2005
    Re: Custome Message Variables
    By: Coolmax to All on Fri Jan 28 2005 22:45:00

    Is there a way to have THE ON/OFF Display in the .ASC file..
    So a custom message variable would be @EXTDISP@

    eg: EXTENDED DISPLAY: @EXTDISP@


    Mmmmmmm. Maybe some sort of (a)EXEC:EXTDISP(a) with the EXTDISP module checking and outputting ON/OFF accordingly?

    Might work....

    ----8<----[extdisp.src]----8<----

    !INCLUDE userdefs.inc
    COMPARE_USER_MISC UM_EXTDESC
    IF_TRUE
    PRINT "ON"
    ELSE
    PRINT "OFF"
    END_IF

    ----8<---------------------8<----


    EXTENDED DISPLAY: @EXEC:EXTDISP@

    Yep -- works here now!

    Dont worry about me... im half asleep..
    I didnt read your message propery :)

    Thanks For Your Help

    ---
    þ Synchronet þ Computer Rescue - cr.savedme.com
  • From Angus Mcleod@VERT/ANJO to Coolmax on Fri Jan 28 23:47:00 2005
    Re: Re: Custome Message Varia
    By: Coolmax to Angus Mcleod on Fri Jan 28 2005 23:43:00

    ----8<----[extdisp.src]----8<----

    !INCLUDE userdefs.inc
    COMPARE_USER_MISC UM_EXTDESC
    IF_TRUE
    PRINT "ON"
    ELSE
    PRINT "OFF"
    END_IF

    ----8<---------------------8<----

    Can ya email me your EXTDISP.SRC ya just made or tell me whats in it :)

    Uh......




    ---
    þ Synchronet þ Where we BAJA Rob into writing our modules. The ANJO BBS
  • From Coolmax@VERT/CRESCUE to Angus Mcleod on Sat Jan 29 17:38:00 2005
    Re: Re: Custome Message Varia
    By: Coolmax to Angus Mcleod on Fri Jan 28 2005 23:43:00

    ----8<----[extdisp.src]----8<----

    !INCLUDE userdefs.inc
    COMPARE_USER_MISC UM_EXTDESC
    IF_TRUE
    PRINT "ON"
    ELSE
    PRINT "OFF"
    END_IF

    ----8<---------------------8<----

    Can ya email me your EXTDISP.SRC ya just made or tell me whats in it :)

    Uh......


    Yeah sorry, as i said i was half asleep..
    i though the code you wrote was for the command shell script.

    :)

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

    ---
    þ Synchronet þ Computer Rescue - cr.savedme.com
  • From Digital Man@VERT to Coolmax on Tue Feb 1 08:49:31 2005
    Re: Custome Message Variables
    By: Coolmax to All on Fri Jan 28 2005 10:45 pm

    Hi All

    I've Add this code to my command shell

    cmdkey E
    TOGGLE_USER_MISC .19
    COMPARE_USER_MISC UM_EXTDESC
    if_true
    CLS
    print "\r\nExtended Descriptions Are Now ON\r\n"
    end_cmd
    end_if
    CLS
    print "\r\nExtended Descriptions Are Now OFF\r\n"
    end_cmd


    This toggles the extended list display on/off
    Is there a way to have THE ON/OFF Display in the .ASC file..
    So a custom message variable would be @EXTDISP@

    eg: EXTENDED DISPLAY: @EXTDISP@

    I'm not really sure what you're asking. You could display a different .ASC file based on the results of the test (one for yes, and another no). <shrug>

    digital man

    Snapple "Real Fact" #26:
    The Hawaiian alphabet only has 12 letters.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Coolmax@VERT/CRESCUE to Digital Man on Wed Feb 2 05:25:00 2005
    Re: Custome Message Variables
    By: Coolmax to All on Fri Jan 28 2005 10:45 pm

    Hi All

    I've Add this code to my command shell

    cmdkey E
    TOGGLE_USER_MISC .19
    COMPARE_USER_MISC UM_EXTDESC
    if_true
    CLS
    print "\r\nExtended Descriptions Are Now ON\r\n"
    end_cmd
    end_if
    CLS
    print "\r\nExtended Descriptions Are Now OFF\r\n"
    end_cmd


    This toggles the extended list display on/off
    Is there a way to have THE ON/OFF Display in the .ASC file..
    So a custom message variable would be @EXTDISP@

    eg: EXTENDED DISPLAY: @EXTDISP@

    I'm not really sure what you're asking. You could display a different .ASC file
    based on the results of the test (one for yes, and another no). <shrug>

    digital man


    It's Ok Now
    I have that sorted & working..


    THanks
    Coolmax

    ---
    þ Synchronet þ Computer Rescue - cr.savedme.com