home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
DOOR
/
LORDP32.ZIP
/
door32.scr
< prev
next >
Wrap
Text File
|
2004-10-26
|
2KB
|
63 lines
; DOOR32.SYS script written by Sean Dennis for Telegard/2
; hausmaus@darktech.org - 1:18/200@Fidonet
; Written on 12 October 2004 at 2035 CDT
;
; This is public domain. However, I wouldn't suggest changing
; anything except the "D:\TG" part for it to work. :)
;
; This works here for me-I hope it works for you!
;
; Usage inside TG/2:
;4. Command -E - Execute Script
;5. Options "door32 d:\tg\doorbat\oracle.cmd ~CN"
;
;I pass the node number to the batch file for my multinode
;setup I run.
;
VARIABLE TEMP STRING
VARIABLE BBSDIR STRING "D:\TG\TEMP~CN\"
FILECREATE DOOR32.SYS
; Comm type (0=local, 1=serial, 2=telnet)
; ALWAYS KEEP THIS AT 1. Remember, if you're using SIO/VMODEM,
; you're using com ports, NOT telnet sockets. That's only under
; Win32. I'd recommend using the door's -L command line if you
; are going to run it locally under the BBS.
FILEPUT "1"
; Comm or socket handle
FILEPUT "~2P"
; Baud rate
FILEPUT "~CB"
; BBSID (software name and version)
FILEPUT "Telegard/2 ~SV"
; User record position (1-based)
; NOTE: I think TG uses 0-based record positions (it always
; reports mine as 0 as the sysop), so if you use this, be sure
; to increment the number by one.
FILEPUT "~UN"
; User's real name
FILEPUT "~UR"
; User's handle/alias
FILEPUT "~UH"
; User's security level
FILEPUT "~US"
; User's time left (in minutes)
FILEPUT "~CM"
; Emulation *See Below
FILEPUT "~UW"
; Current node number
FILEPUT "~CN"
FILECLOSE
MENU D-@*@
;* The following are values we've predefined for the emulation:
;
; 0 = Ascii
; 1 = Ansi
; 2 = Avatar
; 3 = RIP
; 4 = Max Graphics
;
; Avatar, RIP, and Max Graphics all have ANSI fallback support, so most door
; libraries that don't support those emulations can just use ANSI if emulation
; 2, 3, or 4 is encountered.