home *** CD-ROM | disk | FTP | other *** search
- {
- | NewsFlash Init file
- | Alex Howarth (14 September 1996)
- | This is where everything starts
-
- | We can use libraries of procedures (SUB's)
- | must include them first tho.
- INCLUDE "Libraries.Misc"
- | Call these using: GOSUB <subname>
-
- | A big assumption that the user has ANSI capabilities
- | but it allows us to test by displaying colours
- | probably not 'legal' but I like it.
- TERMINAL=1
-
- | Display a welcome screen
- RUN "Logon.DemoIntro" | normally just an ASCII screen
-
- | We have a user online - send the logon prompt
- RUN "Logon.Logon"
-
- | Send misc ANSI screens you may wish the user to see on logon
- SEND "ANSI.As-Is",2
- NL
- GOSUB anykey | From our Misc library
-
- | Run any doors you may wish as part of the logon
- | Doors:
- | * OLD METHOD
- | RUNAPPA "<path of door>"
- | * NEW METHOD
- | Use !DoorMgr to maintain your doors
- | DOOR "<DoorName>"
- | The new method is far nicer
- DOOR "Today"
- ANYKEY | Today door doesnt provide it !
-
- | A few safety measures
- RUN "Scripts.Ensure"
-
- | MailBox (check for mail etc..)
- RUN "Scripts.MailBox"
-
- | Put the user in the main menu
- RUN "Menus.Main"
-
- | When they leave the mainmenu via the END command
- | they will return here
-
- | Show the cookie door
- PRINT "Before you go, think about this..." NL
- DOOR "Cookie"
-
- | Log them off
- LOGOFF
-
- | The end
- }