home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 1
/
crawlyvol1.bin
/
bbs
/
tlink72
/
variable.doc
< prev
Wrap
Text File
|
1993-09-08
|
5KB
|
176 lines
There are Main Commands, Sub Commands, and sub command parameters.
THIS IS FOR VERSION 7.1 AND ABOVE ONLY!!!!!
Menu commands ( Inside of any Menu ):
NOABORT> <- No aborting of menu, only ^Q ^S will work, not ^C (1ST LINE only)
OPEN_O> <- Opens A File, Sends Data, Closes
SHOW> <- Shows this text file and continues
RUN> <- Launches this file then returns where it left off
CLS> <- CLears the screen
HALT> <- Halts the file and diplays: " [X]exits, Press enter to Continue "
BUSSAD> <- Display a Bussiness Ad (YOU MUST READ ABOUT BUSINESS ADS BELOW)
POSCMD> <- Run Any of the Commands you can in the POS(Sysop) Mode
TTP> <- Launchs a TTP Program and Passes Parameters to it.
MAINMENU> <- This is currently in testing
Examples of Commands you can use in your HLP,ANS,VT2,IG Files:
POSCMD> You can use any of the commands below (some need parameters)
SYSEDIT,?/TRIPCMD,DIR,FILES
DEL,RENAME,COPY,MOVE
MD,CD,RD,EXEC
EDIT,TYPE,DATE,TIME
LINKPATH,NEWFILES,RESTORE,BACKUP
LINK,ARC,LZH,TTP
INJECT,DFREE,MEM,HUNT
CLRCALLS,BBSLOG,CLRLOG,FILELOC
EDITFILES
NOABORT>
RUN>D:\HISTORY\HISTORY.TOS
HALT>
SHOW>D:\HISTORY\NEWHIST.TXT
CLS>
POSCMD>FILES C:\TRIPBBS\TRIPMENU\*.*
POSCMD>BACKUP
TTP>C:\LZH\LZH.TTP A ~33~*.* D:\BACKUP\BBS.LZH
(~33~ = BBS_PATH$ ie. C:\BBS\ )
TTP>C:\INTERBBS\ISIS.TTP TERMINAL
OPEN_O>C:\TEST.DAT (Uses Additionals Data, Keep reading)
The following is an Example of the new OPEN_O> Menu Command using both typed
in text and variables, this will allow you to create files that other
programs may need for games etc, it outputs an ASCII Text File!
EXAMPLE ============ This is cut from my GAMES.HLP Menu ===============
OPEN_O>C:\TEST.DAT
This is a Test Line 1
~6~
~28~
~26~
~29~
[END] - this is not sent to the file (YOU MUST HAVE THIS AT THE END!)
--------- ALWAYS! END OPEN_O>XXXXXXXXXX WITH [END]
This is what the Contents of the new file C:\TEST.DAT looked like after I
ran the Menu:
This is a Test Line 1
sysop
15
1
9999
-----------------------------------------------
*** THESE VARIABLES HAVE BEEN REMOVED!! USE A VARIABLE LISTED BELOW
Example: HANDLE (Replace with: ~6~ )
HANDLE: Users Handle
REALNAME: Users Real Name
USERNUM: Users User Number on the FEDBBS
TIMELEFT: Users Time Left on the FEDBBS, So the game knows when to end
BAUD: Users Baudrate
ACCLEVEL: Users Game Access Level (1-255)
SYSOPNAME: TripLinK!s Sysops Name
BBSNAME: The Name Of Your FEDBBS.
*************************************************************************
These are variables you can use in Menus Now. Any additional variables will
be added to the end. You can place these in *.ANS, *.HLP, *VT2 Menus. Here
is an Example of what you Do:
Its Best To Place a Space Between Variables like: ~1~ ~3~ etc..
------------------------------- EXAMPLE #1
Hi There, ~6~, Whats Up...
Would be converted To:
Hi There, Sysop, Whats Up...
------------------------------- EXAMPLE #2 (Passing Parameters)
TTP>C:\GAMES\KILLGAME.TTP ~1~ ~6~ ~22~ ~3~ ~29~
Would be converted to:
TTP>C:\GAMES\KILLGAME.TTP 1 Sysop 999 2400 58
-------------------------------
THIS IS AN EXAMPLE OF A MENU WITH VARIABLES(LISTED BELOW)
=========================================================
Hi ~6~,
To Date you have Called ~28~ Times, Downloaded ~24~ Files, Posted ~26~ Messages
You Have ~29~ Minutes Left On This Call, and you last Called On ~14~
Your Connected At ~3~, your User Number Is #~1~
Computer Type: ~30~
Emulation Used: ~15~
***********************************************************************
PRESS THE * SPACEBAR * TO PAUSE OR UNPAUSE ANY MENUS!!!!
***********************************************************************
IT ALSO WORKS FOR SCROLLING TEXT, MESSAGES AND LOTS MORE!!!
[EOF]
TripLinK! New Menu Variables:
~1~ = User Number On The BBS
~2~ = Users High Message Read
~3~ = Connected Baud Rate
~4~ = BBS Name (set in TripEdit)
~5~ = Sysops Name
~6~ = Users Handle
~7~ = Users Realname
~8~ = Users Password
~8~ = Users Street Address
~9~ = Users State
~10~ = Users City
~11~ = Users Zip Code
~12~ = Users Phone
~13~ = Users Age
~14~ = Date User Last Called On
~15~ = Users Video Type
~16~ = Video Hidth (1-24)
~17~ = Video Wisth (1-80)
~18~ = Users Current Time on The BBS
~19~ = Users Total Time For Today
~20~ = Users Total Time Allowed Per Call
~21~ = Users Total Time Per Day
~22~ = Users Game Access Level (1-255)
~23~ = Users Download Ratio
~24~ = Total Downloads By User
~25~ = Total Uploads By User
~26~ = Total Messages Posted By User
~27~ = Total Email Sent By User
~28~ = Total Calls Made By User
~29~ = Minutes Left For User On Line
~30~ = Computer Type
~31~ = Current Time
~32~ = Current Date
~33~ = Path Of BBS (ie. C:\BBS\)
~34~ = Menu Path (i. C:\BBS\TRIPMENU\)
~35~ = TripUser Loc. (ie. C:\BBS\TRIPUSER.DAT)
~36~ = BasePath (ie. C:\BBS\TRIPBASE\)