home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Introduction
- ------------
-
- This chapter describes the system of tilde codes that is used
- in for instance ANSI BBS screens to display certain
- proterties of users, or information on file or message sections
- or just the time.
-
-
- What are tilde codes
- --------------------
-
- Tilde codes are the control codes used in the Trion BBS system
- to display all kinds of information.
- They can be used in ANSI screens that are part of menus, or
- in other screens like the login and logout screens.
- They can be used in logs with the LogMessage menu command.
- They can be used in the BBStext files which configure most
- of the text used in the BBS program.
- They can be used in Door programs.
-
-
- Simple examples
- ---------------
-
- This line could display the current status in a file menu.
- The tildecodes display: AreaNumber, AreaName, number
- of marked files and the number of bytes in the marked files.
-
- Area: (#~300) ~301. Marked: ~308 files ~309 bytes
-
- Which could give this result on a screen:
-
- Area: (#1) Upload. Marked: 1 files 43552 bytes
-
-
-
- This line could display the current status in a mail menu.
- The tildecodes display: AreaNumber, AreaName, Type of Area,
- lastread message and the range of messages in this section.
-
- Area: (#~100) ~101 (~106) lastread: ~102 ~103/~104
-
- Which could give this result on a screen:
-
- Area: (#1) [loc] Sysop Comments (Local) lastread: 1178 [1059/1178]
-
-
-
- menu prompts
- ------------
-
- You can use tilde codes in the prompt of menus.
- For instance the number of minutes left online:
-
- "~213 > "
-
- Or use the time in a prompt.
-
- "~252 : "
-
- A more usefull option in a mail menu could be the current
- message section name followed with the range of messages
- in a section.
-
- "~101 [~103/~104] : "
-
- In a file menu a prompt with the name of the current section
- could be usefull.
-
- "~301 > "
-
-
- formatting codes
- ----------------
-
- Tilde codes consist of a '~' followed by 1 to 3 digits and in some
- cases some additional data.
- Tilde codes can be used to show all kinds of information in BBS
- screens, in the BBStext lines, menu commands, log commands etc..
-
- To make things clear the following text is used in the examples.
-
- nnn = tilde code number
- xxx = area number
- SSS = string of characters
-
-
- A normal tilde code would like this:
- Where nnn is the tilde code.
-
- ~nnn
-
- For example ~200 to display the name of the user online.
-
-
- Also there are tilde codes which displays an atribute of a mail
- or file section. These look like this:
- Where xxx is the area number.
- And where nnn is tilde code 2 or 3.
-
- ~nnn:xxx~
-
- For example ~2:100~ displays a '*' if there are new messages
- in a message section and a ' ' if there are now new messages.
- For example ~3:100~ will display the number of new messages
- in a message section.
-
-
- There are tilde codes which change a certain string displayed
- with other tilde codes.
- Where SSS is the text string.
- And where nnn is tilde code 20 or 21.
-
- ~nnn:SSS~
-
- For example ~20:!~ will change the default string that means
- there a new messages in a message section from '*' to '!'.
- Note that is doesn't display anything. Tildecodes
- 20 and 21 display these strings.
-
-
- There are also tilde codes which do the same as the above
- mentioned 2 tilde codes.
- You give it a area number and a string and it will display
- the string if an attribute of the section is true or false.
- It is a little simpler to understand as the above two, but
- makes longer text files and is more work to change.
- Where SSS is the text string.
- Where xxx is the area number.
- And where nnn is tilde code 0 or 1.
-
- ~nnn:xxxSSS~
-
- For example ~0:100New~ will display "New" on the screen if
- there are new messages in section 100.
-
- For example ~1:100---~ will display "---" on the screen if
- there are no new messages in section 100.
-
-
-
- List of all current tilde codes
- -------------------------------
-
- xxx = area number
- SSS = string of characters
-
-
- Code: Default: Meaning:
- ======================================================================
-
- ~0:xxxSSS~ Print 'SSS' if New Messages in area xxx.
- ~1:xxxSSS~ Print 'SSS' if NO new Messages in area xxx.
-
- ~20:SSS~ ~20:*~ Use 'SSS' as macro for New Messages.
- ~21:SSS~ ~21: ~ Use 'SSS' as macro for NO New Messages.
-
- ~2:xxx~ Prints one of the above mentioned macros
- for area xxx.
-
- ~3:xxx~ The number of new messages in area xxx.
- Only prints if number greater than zero.
- Occupies 3 characters on the screen.
-
- ??? ~10 'more' , asks for a 'return' to continue.
-
- ~11 Causes a 1 second delay after the return.
-
-
- ~50 The number of this node.
- ~51 The number of the user logged in.
-
- ~60 Sysop available/Sysop not available
-
- ~100 Current Message Area Number.
- ~101 Current Message Area name.
- ~102 Number of last read message.
- ~103 Number of the first message in this area.
- ~104 Number of the last message in this area.
- ~105 Number of new messages in the current area.
- ~106 Type of msg area (Local, Echomail, Netmail)
-
- ~110 Maximum Msgs per day.
- ~111 Number of messages the user wrote today.
- ~112 Total number of messages this user wrote.
-
- ~120 Number of marked messages.
-
- ~200 Name of the User online.
- ~201 Level of the User online.
- ~202 City of the User online.
- ~203 Alias of the User online.
- ~204 Password of the User online.
- ~205 Voice Phone Number of the User online.
- ~206 Data Phone Number of the User online.
- ~207 Status (level name) of the User online.
-
- ~210 Number of calls by this user.
- ~211 Date User 'First on System'.
- ~212 Date User 'Last on System'.
- ~213 Number of minutes this user has left.
- ~214 Screen length of this user.
- ~215 Number of minutes this user is online.
- ~216 Number of minutes this user has per day.
- ~217 Number of minutes this user has per call.
- ~218 Number of days since first log on of this user
- ~219 Number of days since last log on of this user
- ~220 Number of calls today by this user.
-
-
- ~250 Time + date.
- ~251 Date.
- ~252 Time.
-
- ~300 Current File Area number.
- ~301 Current File Area name.
-
- ~305 File Transfer Protocol
- ~306 Message Editor (num)
-
- ~308 Number of Marked Files.
- ~309 Number of Marked Bytes.
-
- ~310 FileRatio.
- ~311 ByteRatio.
- ~312 Maximum bytes per day.
-
- ~320 number of Downloaded files by this user.
- ~321 number of Uploaded files by this user.
- ~322 DownloadedBytes by this user.
- ~323 UploadedBytes by this user.
- ~324 Files downloaded today by this user.
- ~325 Bytes downloaded today by this user.
-
- ~326 Files downloaded with effect on ratio
- ~327 Bytes downloaded with effect on ratio
-
-
- ~330 Files still available today.
- ~331 Bytes still available today.
- ~332 Bytes available by ratio.
-
- ~334 Files available on ratio
- ~335 Bytes available on ratio
-
- ~340 Files available outside ratio (free files).
- ~341 Bytes available outside ratio (free bytes).
-
- ~350 File Group number
- ~351 File Group name
- ~352 Messages Group number
- ~353 Messages Group name
-
-
- ~400 - ~449 Reserved for stats (now also still 240 - 245)
-
-
- ~400 Total number of calls to the system . Max 4 Miljard.
- ~401 Total number of messages on the system.
- ~402 Total number of files on the system.
- ~403 Number of users on the system.
- ~404 Number of callers today.
- ~405 Number of callers yesterday.
-
-