Subj : A few variables in Baja To : Tegularius From : Finnigann Date : Wed Oct 05 2005 00:43:00 -=> Tegularius wrote to All <=- Te> DEFAULT.SRC displays the message group and sub-board in a prompt using Te> @GRP@ and @SN@. There are similar codes in the file-area prompt. Te> What if I need a Baja program to know these values and branch Te> accordingly? Can I access them other than just displaying them? I Te> don't see anything in the system variables that provides them. Yes there is: Use the same format, of course always use CAPS and bracket with percent signs. Customization: Message Variables Code Description PCB WC ------------------------------------------------------------------ ADDR1 User's street address N Y ALIAS User's name or alias N Y AUTOMORE Toggle automatic pausing Y N BAUD User's connect rate (DCE) in bps N Y BBS Name of BBS N Y BDATE User's birthdate (MM/DD/YY) N Y BEEP Generate a beep Y N BELL N Y BOARDNAME Y N BPS Y N BYTELIMIT User's free credits per day Y N BYTESLEFT User's total credits Y N CALLS Total number of logons for user N Y CITY User's city Y Y CLS Clear screen Y Y COMPANY User's company name or real name N Y CONF Name of current Group and Sub-board N Y CONFNUM Number of current Group and Sub-board Y N CPU User's computer type N Y DATA N Y DATAPHONE Y N DATE Current system date N Y DAYBYTES Number of free credits used today by user Y Y DIR * Current file directory short description N N DIR-L[...] * " " padded and left justified N N DIR-R[...] * " " padded and right justified N N DIRL * Current file directory long description N N DIRL-L[...] * " " padded and left justified N N DIRL-R[...] * " " padded and right justified N N DN * Number of current file directory N N DL * " " padded and left justified (4 chars wide) N N DR * " " padded and right justified (4 chars wide) N N DLBYTES Total bytes downloaded by user Y N DLFILES Total files downloaded by user Y N DLKLIMIT User's total credits (in kilobytes) N Y DOWNK Total kilobytes downloaded by user N Y DOWNS N Y EXDATE User's expiration date (MM/DD/YY) N Y EXPDATE Y N EXPDAYS Days left before user expires Y Y FIRST User's first name/alias Y Y FIRSTREAL * User's first real/company name N N FREESPACE Free disk space available for uploads Y N FROM User's location (City, State) N Y GRP * Current message group short description N N GRP-L[...] * " " padded and left justified N N GRP-R[...] * " " padded and right justified N N GRPL * Current message group long description N N GRPL-L[...] * " " padded and left justified N N GRPL-R[...] * " " padded and right justified N N GN * Number of current message group N N GL * " " padded and left justified (4 chars wide) N N GR * " " padded and right justified (4 chars wide) N N HANDLE * User's chat handle N N HANGUP Immediately disconnect user Y N HOMEPHONE Y N KBLEFT User's total credits (in kilobytes) Y Y KBLIMIT User's free credits per day (in kilobytes) Y N LAST * User's last name (alias) N N LASTREAL * User's last real/company name N N LASTCALLERNODE Name of user last on this node Y N LASTDATEON Date of user's last logon (MM/DD/YY) Y N LASTNEW Date of user's last new file scan (MM/DD/YY) N Y LASTON Date and time of user's last logon N Y LASTTIMEON Time of user's last logon (HH:MM am) Y N LEFT N Y LIB * Current file library short description N N LIB-L[...] * " " padded and left justified N N LIB-R[...] * " " padded and right justified N N LIBL * Current file library long description N N LIBL-L[...] * " " padded and left justified N N LIBL-R[...] * " " padded and right justified N N LN * Number of current file library N N LL * " " padded and left justified (4 chars wide) N N LR * " " padded and right justified (4 chars wide) N N MAXDK N Y MEMO Date of user's last password modification N Y MEMO1 User's note N Y MEMO2 N Y MINLEFT Time left in minutes Y N MORE Y N MSGLEFT Total number of messages posted by user Y N MSGREAD Number of messages read by user this call Y N MSGSLEFT N Y NAME * User's name or alias N N NAME-L[...] * User's name (padded and left justified) N N NAME-R[...] * User's name (padded and right justified) N N NOACCESS * Why user was denied access (last false ARS) N N NODE Number of current node Y Y NODE### Status of node number ### N Y NUMCALLS Y N NUMDIR Number of current library and directory Y N NUMTIMESON Y N PAUSE Immediately produces a [Hit a key] prompt Y Y PHONE User's phone number (###-###-####) N Y PON Toggles automatic screen pause for everyone Y N POFF Toggles automatic screen pause for everyone Y N PREVON N Y QUESTION * Current Yes/No question (for TEXT\MENU\YESNO.*) N N REAL * User's real first name N N SEC User's security level N Y SECURITY Y N SINCE Date of user's first call (MM/DD/YY) N Y STATE User's state (from location) N Y SUB * Current message sub-board short description N N SUB-L[...] * " " padded and left justified N N SUB-R[...] * " " padded and right justified N N SUBL * Current message sub-board long description N N SUBL-L[...] * " " padded and left justified N N SUBL-R[...] * " " padded and right justified N N SN * Number of current message sub-board N N SL * " " padded and left justified (4 chars wide) N N SR * " " padded and right justified (4 chars wide) N N SYSDATE Y N SYSOP Name of System Operator N Y SYSTIME Y N TCALLS Total number of logons for system N Y TFILE Total number of files on system N Y TIME Current system time N Y TIMELEFT Y N TIMELIMIT Maximum time per call in minutes Y N TIMEON Time used this call in minutes N Y TIMEUSED Y N TLEFT * Time left (H:MM:SS) N N TMSG Total number of messages on system N Y TPERC * Time allowed per call (H:MM:SS) N N TPERD * Time allowed per day (H:MM:SS) N N TUSED * Time used this call (H:MM:SS) N N TUSER Total number of user slots on system N Y UPBYTES Total bytes uploaded by user Y N UPFILES Total files uploaded by user Y N UPK Total kilobytes uploaded by user N Y UPS N Y USER User's name or alias (same as ALIAS) Y Y VER BBS version number N Y WHO Display status of all active nodes Y N ZIP User's zip/postal code N Y ÕÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ ³ "We live in a society exquisitely dependent on science and technology, ³ in which hardly anyone knows anything about science and technology." ³ - Carl Sagan ³ .... Guarantee my safety? Bill Gates can't even guarantee Windows. - J Crichton --- MultiMail/Win32 v0.46 .