AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to Scripts Only! (Code Only)  <--  <--- Return to Home Page
   Networked Database  Scripts Only! (Code Only)   [2 / 68] RSS
 From   To   Subject   Date/Time 
Message   Nightshade    All   A little logout script for VA   February 18, 2001
 9:35 PM  

' Nothing fancy here, I'll get fancy again when I remeber how to do all this
' This just lets your users leave you a last minute message as they log off
' and do NOT use it from the local node, I found out the hard way VA doesn't
' like that. had to go back and add myself a LOGOFFYN command to the main.fb
' Replace all instances of G 001 1 logoffyn with G 001 2 logout
' change the wording to suit your style and the Names of course
' more to come when I learn to write a little better stuff :)
' This little piece of art compliments of Nightshade, sysop of The Alternative.
  CLEAR
    LET x0 = 12
    LET A0 = !12
    IFVAL !53 = 0 GOTO templabel0
    LET x0 = 27
    LET A0 = !0 % "[2J"
    templabel0:
  ? A0
  NEWPAGE
  ?
  LOC 22, 2
  GETYN B0, "  Confirmation:  Do you wish to depart?"

  IF B0 <> "N" GOTO templabel2
    END "main"
  templabel2:

  ?
    LET x0 = 12
    LET A0 = !12
    IFVAL !53 = 0 GOTO templabel3
    LET x0 = 27
    LET A0 = !0 % "[2J"
    templabel3:
  ? A0
  NEWPAGE
  LOC 22, 2
  GETNY B0, "  Would you like to leave a parting message?"
  IF B0 <> "N" GOTO templabel4
    LOGOFF
  templabel4:

  ?
    LET x0 = 12
    LET A0 = !12
    IFVAL !53 = 0 GOTO templabel5
    LET x0 = 27
    LET A0 = !0 % "[2J"
    templabel5:
  ? A0
  ?
  ? "    Splendid!  One moment please...";
  ?;
  DELAY 2
  ?
    LET x0 = 12
    LET A0 = !12
    IFVAL !53 = 0 GOTO templabel6
    LET x0 = 27
    LET A0 = !0 % "[2J"
    templabel6:
  ? A0
  ? " Please enter your note [6-line maximum]...
  ?
  RW C0, " : "
  RW D0, " : "
  RW E0, " : "
  RW F0, " : "
  RW G0, " : "
  RW H0, " : "
  BUFFER CLEAR
  SETEMAIL
  LET I0 = "LogOff Note"
  BUFFER APPEND, C0
  BUFFER APPEND, D0
  BUFFER APPEND, E0
  BUFFER APPEND, F0
  BUFFER APPEND, G0
  BUFFER APPEND, H0
  SAVE ""1, 1517005, 1, I0, 0
  BUFFER CLEAR
  ?
  ?
  ? " Sending your note to Nightshade, one moment please...";
  DELAY 3
    LET x0 = 12
    LET A0 = !12
    IFVAL !53 = 0 GOTO templabel7
    LET x0 = 27
    LET A0 = !0 % "[2J"
    templabel7:
  ? A0
  ?
  ?
  GETYN B0, " Confirmation:  Do you wish to depart now?"
  IF B0 <> "Y" GOTO templabel8
    LOGOFF
  templabel8:

  IF B0 <> "N" GOTO templabel9
    END "main"
  templabel9:

    LET x0 = 12
    LET A0 = !12
    IFVAL !53 = 0 GOTO templabel10
    LET x0 = 27
    LET A0 = !0 % "[2J"
    templabel10:
  ? A0
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to Scripts Only! (Code Only)  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0417 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.1.241108