home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / bbs / tlink72 / variable.doc < prev   
Text File  |  1993-09-08  |  5KB  |  176 lines

  1.  
  2. There are Main Commands, Sub Commands, and sub command parameters.
  3.  
  4.         THIS IS FOR VERSION 7.1 AND ABOVE ONLY!!!!!
  5.  
  6. Menu commands ( Inside of any Menu ):
  7.  
  8. NOABORT>  <- No aborting of menu, only  ^Q ^S will work, not ^C (1ST LINE only)
  9. OPEN_O>   <- Opens A File, Sends Data, Closes
  10. SHOW>     <- Shows this text file and continues 
  11. RUN>      <- Launches this file then returns where it left off
  12. CLS>      <- CLears the screen
  13. HALT>     <- Halts the file and diplays: " [X]exits, Press enter to Continue "
  14. BUSSAD>   <- Display a Bussiness Ad (YOU MUST READ ABOUT BUSINESS ADS BELOW)
  15. POSCMD>   <- Run Any of the Commands you can in the POS(Sysop) Mode
  16. TTP>      <- Launchs a TTP Program and Passes Parameters to it.
  17. MAINMENU> <- This is currently in testing
  18.  
  19. Examples of Commands you can use in your HLP,ANS,VT2,IG Files:
  20.  
  21. POSCMD> You can use any of the commands below (some need parameters)
  22.  
  23. SYSEDIT,?/TRIPCMD,DIR,FILES
  24. DEL,RENAME,COPY,MOVE
  25. MD,CD,RD,EXEC
  26. EDIT,TYPE,DATE,TIME
  27. LINKPATH,NEWFILES,RESTORE,BACKUP
  28. LINK,ARC,LZH,TTP
  29. INJECT,DFREE,MEM,HUNT
  30. CLRCALLS,BBSLOG,CLRLOG,FILELOC
  31. EDITFILES
  32.  
  33. NOABORT> 
  34. RUN>D:\HISTORY\HISTORY.TOS
  35. HALT>
  36. SHOW>D:\HISTORY\NEWHIST.TXT
  37. CLS>
  38. POSCMD>FILES C:\TRIPBBS\TRIPMENU\*.*
  39. POSCMD>BACKUP
  40. TTP>C:\LZH\LZH.TTP A ~33~*.* D:\BACKUP\BBS.LZH
  41.                     (~33~ = BBS_PATH$ ie. C:\BBS\ )   
  42. TTP>C:\INTERBBS\ISIS.TTP TERMINAL
  43. OPEN_O>C:\TEST.DAT (Uses Additionals Data, Keep reading)
  44.  
  45. The following is an Example of the new OPEN_O> Menu Command using both typed
  46. in text and variables, this will allow you to create files that other
  47. programs may need for games etc, it outputs an ASCII Text File!
  48.  
  49. EXAMPLE ============ This is cut from my GAMES.HLP Menu ===============
  50.  
  51. OPEN_O>C:\TEST.DAT
  52. This is a Test Line 1
  53. ~6~
  54. ~28~
  55. ~26~
  56. ~29~
  57. [END] - this is not sent to the file (YOU MUST HAVE THIS AT THE END!)
  58.  
  59. --------- ALWAYS! END OPEN_O>XXXXXXXXXX WITH [END]
  60.  
  61. This is what the Contents of the new file C:\TEST.DAT looked like after I
  62. ran the Menu:
  63.  
  64. This is a Test Line 1
  65. sysop
  66. 15
  67. 1
  68. 9999
  69.  
  70. -----------------------------------------------
  71.  
  72. *** THESE VARIABLES HAVE BEEN REMOVED!! USE A VARIABLE LISTED BELOW
  73.  
  74. Example: HANDLE (Replace with: ~6~ )
  75.  
  76.       HANDLE: Users Handle
  77.     REALNAME: Users Real Name
  78.      USERNUM: Users User Number on the FEDBBS
  79.     TIMELEFT: Users Time Left on the FEDBBS, So the game knows when to end
  80.         BAUD: Users Baudrate
  81.     ACCLEVEL: Users Game Access Level (1-255)
  82.    SYSOPNAME: TripLinK!s Sysops Name
  83.      BBSNAME: The Name Of Your FEDBBS.
  84.  
  85. *************************************************************************
  86.  
  87. These are variables you can use in Menus Now. Any additional variables will
  88. be added to the end. You can place these in *.ANS, *.HLP, *VT2 Menus. Here
  89. is an Example of what you Do:
  90.  
  91. Its Best To Place a Space Between Variables like: ~1~ ~3~ etc..
  92.  
  93. ------------------------------- EXAMPLE #1
  94.  
  95. Hi There, ~6~, Whats Up...
  96.  
  97. Would be converted To:
  98.  
  99. Hi There, Sysop, Whats Up...
  100.  
  101. ------------------------------- EXAMPLE #2 (Passing Parameters)
  102.  
  103. TTP>C:\GAMES\KILLGAME.TTP ~1~ ~6~ ~22~ ~3~ ~29~
  104.  
  105. Would be converted to:
  106.  
  107. TTP>C:\GAMES\KILLGAME.TTP 1 Sysop 999 2400 58
  108.  
  109. -------------------------------
  110.  
  111. THIS IS AN EXAMPLE OF A MENU WITH VARIABLES(LISTED BELOW)
  112. =========================================================
  113.  
  114. Hi ~6~,
  115.  
  116. To Date you have Called ~28~ Times, Downloaded ~24~ Files, Posted ~26~ Messages
  117.  
  118. You Have ~29~ Minutes Left On This Call, and you last Called On ~14~
  119.  
  120. Your Connected At ~3~, your User Number Is #~1~
  121.  
  122.  Computer Type: ~30~
  123.  
  124. Emulation Used: ~15~
  125.  
  126. ***********************************************************************
  127.  
  128.         PRESS THE * SPACEBAR * TO PAUSE OR UNPAUSE ANY MENUS!!!!
  129.  
  130. ***********************************************************************
  131.  
  132.        IT ALSO WORKS FOR SCROLLING TEXT, MESSAGES AND LOTS MORE!!!
  133.  
  134. [EOF]
  135.  
  136. TripLinK! New Menu Variables:
  137.  
  138. ~1~ = User Number On The BBS
  139. ~2~ = Users High Message Read
  140. ~3~ = Connected Baud Rate
  141. ~4~ = BBS Name (set in TripEdit)
  142. ~5~ = Sysops Name
  143. ~6~ = Users Handle
  144. ~7~ = Users Realname
  145. ~8~ = Users Password
  146. ~8~ = Users Street Address
  147. ~9~ = Users State
  148. ~10~ = Users City
  149. ~11~ = Users Zip Code
  150. ~12~ = Users Phone
  151. ~13~ = Users Age
  152. ~14~ = Date User Last Called On
  153. ~15~ = Users Video Type        
  154. ~16~ = Video Hidth (1-24)
  155. ~17~ = Video Wisth (1-80)
  156. ~18~ = Users Current Time on The BBS
  157. ~19~ = Users Total Time For Today
  158. ~20~ = Users Total Time Allowed Per Call
  159. ~21~ = Users Total Time Per Day
  160. ~22~ = Users Game Access Level (1-255)
  161. ~23~ = Users Download Ratio
  162. ~24~ = Total Downloads By User
  163. ~25~ = Total Uploads By User
  164. ~26~ = Total Messages Posted By User
  165. ~27~ = Total Email Sent By User
  166. ~28~ = Total Calls Made By User
  167. ~29~ = Minutes Left For User On Line
  168. ~30~ = Computer Type
  169. ~31~ = Current Time
  170. ~32~ = Current Date
  171. ~33~ = Path Of BBS (ie. C:\BBS\)
  172. ~34~ = Menu Path (i. C:\BBS\TRIPMENU\)
  173. ~35~ = TripUser Loc. (ie. C:\BBS\TRIPUSER.DAT)
  174. ~36~ = BasePath (ie. C:\BBS\TRIPBASE\) 
  175.  
  176.