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 >
Text File  |  2004-10-26  |  2KB  |  63 lines

  1. ; DOOR32.SYS script written by Sean Dennis for Telegard/2
  2. ; hausmaus@darktech.org - 1:18/200@Fidonet
  3. ; Written on 12 October 2004 at 2035 CDT
  4. ;
  5. ; This is public domain.  However, I wouldn't suggest changing
  6. ; anything except the "D:\TG" part for it to work. :)
  7. ;
  8. ; This works here for me-I hope it works for you!
  9. ;
  10. ; Usage inside TG/2:
  11. ;4. Command    -E - Execute Script
  12. ;5. Options    "door32 d:\tg\doorbat\oracle.cmd ~CN"
  13. ;
  14. ;I pass the node number to the batch file for my multinode
  15. ;setup I run.
  16. ;
  17. VARIABLE TEMP STRING
  18. VARIABLE BBSDIR STRING "D:\TG\TEMP~CN\"
  19. FILECREATE DOOR32.SYS
  20. ; Comm type (0=local, 1=serial, 2=telnet)
  21. ; ALWAYS KEEP THIS AT 1.  Remember, if you're using SIO/VMODEM,
  22. ; you're using com ports, NOT telnet sockets.  That's only under
  23. ; Win32.  I'd recommend using the door's -L command line if you
  24. ; are going to run it locally under the BBS.
  25. FILEPUT "1"
  26. ; Comm or socket handle
  27. FILEPUT "~2P"
  28. ; Baud rate
  29. FILEPUT "~CB"
  30. ; BBSID (software name and version)
  31. FILEPUT "Telegard/2 ~SV"
  32. ; User record position (1-based)
  33. ; NOTE: I think TG uses 0-based record positions (it always
  34. ; reports mine as 0 as the sysop), so if you use this, be sure
  35. ; to increment the number by one.
  36. FILEPUT "~UN"
  37. ; User's real name
  38. FILEPUT "~UR"
  39. ; User's handle/alias 
  40. FILEPUT "~UH"
  41. ; User's security level
  42. FILEPUT "~US"
  43. ; User's time left (in minutes)
  44. FILEPUT "~CM"
  45. ; Emulation *See Below
  46. FILEPUT "~UW"
  47. ; Current node number
  48. FILEPUT "~CN"
  49. FILECLOSE
  50. MENU D-@*@
  51.  
  52. ;* The following are values we've predefined for the emulation:
  53. ;
  54. ; 0 = Ascii
  55. ; 1 = Ansi
  56. ; 2 = Avatar
  57. ; 3 = RIP
  58. ; 4 = Max Graphics
  59. ;
  60. ; Avatar, RIP, and Max Graphics all have ANSI fallback support, so most door
  61. ; libraries that don't support those emulations can just use ANSI if emulation
  62. ; 2, 3, or 4 is encountered.
  63.