home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beijing Paradise BBS Backup
/
PARADISE.ISO
/
software
/
BBSDOORW
/
DND29C4.ZIP
/
SOURCE.ZIP
/
DNDCNFG.BAS
< prev
next >
Wrap
BASIC Source File
|
1993-01-04
|
93KB
|
3,778 lines
Rem dndcnfg.bas v2.9c
Rem $Include: 'dndbbs.inc'
On Error Goto 10002
Restore Array.Data
For Temp=1 To 8
Read Menu1(Temp), Menu2(Temp,1), Menu2(Temp,2)
Next
Do
TempX=1
Call Display.Main.Screen
Call Status.Line
Do
Strng3=Nul
Do While Strng3=Nul
Strng3=Inkey$
Loop
Select Case Len(Strng3)
Case 1
Select Case Ucase$(Strng3)
Case "L"
Temp=1
Call Main.Menu.Select
Call Main.Edit
Exit Do
Case "P"
Temp=2
Call Main.Menu.Select
Call Main.Edit
Exit Do
Case "F"
Temp=3
Call Main.Menu.Select
Call Main.Edit
Exit Do
Case "R"
Temp=4
Call Main.Menu.Select
Call Main.Edit
Exit Do
Case "C"
Temp=5
Call Main.Menu.Select
Call Main.Edit
Exit Do
Case "M"
Temp=6
Call Main.Menu.Select
Call Main.Edit
Exit Do
Case "E"
Temp=7
Call Main.Menu.Select
Call Main.Edit
Exit Do
Case "Q"
Temp=8
Call Main.Menu.Select
Error 99
Case Chr$(4)
Call Load.Defaults
Call Status.Line
Case Chr$(9)
Call Main.Select
Case Chr$(13)
Call Main.Edit
If TempX=8 Then
Error 99
Endif
Exit Do
Case Chr$(18)
Call Load.Config
Call Status.Line
Case Chr$(23)
Call Write.Config
Call Status.Line
Case Chr$(27)
Error 99
End Select
Case 2
Call Main.Select
If Strng3=Chr$(13) Then
Call Main.Edit
If TempX=8 Then
Error 99
Endif
Exit Do
Endif
End Select
Loop
Loop
10001
Call Clear.Screen
If Chained Then
Chain DND.Path$+"dndbbs.exe"
Endif
End
10002
Resume 10001
Sub Display.Main.Screen
On Local Error Goto 10022
Locate ,,1
Strng=Chr$(27)+"[1;33;44m"
Call Scrn(Strng)
Strng=Chr$(27)+"[2J"
Call Scrn(Strng)
Strng=Chr$(27)+"[2;2H"
Call Scrn(Strng)
Strng=Chr$(214)
Call Scrn(Strng)
Strng=String$(76,196)
Call Scrn(Strng)
Strng=Chr$(183)
Call Scrn(Strng)
Strng=Chr$(27)+"[1;36;44m"
Call Scrn(Strng)
Strng=Chr$(27)+"[4;20H"
Call Scrn(Strng)
Strng2="Dungeons and Dragons Bulletin Board System"
Call Scrn(Strng2)
Strng=Chr$(27)+"[6;25H"
Call Scrn(Strng)
Strng2="Sysop Configuration Version "+Version$
Call Scrn(Strng2)
Strng=Chr$(27)+"[1;33;44m"
Call Scrn(Strng)
Temp1=1
For Temp=3 To 23
Strng=Chr$(27)+"[1;33;44m"
Call Scrn(Strng)
Strng2=Chr$(27)+"["+Mid$(Str$(Temp),2)+";2H"
Call Scrn(Strng2)
Strng=Chr$(186)
Call Scrn(Strng)
If Temp=Menu2(Temp1,1) Then
Strng2=Chr$(27)+"["+Mid$(Str$(Menu2(Temp1,1)),2)+";"+_
Mid$(Str$(Menu2(Temp1,2)),2)+"H"
Call Scrn(Strng2)
Strng2="F"+Mid$(Str$(Temp1),2)+" "
Call Scrn(Strng2)
If Temp1=1 Then
Strng=Chr$(27)+"[1;37;41m"
Call Scrn(Strng)
Strng2=Left$(Menu1(Temp1),1)
Call Scrn(Strng2)
Strng=Chr$(27)+"[1;33;41m"
Call Scrn(Strng)
Strng2=Mid$(Menu1(Temp1),2)
Strng2=Rtrim$(Strng2)
Call Scrn(Strng2)
Else
Strng=Chr$(27)+"[1;37;44m"
Call Scrn(Strng)
Strng2=Left$(Menu1(Temp1),1)
Call Scrn(Strng2)
Strng=Chr$(27)+"[1;33;44m"
Call Scrn(Strng)
Strng2=Mid$(Menu1(Temp1),2)
Strng2=Rtrim$(Strng2)
Call Scrn(Strng2)
Endif
Strng=Chr$(27)+"[1;33;44m"
Call Scrn(Strng)
Strng2=Chr$(27)+"["+Mid$(Str$(Menu2(Temp1+4,1)),2)+";"+_
Mid$(Str$(Menu2(Temp1+4,2)),2)+"H"
Call Scrn(Strng2)
Strng2="F"+Right$(Str$(Temp1+4),1)+" "
Call Scrn(Strng2)
Strng=Chr$(27)+"[1;37;44m"
Call Scrn(Strng)
Strng2=Left$(Menu1(Temp1+4),1)
Call Scrn(Strng2)
Strng=Chr$(27)+"[1;33;44m"
Call Scrn(Strng)
Strng2=Mid$(Menu1(Temp1+4),2)
Strng2=Rtrim$(Strng2)
Call Scrn(Strng2)
Temp1=Temp1+1
Endif
Strng2=Chr$(27)+"["+Mid$(Str$(Temp),2)+";79H"
Call Scrn(Strng2)
Strng=Chr$(186)
Call Scrn(Strng)
Next
Strng=Chr$(27)+"[24;2H"
Call Scrn(Strng)
Strng=Chr$(211)
Call Scrn(Strng)
Strng=String$(76,196)
Call Scrn(Strng)
Strng=Chr$(189)
Call Scrn(Strng)
10021
Exit Sub
10022
Resume 10021
End Sub
Sub Main.Edit
On Local Error Goto 10032
Select Case TempX
Case 1
Call Edit.Page.One
Case 2
Call Edit.Page.Two
Case 3
Call Edit.Page.Three
Case 4
Call Edit.Page.Four
Case 5
Call Edit.Page.Five
Case 6
Call Edit.Page.Six
Case 7
Call Edit.Page.Seven
End Select
10031
Exit Sub
10032
Resume 10031
End Sub
Sub Edit.Page.One
On Local Error Goto 10042
Call Display.Page.One
For Temp=1 To 21
Call Select.Page.One(Temp)
Next
Do
Call Option.Prompt
Select Case Temp1
Case 0
Exit Sub
Case 1 To 20
Call Data.Prompt
Select Case Temp1
Case 1
Config1(1)=Temp!
Case 2
Config1(2)=Temp!
Case 3
Config1(3)=Temp!
Case 4
Config2(1)=Temp!
Case 5
Config2(2)=False
If Yes Then
Config2(2)=True
Endif
Case 6
Config2(3)=False
If Yes Then
Config2(3)=True
Endif
Case 7
Config2(4)=False
If Yes Then
Config2(4)=True
Endif
Case 8
Config3(1)=Strng3
Case 9
Config3(2)=Strng3
Case 10
Config2(5)=False
If Yes Then
Config2(5)=True
Endif
Case 11
Config3(3)=Strng3
Case 12
Config2(6)=False
If Yes Then
Config2(6)=True
Endif
Case 13
Config3(4)=Strng3
Case 14
Config2(38)=False
If Yes Then
Config2(38)=True
Endif
Case 15
Config3(5)=Strng3
Case 16
Config2(7)=False
If Yes Then
Config2(7)=True
Endif
Case 17
Config2(8)=Temp!
Case 18
Config2(9)=Temp!
Case 19
Config1(4)=Temp!
Case 20
Config2(32)=Temp!
End Select
Call Select.Page.One(Temp1)
Case 21
Strng2=Chr$(27)+"[1;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2J"
Call Scrn(Strng2)
Strng2="Increments for players during level increase."
Call Scrn(Strng2)
For Temp=1 To 10
Strng2=Chr$(27)+"["+Mid$(Str$(Temp*2),2)+";1H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[0;37;44m"
Call Scrn(Strng2)
Strng2=Rtrim$(Class.Name(Temp))+"/"+_
Rtrim$(High.Class.Name(Temp))+"."
Call Scrn(Strng2)
For Temp1=1 To 4
Call Display.Class
Next
Next
Do
Call Option.Prompt
Select Case Temp1
Case 0
Exit Sub
Case 1 To 40
Call Data.Prompt
Temp=Int((Temp1-1)/4)
Temp1=Temp1-Temp*4
Temp=Temp+1
Training.Room(Temp,Temp1)=Temp!
Call Display.Class
End Select
Loop
Case 22
Call Display.Page.One.Two
For Temp=22 To 37
Call Select.Page.One(Temp)
Next
Do
Call Option.Prompt
Select Case Temp1
Case 0
Exit Sub
Case 22 To 37
Call Data.Prompt
Select Case Temp1
Case 22
Config2(67)=Temp!
Case 23
Config3(77)=Strng3
Case 24
Config2(51)=False
If Yes Then
Config2(51)=True
Endif
Case 25
Config2(52)=False
If Yes Then
Config2(52)=True
Endif
Case 26
Config2(53)=False
If Yes Then
Config2(53)=True
Endif
Case 27
Config2(54)=False
If Yes Then
Config2(54)=True
Endif
Case 28
Config2(72)=False
If Yes Then
Config2(72)=True
Endif
Case 29
Config2(73)=False
If Yes Then
Config2(73)=True
Endif
Case 30
Config2(84)=False
If Yes Then
Config2(84)=True
Endif
Case 31
Config2(85)=False
If Yes Then
Config2(85)=True
Endif
Case 32
Config2(74)=False
If Yes Then
Config2(74)=True
Endif
Case 33
Config2(75)=False
If Yes Then
Config2(75)=True
Endif
Case 34
Config2(76)=False
If Yes Then
Config2(76)=True
Endif
Case 35
Config2(77)=False
If Yes Then
Config2(77)=True
Endif
Case 36
Config2(78)=False
If Yes Then
Config2(78)=True
Endif
Case 37
Config2(48)=False
If Yes Then
Config2(48)=True
Endif
End Select
Case 38
Strng2=Chr$(27)+"[1;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2J"
Call Scrn(Strng2)
Strng2="Custom level ten class names."
Call Scrn(Strng2)
For Temp=1 To 10
Strng2=Chr$(27)+"["+Mid$(Str$(Temp+1),2)+";1H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[0;37;44m"
Call Scrn(Strng2)
Strng2=Mid$(Str$(Temp),2)+": "+_
Rtrim$(Class.Name(Temp))+"/"+_
Rtrim$(High.Class.Name(Temp))+"."
Call Scrn(Strng2)
Next
Do
Call Option.Prompt
Select Case Temp1
Case 0
Exit Sub
Case 1 To 10
Call Data.Prompt
If Len(Strng3) Then
Mid$(Strng3,1,1)=Ucase$(Mid$(Strng3,1,1))
High.Class.Name(Temp1)=Strng3
Endif
Strng2=Chr$(27)+"["+Mid$(Str$(Temp1+1),2)+";1H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[0;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Mid$(Str$(Temp1),2)+": "+_
Rtrim$(Class.Name(Temp1))+"/"+_
Rtrim$(High.Class.Name(Temp1))+"."
Call Scrn(Strng2)
End Select
Loop
Case 39
Exit Do
End Select
Call Select.Page.One(Temp1)
Loop
Call Display.Page.One
For Temp=1 To 21
Call Select.Page.One(Temp)
Next
End Select
Loop
10041
Exit Sub
10042
Resume 10041
End Sub
Sub Edit.Page.Two
On Local Error Goto 10052
Call Display.Page.Two
For Temp=1 To 21
Call Select.Page.Two(Temp)
Next
Do
Call Option.Prompt
Select Case Temp1
Case 0
Exit Sub
Case 1 To 21
Call Data.Prompt
Select Case Temp1
Case 1
Config2(10)=Temp!
Case 2
Config2(11)=Temp!
Case 3
Config2(12)=Temp!
Case 4
Select Case Ucase$(Strng3)
Case "H"
Config2(13)=True
Case "V"
Config2(13)=False
End Select
Case 5
Config2(14)=False
If Yes Then
Config2(14)=True
Endif
Case 6
Config3(6)=Strng3
Case 7
Config2(61)=False
If Yes Then
Config2(61)=True
Endif
Case 8
Config3(14)=Strng3
Case 9
Config2(15)=Temp!
Case 10
Config2(16)=False
If Yes Then
Config2(16)=True
Endif
Case 11
Config2(17)=False
If Yes Then
Config2(17)=True
Endif
Case 12
Config2(18)=False
If Yes Then
Config2(18)=True
Endif
Case 13
Config2(19)=False
If Yes Then
Config2(19)=True
Endif
Case 14
Config2(20)=False
If Yes Then
Config2(20)=True
Endif
Case 15
Config2(21)=Temp!
Case 16
Config2(22)=Temp!
Case 17
Config2(23)=Temp!
Case 18
Config2(82)=Temp!
Case 19
Config2(24)=Temp!
Case 20
Config1(5)=Temp!/100
Case 21
Config3(7)=Strng3
End Select
Call Select.Page.Two(Temp1)
Case 22
Call Display.Page.Two.Two
For Temp=22 To 41
Call Select.Page.Two(Temp)
Next
Do
Call Option.Prompt
Select Case Temp1
Case 0
Exit Sub
Case 22 To 41
Call Data.Prompt
Select Case Temp1
Case 22
Config3(8)=Strng3
Case 23
Config3(9)=Strng3
Case 24
Config3(10)=Strng3
Case 25
Config2(39)=False
If Yes Then
Config2(39)=True
Endif
Case 26
Config2(44)=False
If Yes Then
Config2(44)=True
Endif
Case 27
Config2(58)=False
If Yes Then
Config2(58)=True
Endif
Case 28
Config2(37)=Temp!
Case 29
Config1(9)=Temp!/100
Case 30
Config2(62)=Temp!
Case 31
Config2(43)=Temp!
Case 32
Config1(27)=Temp!/100
Case 33
Config2(42)=Temp!
Case 34
Config1(26)=Temp!/100
Case 35
Config2(41)=Temp!
Case 36
Config1(25)=Temp!/100
Case 37
Config2(40)=Temp!
Case 38
Config1(30)=Temp!
Case 39
Config1(10)=Temp!
Case 40
Config2(50)=False
If Yes Then
Config2(50)=True
Endif
Case 41
Config2(81)=False
If Yes Then
Config2(81)=True
Endif
End Select
Call Select.Page.Two(Temp1)
Case 42
Exit Do
End Select
Loop
Call Display.Page.Two
For Temp=1 To 21
Call Select.Page.Two(Temp)
Next
End Select
Loop
10051
Exit Sub
10052
Resume 10051
End Sub
Sub Edit.Page.Three
On Local Error Goto 10062
Call Display.Page.Three
For Temp=1 To 21
Call Select.Page.Three(Temp)
Next
Do
Call Option.Prompt
Select Case Temp1
Case 0
Exit Sub
Case 1 To 21
Call Data.Prompt
Strng3=Ucase$(Strng3)
Select Case Temp1
Case 1
Config3(11)=Strng3
If Strng3<>Nul Then
If Right$(Strng3,1)<>"\" Then
Config3(11)=Config3(11)+"\"
Endif
Endif
Case 2
Config3(52)=Strng3
If Strng3<>Nul Then
If Right$(Strng3,1)<>"\" Then
Config3(52)=Config3(52)+"\"
Endif
Endif
Case 3
Config3(53)=Strng3
If Strng3<>Nul Then
If Right$(Strng3,1)<>"\" Then
Config3(53)=Config3(53)+"\"
Endif
Endif
Case 4
Config3(15)=Strng3
Case 5
Config3(57)=Strng3
Case 6
Config3(62)=Strng3
Case 7
Config3(72)=Strng3
Case 8
Config3(67)=Strng3
Case 9
Config3(70)=Strng3
Case 10
Config3(73)=Strng3
Case 11
Config3(75)=Strng3
Case 12
Config3(56)=Strng3
Case 13
Config3(63)=Strng3
Case 14
Config3(16)=Strng3
Case 15
Config3(17)=Strng3
Case 16
Config3(18)=Strng3
Case 17
Config3(19)=Strng3
Case 18
Config3(20)=Strng3
Case 19
Config3(21)=Strng3
Case 20
Config3(12)=Strng3
Case 21
Config3(49)=Strng3
End Select
Call Select.Page.Three(Temp1)
Case 22
Call Display.Page.Three.Two
For Temp=22 To 36
Call Select.Page.Three(Temp)
Next
Do
Call Option.Prompt
Select Case Temp1
Case 0
Exit Sub
Case 22 To 36
Call Data.Prompt
Strng3=Ucase$(Strng3)
Select Case Temp1
Case 22
Config3(13)=Strng3
Case 23
Config3(28)=Strng3
Case 24
Config3(50)=Strng3
Case 25
Config3(22)=Strng3
Case 26
Config3(58)=Strng3
Case 27
Config3(60)=Strng3
Case 28
Config3(59)=Strng3
Case 29
Config3(64)=Strng3
Case 30
Config3(65)=Strng3
Case 31
Config3(68)=Strng3
Case 32
Config3(69)=Strng3
Case 33
Config3(76)=Strng3
Case 34
Config3(61)=Strng3
Case 35
Config3(51)=Strng3
If Strng3<>Nul Then
If Right$(Strng3,1)<>"\" Then
Config3(51)=Config3(51)+"\"
Endif
Endif
Case 36
Config3(54)=Strng3
If Strng3<>Nul Then
If Right$(Strng3,1)<>"\" Then
Config3(54)=Config3(54)+"\"
Endif
Endif
End Select
Call Select.Page.Three(Temp1)
Case 37
Exit Do
End Select
Loop
Call Display.Page.Three
For Temp=1 To 21
Call Select.Page.Three(Temp)
Next
End Select
Loop
10061
Exit Sub
10062
Resume 10061
End Sub
Sub Edit.Page.Four
On Local Error Goto 10072
Call Display.Page.Four
For Temp=1 To 12
Call Select.Page.Four(Temp)
Next
Do
Call Option.Prompt
Select Case Temp1
Case 0
Exit Do
Case 1 To 12
Call Data.Prompt
Select Case Temp1
Case 1
Config3(24)=Strng3
Case 2
Config3(25)=Strng3
Case 3
Room.Array(1)=Strng3
Case 4
Room.Array(2)=Strng3
Case 5
Room.Array(3)=Strng3
Case 6
Room.Array(4)=Strng3
Case 7
Room.Array(5)=Strng3
Case 8
Room.Array(6)=Strng3
Case 9
Room.Array(7)=Strng3
Case 10
Room.Array(8)=Strng3
Case 11
Room.Array(9)=Strng3
Case 12
Room.Array(10)=Strng3
End Select
Call Select.Page.Four(Temp1)
End Select
Loop
10071
Exit Sub
10072
Resume 10071
End Sub
Sub Edit.Page.Five
On Local Error Goto 10082
Call Display.Page.Five
For Temp=1 To 21
Call Select.Page.Five(Temp)
Next
Do
Call Option.Prompt
Select Case Temp1
Case 0
Exit Sub
Case 1,3 To 21
Call Data.Prompt
Select Case Temp1
Case 1
Config3(74)=Strng3
Case 3
Config1(11)=Temp!/100
Case 4
Config1(12)=Temp!/100
Case 5
Config1(13)=Temp!/100
Case 6
Config1(14)=Temp!/100
Case 7
Config1(15)=Temp!
Case 8
Config2(27)=Temp!
Case 9
Config2(28)=Temp!
Case 10
Config1(16)=Temp!/100
Case 11
Config2(29)=Temp!
Case 12
Config2(30)=Temp!
Case 13
Config1(17)=Temp!/100
Case 14
Config1(18)=Temp!/100
Case 15
Config1(19)=Temp!/100
Case 16
Config2(82)=Temp!
Case 17
Config1(20)=Temp!/100
Case 18
Config2(33)=Temp!
Case 19
Config2(34)=Temp!
Case 20
Config1(21)=Temp!/100
Case 21
Config2(35)=Temp!
End Select
Call Select.Page.Five(Temp1)
Case 22
Call Display.Page.Five.Two
For Temp=22 To 31
Call Select.Page.Five(Temp)
Next
Do
Call Option.Prompt
Select Case Temp1
Case 0
Exit Sub
Case 22 To 30
Call Data.Prompt
Select Case Temp1
Case 22
Config2(36)=Temp!
Case 23
Config1(22)=Temp!/100
Case 24
Config1(24)=Temp!/100
Case 25
Config2(55)=False
If Yes Then
Config2(55)=True
Endif
Case 26
Config2(59)=Temp!
Case 27
Config2(68)=False
If Yes Then
Config2(68)=True
Endif
Case 28
Config2(69)=Temp!
Case 29
Config2(70)=False
If Yes Then
Config2(70)=True
Endif
Case 30
Config2(71)=False
If Yes Then
Config2(71)=True
Endif
End Select
Call Select.Page.Five(Temp1)
Case 31
Exit Do
End Select
Loop
Call Display.Page.Five
For Temp=1 To 21
Call Select.Page.Five(Temp)
Next
End Select
Loop
10081
Exit Sub
10082
Resume 10081
End Sub
Sub Edit.Page.Six
On Local Error Goto 10092
Call Display.Page.Six
For Temp=1 To 15
Call Select.Page.Six(Temp)
Next
Do
Call Option.Prompt
Select Case Temp1
Case 0
Exit Sub
Case 1 To 15
Call Data.Prompt
Select Case Temp1
Case 1
If Temp!>=1 And Temp!<=8 Then
Config2(46)=Temp!
Endif
Case 2
Config2(47)=False
If Yes Then
Config2(47)=True
Endif
Case 3
Config3(38)=Ucase$(Strng3)
If Right$(Config3(38),1)<>"\" Then
Config3(38)=Config3(38)+"\"
Endif
Case 4
Config3(42)=Strng3
Case 5
Select Case Temp!
Case 1
Config2(57)=1
Config3(39)="ATM0E0Q0V1X1"
Case 2
Config2(57)=2
Config3(39)="ATM0E0Q0V1X1&C1&D2"
Case 3
Config2(57)=3
Config3(39)="ATM0E0Q0V1X1&C1&D2S0=1S2=255"
Case 4
Call Data.Prompt.Two
Config2(57)=4
Config3(39)=Ucase$(Strng3)
Case 5
Config2(57)=5
Config3(39)="ATZ"
End Select
Case 6
Config3(40)=Strng3
Case 7
Config3(41)=Strng3
Case 8
Config2(56)=Temp!
Case 9
Config2(64)=Temp!/100
Case 10
Config2(60)=Temp!
Case 11
Config2(45)=False
If Yes Then
Config2(45)=True
Endif
Case 12
Config2(79)=False
If Yes Then
Config2(79)=True
Endif
Case 13
Config2(80)=False
If Yes Then
Config2(80)=True
Endif
Case 14
Config2(65)=False
If Yes Then
Config2(65)=True
Endif
Case 15
If Ucase$(Strng3)="S" Then
Config2(83)=True
Else
If Ucase$(Strng3)="C" Then
Config2(83)=False
Endif
Endif
End Select
Call Select.Page.Six(Temp1)
End Select
Loop
10091
Exit Sub
10092
Resume 10091
End Sub
Sub Edit.Page.Seven
On Local Error Goto 10102
Call Display.Page.Seven
For Temp=1 To 13
Call Select.Page.Seven(Temp)
Next
Do
Call Option.Prompt
Select Case Temp1
Case 0
Exit Sub
Case 1 To 13
Call Data.Prompt
Select Case Temp1
Case 1
Config2(63)=False
If Yes Then
Config2(63)=True
Endif
Case 2
Config3(29)=Strng3
Case 3
Config3(30)=Strng3
Case 4
Config3(31)=Strng3
Case 5
Config3(32)=Strng3
Case 6
Config3(33)=Strng3
Case 7
Config3(34)=Strng3
Case 8
Config3(35)=Strng3
Case 9
Config3(36)=Strng3
Case 10
Config3(37)=Strng3
Case 11
Config3(43)=Strng3
Case 12
Config3(44)=Strng3
Case 13
Config3(45)=Strng3
End Select
Call Select.Page.Seven(Temp1)
Case 14
Restore Equate.Data
For Temp=1 To 9
Read Config3(28+Temp)
Next
Read Config3(43),Config3(44),Config3(45)
Strng2=Chr$(27)+"[1;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[24;1H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="Default equations loaded."
Call Scrn(Strng2)
For Temp=1 To 13
Call Select.Page.Seven(Temp)
Next
End Select
Loop
10101
Exit Sub
10102
Resume 10101
End Sub
Sub Display.Page.One
On Local Error Goto 10112
Strng2=Chr$(27)+"[0;1;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2J"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[0;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[1;1H1. Level one user time limit(minutes):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2;1H2. Above level one user time limit(minutes):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[3;1H3. DM and sysop time limit(minutes):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[4;1H4. User call limit:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[5;1H5. Users remain invisible after previous call:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[6;1H6. Display date/time immediately after carrier:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[7;1H7. Display prelog file after date/time(logon):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[8;1H8. Prelog file name(8 char.):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[9;1H9. New user message to remember password:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[10;1H10. Display welcome file:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[11;1H11. Welcome file name(8 char.):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[12;1H12. Display notice file:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[13;1H13. Notice file name(8 char.):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[14;1H14. Display mail waiting message after notice file:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[15;1H15. Roll new character prompt:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[16;1H16. New user logon can create DM:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[17;1H17. New user minimum character statistic:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[18;1H18. New user maximum character statistic:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[19;1H19. New user maximum average character statistic:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[20;1H20. Starting player gold:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[21;1H21. Players level increase increments."
Call Scrn(Strng2)
Strng2=Chr$(27)+"[22;1H22. <next page>"
Call Scrn(Strng2)
10111
Exit Sub
10112
Resume 10111
End Sub
Sub Display.Page.One.Two
On Local Error Goto 10122
Strng2=Chr$(27)+"[0;1;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2J"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[0;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[1;1H22. User relogin minimum level(zero=disable):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2;1H23. Use new character prompt:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[3;1H24. Automatic random stat roll during login:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[4;1H25. Skip raising stats during login:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[5;1H26. Compute alignment/proficiency for user during login:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[6;1H27. Compute race/class for user during login:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[7;1H28. Prompt user for ANSI:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[8;1H29. Auto detect ANSI:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[9;1H30. Prompt user for AVATAR:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[10;1H31. Auto detect AVATAR:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[11;1H32. Prompt user to quit adventure on logoff:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[12;1H33. Display time left on logoff:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[13;1H34. Display top ten on logoff:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[14;1H35. Display logoff file on logoff:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[15;1H36. Prompt user to end adventure:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[16;1H37. Activate level ten class names:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[17;1H38. Custom level ten class names."
Call Scrn(Strng2)
Strng2=Chr$(27)+"[18;1H39. <previous page>"
Call Scrn(Strng2)
10121
Exit Sub
10122
Resume 10121
End Sub
Sub Display.Page.Two
On Local Error Goto 10132
Strng2=Chr$(27)+"[0;1;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2J"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[0;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[1;1H1. Health rate(rounds number before increasing stats):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2;1H2. Encounter rate(rounds number before monster check):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[3;1H3. Minimum user level for brief mode:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[4;1H4. Visible or hiding beginning game(V/H):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[5;1H5. Prompt user to begin adventure:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[6;1H6. Begin adventure user prompt:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[7;1H7. New codename logon continue/hangup/restart prompt:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[8;1H8. Continue/hangup/restart prompt:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[9;1H9. Room number for user when non-descrip room found:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[10;1H10. Abort program when non-descrip room file found:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[11;1H11. Brief mode room number/monster class display:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[12;1H12. Display room description exits:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[13;1H13. Display room description monsters:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[14;1H14. Display room description objects and treasure:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[15;1H15. Health rate update fatigue increment:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[16;1H16. Health rate update vitality increment:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[17;1H17. Health rate update magic points increment:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[18;1H18. Health rate update psionic points increment:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[19;1H19. Poison player health rate update vitality decrement:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[20;1H20. Encounter rate update monster percent:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[21;1H21. Verbose action prompt:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[22;1H22. <next page>"
Call Scrn(Strng2)
10131
Exit Sub
10132
Resume 10131
End Sub
Sub Display.Page.Two.Two
On Local Error Goto 10142
Strng2=Chr$(27)+"[0;1;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2J"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[0;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[1;1H22. Brief action prompt:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2;1H23. DM command prefix:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[3;1H24. Repeat last command character:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[4;1H25. User death not resurrected hangup:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[5;1H26. Automatic user train:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[6;1H27. Treasure remains in room:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[7;1H28. Monster regenerate hits beginning level:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[8;1H29. Monster hits regenerating percentage:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[9;1H30. Maximum monster hits regeneration:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[10;1H31. Hand attack multiplier(punch!):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[11;1H32. Double damage percentage:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[12;1H33. Double damage multiplier:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[13;1H34. Triple damage percentage:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[14;1H35. Triple damage multiplier:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[15;1H36. Deathly damage percentage:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[16;1H37. Deathly damage multiplier:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[17;1H38. Bank account daily compounded interest rate:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[18;1H39. Bank account daily compounded lending rate:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[19;1H40. Shops are open to the public:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[20;1H41. Remote DM can edit passwords:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[21;1H42. <previous page>"
Call Scrn(Strng2)
10141
Exit Sub
10142
Resume 10141
End Sub
Sub Display.Page.Three
On Local Error Goto 10152
Strng2=Chr$(27)+"[0;1;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2J"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[0;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[1;1H1. Data files path name:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2;1H2. Documentation files path name:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[3;1H3. Temporary path name(or RAM disk):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[4;1H4. Data files extension(form: .ext):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[5;1H5. Receptacles file extension(form: .ext):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[6;1H6. Documentation files extension(form: .ext):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[7;1H7. Dayfile logging name(form: filename.ext):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[8;1H8. User daylog file name(form: filename.ext):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[9;1H9. Exit to DOS file name(form: 7 letters):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[10;1H10. User report logging name(form: 7 letters):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[11;1H11. Temporary file name(form: 7 letters):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[12;1H12. Help data file name(form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[13;1H13. DM help data file name(form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[14;1H14. Room file name(form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[15;1H15. Object file name(form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[16;1H16. Monster file name(form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[17;1H17. Treasure file name(form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[18;1H18. Spell file name(form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[19;1H19. User file name(form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[20;1H20. Monster class file name(form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[21;1H21. Lastuser file name(form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[22;1H22. <next page>"
Call Scrn(Strng2)
10151
Exit Sub
10152
Resume 10151
End Sub
Sub Display.Page.Three.Two
On Local Error Goto 10162
Strng2=Chr$(27)+"[0;1;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2J"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[0;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[1;1H22. Monster talk file name(form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2;1H23. Logoff file name(form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[3;1H24. Summary file name(form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[4;1H25. Non player character file name(form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[5;1H26. Public message file name(form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[6;1H27. Private message file name(form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[7;1H28. Message base file name file(form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[8;1H29. Hint documentation file name(form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[9;1H30. Catalog documentation file name(form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[10;1H31. Message work file name(form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[11;1H32. Alternate message work file name (form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[12;1H33. Sysop edit help file name(form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[13;1H34. Logon help file name(form: filename):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[14;1H35. Receptacle files path name:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[15;1H36. Message files path name:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[16;1H37. <previous page>"
Call Scrn(Strng2)
10161
Exit Sub
10162
Resume 10161
End Sub
Sub Display.Page.Four
On Local Error Goto 10172
Strng2=Chr$(27)+"[0;1;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2J"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[1;1H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[1;33m"
Call Scrn(Strng2)
Strng2="Multiple rooms for 3 - 12 can be separated on one line with commas."
Call Scrn(Strng2)
Strng2=Chr$(27)+"[0;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2;1H1. Clerical resurrection room number:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[3;1H2. Jail room number:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[4;1H3. Fighter training area room numbers:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[5;1H4. Magic user training area room numbers:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[6;1H5. Thieves training area room numbers:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[7;1H6. Clerics training area room numbers:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[8;1H7. Paladin training area room numbers:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[9;1H8. Rangers training area room numbers:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[10;1H9. Druid training area room numbers:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[11;1H10. Lady training area room numbers:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[12;1H11. Assistant DM training area room numbers:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[13;1H12. DM training area room numbers:"
Call Scrn(Strng2)
10171
Exit Sub
10172
Resume 10171
End Sub
Sub Display.Page.Five
On Local Error Goto 10182
Strng2=Chr$(27)+"[0;1;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2J"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[0;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[1;1H1. Weapons shoppe treasure list(separate with commas):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[3;1H3. Find invisible object percent chance searched for:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[4;1H4. Percent chance ammunition explodes:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[5;1H5. Percent chance ammunition discharges harmlessly:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[6;1H6. Monster hits percentage damage monster flees:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[7;1H7. Monster level multiplier gold accepts offer:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[8;1H8. Treasure plus monster accepts and leaves:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[9;1H9. Minimum fix broken treasure wisdom:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[10;1H10. Percent chance fixing treasure fails:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[11;1H11. Maximum treasure plus user can fix:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[12;1H12. Maximum strikes fixed item restored:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[13;1H13. Blacksmith: percent item charged to repair:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[14;1H14. Alchemist: percent item charged to repair:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[15;1H15. Broker: percent item offered to buy:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[16;1H16. Maximum user training statistic:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[17;1H17. Maximum appeal fatigue percent:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[18;1H18. Minimum smash open portal strength:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[19;1H19. Minimum smash open portal intelligence:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[20;1H20. Percent chance smash open portal fails:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[21;1H21. Thieves minimum picklock strength:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[22;1H22. <next page>"
Call Scrn(Strng2)
10181
Exit Sub
10182
Resume 10181
End Sub
Sub Display.Page.Five.Two
On Local Error Goto 10192
Strng2=Chr$(27)+"[0;1;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2J"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[0;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[1;1H22. Thieves minimum picklock intelligence:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2;1H23. Percent chance picklocking portal fails:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[3;1H24. Percent chance monster treasure inventory:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[4;1H25. Offline user fights:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[5;1H26. Minimum user level to identify:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[6;1H27. Disable sysop page for chat:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[7;1H28. Minimum user level user to page sysop(zero for any):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[8;1H29. Delete old daylog on new date:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[9;1H30. Delete old dayfile on new date:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[10;1H31. <previous page>"
Call Scrn(Strng2)
10191
Exit Sub
10192
Resume 10191
End Sub
Sub Display.Page.Six
On Local Error Goto 10202
Strng2=Chr$(27)+"[0;1;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2J"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[0;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[1;1H1. Communication port number:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2;1H2. DNDBBS is an RBBS Door:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[3;1H3. DOOR information file path name:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[4;1H4. Modem reset command:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[5;1H5. Modem init command(1-5):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[6;1H6. Modem answer command:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[7;1H7. Modem off hook command:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[8;1H8. No input timeout(seconds):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[9;1H9. Modem open baud rate:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[10;1H10. No carrier after ring timeout(seconds):"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[11;1H11. 300 baud access:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[12;1H12. Enable xon/xoff flow control:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[13;1H13. Enable RTS/CTS flow control:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[14;1H14. Enable locked baud rate:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[15;1H15. Shell/Chain external programs(S/C):"
Call Scrn(Strng2)
10201
Exit Sub
10202
Resume 10201
End Sub
Sub Display.Page.Seven
On Local Error Goto 10212
Strng2=Chr$(27)+"[0;1;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2J"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[0;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[1;1H1. Custom equations:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[2;1H2. Monster attack formula:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[3;1H3. User attack formula:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[4;1H4. Monster attack miss equation:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[5;1H5. User attack miss equation:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[6;1H6. Player turn undead equation:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[7;1H7. Player feint equation:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[8;1H8. Player circle equation:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[9;1H9. Player fumble equation:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[10;1H10. User fights hit points formula:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[11;1H11. User psionic attack formula:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[12;1H12. Monster psionic attack formula:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[13;1H13. Successful constitution roll equation:"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[14;1H14. Load equation defaults."
Call Scrn(Strng2)
10211
Exit Sub
10212
Resume 10211
End Sub
Sub Select.Page.One(VarX)
On Local Error Goto 10222
Strng2=Chr$(27)+"[1;37;44m"
Call Scrn(Strng2)
Select Case VarX
Case 1
Strng2=Chr$(27)+"[1;39H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(1))
Call Scrn(Strng2)
Case 2
Strng2=Chr$(27)+"[2;45H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(2))
Call Scrn(Strng2)
Case 3
Strng2=Chr$(27)+"[3;37H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(3))
Call Scrn(Strng2)
Case 4
Strng2=Chr$(27)+"[4;20H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(1))
Call Scrn(Strng2)
Case 5
Strng2=Chr$(27)+"[5;48H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(2) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 6
Strng2=Chr$(27)+"[6;49H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(3) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 7
Strng2=Chr$(27)+"[7;48H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(4) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 8
Strng2=Chr$(27)+"[8;31H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(1)
Call Scrn(Strng2)
Case 9
Strng2=Chr$(27)+"[9;43H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Left$(Config3(2),36)
Call Scrn(Strng2)
Case 10
Strng2=Chr$(27)+"[10;27H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(5) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 11
Strng2=Chr$(27)+"[11;33H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(3)
Call Scrn(Strng2)
Case 12
Strng2=Chr$(27)+"[12;26H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(6) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 13
Strng2=Chr$(27)+"[13;32H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(4)
Call Scrn(Strng2)
Case 14
Strng2=Chr$(27)+"[14;53H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(38) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 15
Strng2=Chr$(27)+"[15;32H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Left$(Config3(5),47)
Call Scrn(Strng2)
Case 16
Strng2=Chr$(27)+"[16;35H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(7) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 17
Strng2=Chr$(27)+"[17;42H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(8))
Call Scrn(Strng2)
Case 18
Strng2=Chr$(27)+"[18;42H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(9))
Call Scrn(Strng2)
Case 19
Strng2=Chr$(27)+"[19;50H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(4))
Call Scrn(Strng2)
Case 20
Strng2=Chr$(27)+"[20;26H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(32))
Call Scrn(Strng2)
Case 22
Strng2=Chr$(27)+"[1;46H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(67))
Call Scrn(Strng2)
Case 23
Strng2=Chr$(27)+"[2;31H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Left$(Config3(77),49)
Call Scrn(Strng2)
Case 24
Strng2=Chr$(27)+"[3;46H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(51) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 25
Strng2=Chr$(27)+"[4;38H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(52) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 26
Strng2=Chr$(27)+"[5;58H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(53) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 27
Strng2=Chr$(27)+"[6;47H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(54) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 28
Strng2=Chr$(27)+"[7;27H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(72) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 29
Strng2=Chr$(27)+"[8;23H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(73) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 30
Strng2=Chr$(27)+"[9;29H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(84) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 31
Strng2=Chr$(27)+"[10;25H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(85) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 32
Strng2=Chr$(27)+"[11;46H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(74) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 33
Strng2=Chr$(27)+"[12;34H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(75) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 34
Strng2=Chr$(27)+"[13;32H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(76) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 35
Strng2=Chr$(27)+"[14;36H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(77) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 36
Strng2=Chr$(27)+"[15;35H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(78) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 37
Strng2=Chr$(27)+"[16;37H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(48) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
End Select
10221
Exit Sub
10222
Resume 10221
End Sub
Sub Select.Page.Two(VarX)
On Local Error Goto 10232
Strng2=Chr$(27)+"[1;37;44m"
Call Scrn(Strng2)
Select Case VarX
Case 1
Strng2=Chr$(27)+"[1;55H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(10))
Call Scrn(Strng2)
Case 2
Strng2=Chr$(27)+"[2;55H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(11))
Call Scrn(Strng2)
Case 3
Strng2=Chr$(27)+"[3;38H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(12))
Call Scrn(Strng2)
Case 4
Strng2=Chr$(27)+"[4;43H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="Visible"
If Config2(13) Then
Strng2="Hidden"
Endif
Call Scrn(Strng2)
Case 5
Strng2=Chr$(27)+"[5;36H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(14) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 6
Strng2=Chr$(27)+"[6;33H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Left$(Config3(6),45)
Call Scrn(Strng2)
Case 7
Strng2=Chr$(27)+"[7;55H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(61) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 8
Strng2=Chr$(27)+"[8;36H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Left$(Config3(14),43)
Call Scrn(Strng2)
Case 9
Strng2=Chr$(27)+"[9;53H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(15))
Call Scrn(Strng2)
Case 10
Strng2=Chr$(27)+"[10;53H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(16) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 11
Strng2=Chr$(27)+"[11;51H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(17) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 12
Strng2=Chr$(27)+"[12;37H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(18) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 13
Strng2=Chr$(27)+"[13;40H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(19) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 14
Strng2=Chr$(27)+"[14;52H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(20) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 15
Strng2=Chr$(27)+"[15;42H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(21))
Call Scrn(Strng2)
Case 16
Strng2=Chr$(27)+"[16;43H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(22))
Call Scrn(Strng2)
Case 17
Strng2=Chr$(27)+"[17;47H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(23))
Call Scrn(Strng2)
Case 18
Strng2=Chr$(27)+"[18;49H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(82))
Call Scrn(Strng2)
Case 19
Strng2=Chr$(27)+"[19;57H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(24))
Call Scrn(Strng2)
Case 20
Strng2=Chr$(27)+"[20;43H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(5)*100)
Call Scrn(Strng2)
Case 21
Strng2=Chr$(27)+"[21;28H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(7)
Call Scrn(Strng2)
Case 22
Strng2=Chr$(27)+"[1;26H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(8)
Call Scrn(Strng2)
Case 23
Strng2=Chr$(27)+"[2;24H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(9)
Call Scrn(Strng2)
Case 24
Strng2=Chr$(27)+"[3;36H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(10)
Call Scrn(Strng2)
Case 25
Strng2=Chr$(27)+"[4;40H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(39) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 26
Strng2=Chr$(27)+"[5;27H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(44) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 27
Strng2=Chr$(27)+"[6;31H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(58) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 28
Strng2=Chr$(27)+"[7;45H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(37))
Call Scrn(Strng2)
Case 29
Strng2=Chr$(27)+"[8;42H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(9)*100)
Call Scrn(Strng2)
Case 30
Strng2=Chr$(27)+"[9;39H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(62))
Call Scrn(Strng2)
Case 31
Strng2=Chr$(27)+"[10;37H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(43))
Call Scrn(Strng2)
Case 32
Strng2=Chr$(27)+"[11;30H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(27)*100)
Call Scrn(Strng2)
Case 33
Strng2=Chr$(27)+"[12;30H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(42))
Call Scrn(Strng2)
Case 34
Strng2=Chr$(27)+"[13;30H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(26)*100)
Call Scrn(Strng2)
Case 35
Strng2=Chr$(27)+"[14;30H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(41))
Call Scrn(Strng2)
Case 36
Strng2=Chr$(27)+"[15;31H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(25)*100)
Call Scrn(Strng2)
Case 37
Strng2=Chr$(27)+"[16;31H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(40))
Call Scrn(Strng2)
Case 38
Strng2=Chr$(27)+"[17;49H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(30))
Call Scrn(Strng2)
Case 39
Strng2=Chr$(27)+"[18;48H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(10))
Call Scrn(Strng2)
Case 40
Strng2=Chr$(27)+"[19;35H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(50) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 41
Strng2=Chr$(27)+"[20;35H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(81) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
End Select
10231
Exit Sub
10232
Resume 10231
End Sub
Sub Select.Page.Three(VarX)
On Local Error Goto 10242
Strng2=Chr$(27)+"[1;37;44m"
Call Scrn(Strng2)
Select Case VarX
Case 1
Strng2=Chr$(27)+"[1;26H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(11)
Call Scrn(Strng2)
Case 2
Strng2=Chr$(27)+"[2;35H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(52)
Call Scrn(Strng2)
Case 3
Strng2=Chr$(27)+"[3;38H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(53)
Call Scrn(Strng2)
Case 4
Strng2=Chr$(27)+"[4;38H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(15)
Call Scrn(Strng2)
Case 5
Strng2=Chr$(27)+"[5;44H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(57)
Call Scrn(Strng2)
Case 6
Strng2=Chr$(27)+"[6;47H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(62)
Call Scrn(Strng2)
Case 7
Strng2=Chr$(27)+"[7;46H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(72)
Call Scrn(Strng2)
Case 8
Strng2=Chr$(27)+"[8;47H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(67)
Call Scrn(Strng2)
Case 9
Strng2=Chr$(27)+"[9;44H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(70)
Call Scrn(Strng2)
Case 10
Strng2=Chr$(27)+"[10;48H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(73)
Call Scrn(Strng2)
Case 11
Strng2=Chr$(27)+"[11;43H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(75)
Call Scrn(Strng2)
Case 12
Strng2=Chr$(27)+"[12;42H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(56)
Call Scrn(Strng2)
Case 13
Strng2=Chr$(27)+"[13;45H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(63)
Call Scrn(Strng2)
Case 14
Strng2=Chr$(27)+"[14;37H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(16)
Call Scrn(Strng2)
Case 15
Strng2=Chr$(27)+"[15;39H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(17)
Call Scrn(Strng2)
Case 16
Strng2=Chr$(27)+"[16;40H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(18)
Call Scrn(Strng2)
Case 17
Strng2=Chr$(27)+"[17;41H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(19)
Call Scrn(Strng2)
Case 18
Strng2=Chr$(27)+"[18;38H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(20)
Call Scrn(Strng2)
Case 19
Strng2=Chr$(27)+"[19;37H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(21)
Call Scrn(Strng2)
Case 20
Strng2=Chr$(27)+"[20;46H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(12)
Call Scrn(Strng2)
Case 21
Strng2=Chr$(27)+"[21;41H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(49)
Call Scrn(Strng2)
Case 22
Strng2=Chr$(27)+"[1;45H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(13)
Call Scrn(Strng2)
Case 23
Strng2=Chr$(27)+"[2;39H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(28)
Call Scrn(Strng2)
Case 24
Strng2=Chr$(27)+"[3;40H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(50)
Call Scrn(Strng2)
Case 25
Strng2=Chr$(27)+"[4;53H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(22)
Call Scrn(Strng2)
Case 26
Strng2=Chr$(27)+"[5;47H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(58)
Call Scrn(Strng2)
Case 27
Strng2=Chr$(27)+"[6;48H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(60)
Call Scrn(Strng2)
Case 28
Strng2=Chr$(27)+"[7;50H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(59)
Call Scrn(Strng2)
Case 29
Strng2=Chr$(27)+"[8;51H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(64)
Call Scrn(Strng2)
Case 30
Strng2=Chr$(27)+"[9;54H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(65)
Call Scrn(Strng2)
Case 31
Strng2=Chr$(27)+"[10;45H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(68)
Call Scrn(Strng2)
Case 32
Strng2=Chr$(27)+"[11;56H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(69)
Call Scrn(Strng2)
Case 33
Strng2=Chr$(27)+"[12;48H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(76)
Call Scrn(Strng2)
Case 34
Strng2=Chr$(27)+"[13;43H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(61)
Call Scrn(Strng2)
Case 35
Strng2=Chr$(27)+"[14;33H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(51)
Call Scrn(Strng2)
Case 36
Strng2=Chr$(27)+"[15;30H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(54)
Call Scrn(Strng2)
End Select
10241
Exit Sub
10242
Resume 10241
End Sub
Sub Select.Page.Four(VarX)
On Local Error Goto 10252
Strng2=Chr$(27)+"[1;37;44m"
Call Scrn(Strng2)
Select Case VarX
Case 1
Strng2=Chr$(27)+"[2;39H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Left$(Config3(24),30)
Call Scrn(Strng2)
Case 2
Strng2=Chr$(27)+"[3;22H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Left$(Config3(25),57)
Call Scrn(Strng2)
Case 3
Strng2=Chr$(27)+"[4;40H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Left$(Room.Array(1),25)
Call Scrn(Strng2)
Case 4
Strng2=Chr$(27)+"[5;43H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Left$(Room.Array(2),25)
Call Scrn(Strng2)
Case 5
Strng2=Chr$(27)+"[6;40H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Left$(Room.Array(3),25)
Call Scrn(Strng2)
Case 6
Strng2=Chr$(27)+"[7;40H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Left$(Room.Array(4),25)
Call Scrn(Strng2)
Case 7
Strng2=Chr$(27)+"[8;40H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Left$(Room.Array(5),25)
Call Scrn(Strng2)
Case 8
Strng2=Chr$(27)+"[9;40H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Left$(Room.Array(6),25)
Call Scrn(Strng2)
Case 9
Strng2=Chr$(27)+"[10;38H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Left$(Room.Array(7),25)
Call Scrn(Strng2)
Case 10
Strng2=Chr$(27)+"[11;38H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Left$(Room.Array(8),25)
Call Scrn(Strng2)
Case 11
Strng2=Chr$(27)+"[12;46H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Left$(Room.Array(9),25)
Call Scrn(Strng2)
Case 12
Strng2=Chr$(27)+"[13;36H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Left$(Room.Array(10),25)
Call Scrn(Strng2)
End Select
10251
Exit Sub
10252
Resume 10251
End Sub
Sub Select.Page.Five(VarX)
On Local Error Goto 10262
Strng2=Chr$(27)+"[1;37;44m"
Call Scrn(Strng2)
Select Case VarX
Case 1
Strng2=Chr$(27)+"[2;1H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(74)
Call Scrn(Strng2)
Case 3
Strng2=Chr$(27)+"[3;54H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(11)*100)
Call Scrn(Strng2)
Case 4
Strng2=Chr$(27)+"[4;39H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(12)*100)
Call Scrn(Strng2)
Case 5
Strng2=Chr$(27)+"[5;52H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(13)*100)
Call Scrn(Strng2)
Case 6
Strng2=Chr$(27)+"[6;49H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(14)*100)
Call Scrn(Strng2)
Case 7
Strng2=Chr$(27)+"[7;48H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(15))
Call Scrn(Strng2)
Case 8
Strng2=Chr$(27)+"[8;45H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(27))
Call Scrn(Strng2)
Case 9
Strng2=Chr$(27)+"[9;39H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(28))
Call Scrn(Strng2)
Case 10
Strng2=Chr$(27)+"[10;42H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(16)*100)
Call Scrn(Strng2)
Case 11
Strng2=Chr$(27)+"[11;40H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(29))
Call Scrn(Strng2)
Case 12
Strng2=Chr$(27)+"[12;41H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(30))
Call Scrn(Strng2)
Case 13
Strng2=Chr$(27)+"[13;48H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(17)*100)
Call Scrn(Strng2)
Case 14
Strng2=Chr$(27)+"[14;47H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(18)*100)
Call Scrn(Strng2)
Case 15
Strng2=Chr$(27)+"[15;41H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(19)*100)
Call Scrn(Strng2)
Case 16
Strng2=Chr$(27)+"[16;37H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(31))
Call Scrn(Strng2)
Case 17
Strng2=Chr$(27)+"[17;36H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(20)*100)
Call Scrn(Strng2)
Case 18
Strng2=Chr$(27)+"[18;40H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(33))
Call Scrn(Strng2)
Case 19
Strng2=Chr$(27)+"[19;44H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(34))
Call Scrn(Strng2)
Case 20
Strng2=Chr$(27)+"[20;44H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(21)*100)
Call Scrn(Strng2)
Case 21
Strng2=Chr$(27)+"[21;39H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(35))
Call Scrn(Strng2)
Case 22
Strng2=Chr$(27)+"[1;43H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(36))
Call Scrn(Strng2)
Case 23
Strng2=Chr$(27)+"[2;45H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(22)*100)
Call Scrn(Strng2)
Case 24
Strng2=Chr$(27)+"[3;47H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config1(24)*100)
Call Scrn(Strng2)
Case 25
Strng2=Chr$(27)+"[4;26H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(55) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 26
Strng2=Chr$(27)+"[5;36H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(59))
Call Scrn(Strng2)
Case 27
Strng2=Chr$(27)+"[6;34H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(68) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 28
Strng2=Chr$(27)+"[7;57H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(69))
Call Scrn(Strng2)
Case 29
Strng2=Chr$(27)+"[8;36H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(70) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 30
Strng2=Chr$(27)+"[9;37H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(71) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
End Select
10261
Exit Sub
10262
Resume 10261
End Sub
Sub Select.Page.Six(VarX)
On Local Error Goto 10272
Strng2=Chr$(27)+"[1;37;44m"
Call Scrn(Strng2)
Select Case VarX
Case 1
Strng2=Chr$(27)+"[1;31H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="COM"+Mid$(Str$(Config2(46)),2)+":"
Call Scrn(Strng2)
Case 2
Strng2=Chr$(27)+"[2;28H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(47) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 3
Strng2=Chr$(27)+"[3;37H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(38)
Call Scrn(Strng2)
Case 4
Strng2=Chr$(27)+"[4;25H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(42)
Call Scrn(Strng2)
Case 5
Strng2=Chr$(27)+"[5;29H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(39)
Call Scrn(Strng2)
Case 6
Strng2=Chr$(27)+"[6;26H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(40)
Call Scrn(Strng2)
Case 7
Strng2=Chr$(27)+"[7;28H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(41)
Call Scrn(Strng2)
Case 8
Strng2=Chr$(27)+"[8;30H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(56))
Call Scrn(Strng2)
Case 9
Strng2=Chr$(27)+"[9;25H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(64))+"00"
Call Scrn(Strng2)
Case 10
Strng2=Chr$(27)+"[10;44H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Str$(Config2(60))
Call Scrn(Strng2)
Case 11
Strng2=Chr$(27)+"[11;22H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(45) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 12
Strng2=Chr$(27)+"[12;35H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(79) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 13
Strng2=Chr$(27)+"[13;34H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(80) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 14
Strng2=Chr$(27)+"[14;30H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(65) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 15
Strng2=Chr$(27)+"[15;41H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="Chain
If Config2(83) Then
Strng2="Shell"
Endif
Call Scrn(Strng2)
End Select
10271
Exit Sub
10272
Resume 10271
End Sub
Sub Select.Page.Seven(VarX)
On Local Error Goto 10282
Strng2=Chr$(27)+"[1;37;44m"
Call Scrn(Strng2)
Select Case VarX
Case 1
Strng2=Chr$(27)+"[1;22H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="No"
If Config2(63) Then
Strng2="Yes"
Endif
Call Scrn(Strng2)
Case 2
Strng2=Chr$(27)+"[2;28H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(29)
Call Scrn(Strng2)
Case 3
Strng2=Chr$(27)+"[3;25H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(30)
Call Scrn(Strng2)
Case 4
Strng2=Chr$(27)+"[4;34H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(31)
Call Scrn(Strng2)
Case 5
Strng2=Chr$(27)+"[5;31H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(32)
Call Scrn(Strng2)
Case 6
Strng2=Chr$(27)+"[6;33H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(33)
Call Scrn(Strng2)
Case 7
Strng2=Chr$(27)+"[7;27H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(34)
Call Scrn(Strng2)
Case 8
Strng2=Chr$(27)+"[8;28H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(35)
Call Scrn(Strng2)
Case 9
Strng2=Chr$(27)+"[9;28H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(36)
Call Scrn(Strng2)
Case 10
Strng2=Chr$(27)+"[10;37H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(37)
Call Scrn(Strng2)
Case 11
Strng2=Chr$(27)+"[11;34H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(43)
Call Scrn(Strng2)
Case 12
Strng2=Chr$(27)+"[12;37H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(44)
Call Scrn(Strng2)
Case 13
Strng2=Chr$(27)+"[13;44H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Config3(45)
Call Scrn(Strng2)
End Select
10281
Exit Sub
10282
Resume 10281
End Sub
Sub Main.Select
On Local Error Goto 10292
Temp=False
Select Case Len(Strng3)
Case 1
TempQ=Asc(Strng3)
Case 2
TempQ=Asc(Right$(Strng3,1))
End Select
Select Case TempQ
Case 59 To 68
Temp=TempQ-58
Strng3=Chr$(13)
Case 72
If TempX>1 Then
Temp=TempX-1
Endif
Case 80
If TempX<8 Then
Temp=TempX+1
Endif
Case 15, 75
If TempX>4 Then
Temp=TempX-4
Endif
Case 9, 77
If TempX<5 Then
Temp=TempX+4
Endif
Case 71
If TempX<>1 Then
Temp=1
Endif
Case 79
If TempX<>8 Then
Temp=8
Endif
Case 73
If TempX<5 And TempX<>1 Then
Temp=1
Endif
If TempX>4 And TempX<>5 Then
Temp=5
Endif
Case 81
If TempX<5 And TempX<>4 Then
Temp=4
Endif
If TempX>4 And TempX<>8 Then
Temp=8
Endif
End Select
If Temp Then
Call Main.Menu.Select
Endif
10291
Exit Sub
10292
Resume 10291
End Sub
Sub Main.Menu.Select
On Local Error Goto 10302
Strng2=Chr$(27)+"["+Mid$(Str$(Menu2(TempX,1)),2)+";"+_
Mid$(Str$(Menu2(TempX,2)+3),2)+"H"
Call Scrn(Strng2)
Strng=Chr$(27)+"[1;37;44m"
Call Scrn(Strng)
Strng2=Left$(Menu1(TempX),1)
Call Scrn(Strng2)
Strng=Chr$(27)+"[1;33;44m"
Call Scrn(Strng)
Strng2=Mid$(Menu1(TempX),2)
Strng2=Rtrim$(Strng2)
Call Scrn(Strng2)
TempX=Temp
Strng2=Chr$(27)+"["+Mid$(Str$(Menu2(TempX,1)),2)+";"+_
Mid$(Str$(Menu2(TempX,2)+3),2)+"H"
Call Scrn(Strng2)
Strng=Chr$(27)+"[1;37;41m"
Call Scrn(Strng)
Strng2=Left$(Menu1(TempX),1)
Call Scrn(Strng2)
Strng=Chr$(27)+"[1;33;41m"
Call Scrn(Strng)
Strng2=Mid$(Menu1(TempX),2)
Strng2=Rtrim$(Strng2)
Call Scrn(Strng2)
10301
Exit Sub
10302
Resume 10301
End Sub
Sub Read.Config
On Local Error Goto 10312
Data.Error=False
DND.Path$=Environ$("DNDBBS")
If DND.Path$<>Nul Then
If Right$(DND.Path$,1)<>"\" Then
DND.Path$=DND.Path$+"\"
Endif
Endif
TempA$=DND.Path$+FileName$
Redim Command.Set1(1 To 83, 1 To 5) As String*12,_
Command.Set2(1 To 83, 1 To 5) As String*12,_
Sysop.Commands1(1 To 9) As String*10,_
Sysop.Commands2(1 To 9) As String*10
Close 1
Open TempA$ For Input Shared As #1
For Temp=1 To 10
For Temp1=1 To 4
Input #1,Training.Room(Temp,Temp1)
Next
Next
For Temp=1 To 10
Line Input #1,Room.Array(Temp)
Next
For Temp=1 To 30
Input #1,Config1(Temp)
Next
For Temp=1 To 85
Input #1,Config2(Temp)
Next
For Temp=1 To 77
Line Input #1,Config3(Temp)
Next
For Temp=1 To 10
Line Input #1,High.Class.Name(Temp)
Next
For Temp2=1 To 8
Line Input #1,Race(Temp2)
Next
For Temp2=1 To 10
Line Input #1,Class.Name(Temp2)
Next
For Temp2=1 To 7
Line Input #1,Stat(Temp2)
Next
For Temp2=1 To 11
Line Input #1,Direction(Temp2)
Next
For Temp2=1 To 10
Line Input #1,Numeral(Temp2)
Next
For Temp2=1 To 4
Line Input #1,Weapon.Type.Name(Temp2)
Next
For Temp2=1 To 3
Line Input #1,Alignment.Name1(Temp2)
Next
For Temp2=1 To 3
Line Input #1,Alignment.Name2(Temp2)
Next
For Temp2=1 To 70
Line Input #1,Strip.Data(Temp2)
Next
For Temp2=1 To 83
For Temp3=1 To 5
Line Input #1,Command.Set1(Temp2, Temp3)
Next
Next
For Temp2=1 To 83
For Temp3=1 To 5
Line Input #1,Command.Set2(Temp2, Temp3)
Next
Next
For Temp2=1 To 9
Line Input #1,Sysop.Commands1(Temp2)
Next
For Temp2=1 To 9
Line Input #1,Sysop.Commands2(Temp2)
Next
For Temp2=1 To 10
Line Input #1,Temp$
Input #1,Temp3
Input #1,Temp4
Next
Call Get.Environment
If Not Eof(1) Then
Error 99
Endif
10311
Exit Sub
10312
Data.Error=True
Resume 10311
End Sub
Sub Load.Defaults
On Local Error Goto 10322
FileName$="default.cfg"
Call Read.Config
Strng3=" Default configuration loaded."
If Data.Error Then
Strng3=" Error reading file "+FileName$+" from disk."
Endif
Strng3=Strng3+" Press "+Enter$+" to continue."
Call Status.Message
10321
Exit Sub
10322
Resume 10321
End Sub
Sub Get.Environment
On Local Error Goto 10332
Strng2=Environ$("DNDDAT")
Strng2=Ucase$(Strng2)
If Strng2<>Nul Then
Config3(11)=Strng2
If Right$(Config3(11),1)<>"\" Then
Config3(11)=Config3(11)+"\"
Endif
Endif
Strng2=Environ$("DNDDOC")
Strng2=Ucase$(Strng2)
If Strng2<>Nul Then
Config3(52)=Strng2
If Right$(Config3(52),1)<>"\" Then
Config3(52)=Config3(52)+"\"
Endif
Endif
Strng2=Environ$("DNDTEMP")
Strng2=Ucase$(Strng2)
If Strng2<>Nul Then
Config3(53)=Strng2
If Right$(Config3(53),1)<>"\" Then
Config3(53)=Config3(53)+"\"
Endif
Endif
Strng2=Environ$("DNDDOOR")
Strng2=Ucase$(Strng2)
If Strng2<>Nul Then
Config3(38)=Strng2
If Right$(Config3(38),1)<>"\" Then
Config3(38)=Config3(38)+"\"
Endif
Endif
10331
Exit Sub
10332
Resume 10331
End Sub
Sub Load.Config
On Local Error Goto 10342
Strng3=Nul
Call Status.Message
Strng2="Enter node number(0 To 9, A To Z, or press "+Enter$+" for BBS node)"
Call Scrn(Strng2)
Strng3=Input$(1)
Select Case Ucase$(Strng3)
Case Chr$(13)
Strng3=Nul
Case "0" To "9", "A" To "Z"
Strng3=Ucase$(Strng3)
Case Else
Strng3=" Error in node number, node must be: "+_
"0 To 9, A To Z, or "+Enter$+" for none."
Call Status.Message
Exit Sub
End Select
FileName$="dndbbs"+Strng3+".cfg"
Call Read.Config
Strng3=" File "+FileName$+" read from disk."
If Data.Error Then
Strng3=" Error reading file "+FileName$+" from disk."
Endif
Strng3=Strng3+" Press "+Enter$+" to continue."
Call Status.Message
10341
Exit Sub
10342
Resume 10341
End Sub
Sub Write.Config
On Local Error Goto 10352
Strng3=Nul
Call Status.Message
Strng2="Enter node number(0 To 9, A To Z, or press "+Enter$+" for BBS node)"
Call Scrn(Strng2)
Strng3=Input$(1)
Select Case Ucase$(Strng3)
Case Chr$(13)
Strng3=Nul
Case "0" To "9", "A" To "Z"
Strng3=Ucase$(Strng3)
Case Else
Strng3=" Error in node number, node must be: "+_
"0 To 9, A To Z, or "+Enter$+" for none."
Call Status.Message
Exit Sub
End Select
FileName$="dndbbs"+Strng3+".cfg"
TempA$=DND.Path$+FileName$
Close 1
Open TempA$ For Output Shared As #1
For Temp=1 To 10
For Temp1=1 To 4
Print #1,Training.Room(Temp,Temp1)
Next
Next
For Temp=1 To 10
Print #1,Room.Array(Temp)
Next
For Temp=1 To 30
Print #1,Config1(Temp)
Next
For Temp=1 To 85
Print #1,Config2(Temp)
Next
For Temp=1 To 77
Print #1,Config3(Temp)
Next
For Temp=1 To 10
Print #1,High.Class.Name(Temp)
Next
For Temp2=1 To 8
Print #1,Race(Temp2)
Next
For Temp2=1 To 10
Print #1,Class.Name(Temp2)
Next
For Temp2=1 To 7
Print #1,Stat(Temp2)
Next
For Temp2=1 To 11
Print #1,Direction(Temp2)
Next
For Temp2=1 To 10
Print #1,Numeral(Temp2)
Next
For Temp2=1 To 4
Print #1,Weapon.Type.Name(Temp2)
Next
For Temp2=1 To 3
Print #1,Alignment.Name1(Temp2)
Next
For Temp2=1 To 3
Print #1,Alignment.Name2(Temp2)
Next
For Temp2=1 To 70
Print #1,Strip.Data(Temp2)
Next
For Temp1=1 To 83
For Temp2=1 To 5
Print #1,Rtrim$(Command.Set1(Temp1,Temp2))
Next
Next
For Temp1=1 To 83
For Temp2=1 To 5
Print #1,Rtrim$(Command.Set2(Temp1,Temp2))
Next
Next
For Temp1=1 To 9
Print #1,Rtrim$(Sysop.Commands1(Temp1))
Next
For Temp1=1 To 9
Print #1,Rtrim$(Sysop.Commands2(Temp1))
Next
Restore Config.Array.Data
For Temp1=1 To 10
Read Temp$, Temp2, Temp3
Print #1,Temp$
Print #1,Temp2
Print #1,Temp3
Next
Strng3=" File "+FileName$+" written to disk. Press "+Enter$+" to continue."
10351
Call Status.Message
Exit Sub
10352
Strng3=" Error writing file "+FileName$
Strng3=Strng3+" to disk. Press "+Enter$+" to continue."
Resume 10351
End Sub
Sub Clear.Screen
On Local Error Goto 10362
Strng=Chr$(27)+"[0m"
Call Scrn(Strng)
Strng=Chr$(27)+"[2J"
Call Scrn(Strng)
Strng=Chr$(27)+"[24;1H"
Call Scrn(Strng)
Locate 24,1,1
10361
Exit Sub
10362
Resume 10361
End Sub
Sub Status.Message
On Local Error Goto 10372
Strng=Chr$(27)+"[1;37;44m"
Call Scrn(Strng)
Strng=Chr$(27)+"[22;4H"
Call Scrn(Strng)
Strng=Space$(74)
Call Scrn(Strng)
Strng=Chr$(27)+"[23;4H"
Call Scrn(Strng)
Strng=Space$(74)
Call Scrn(Strng)
Strng=Chr$(27)+"[23;4H"
Call Scrn(Strng)
If Len(Strng3) Then
Call Scrn(Strng3)
Strng3=Input$(1)
Endif
10371
Exit Sub
10372
Resume 10371
End Sub
Sub Data.Prompt
On Local Error Goto 10382
Call Clear.Prompt
Line Input "Enter option data: ",Strng3
Temp!=Val(Strng3)
Yes=(Ucase$(Left$(Strng3,1))="Y")
10381
Exit Sub
10382
Resume 10381
End Sub
Sub Data.Prompt.Two
On Local Error Goto 10392
Call Clear.Prompt
Line Input "Enter second option data: ",Strng3
10391
Exit Sub
10392
Resume 10391
End Sub
Sub Clear.Prompt
On Local Error Goto 10402
Strng2=Chr$(27)+"[1;37m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[24;1H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[23;1H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Locate 23,1,1
10401
Exit Sub
10402
Resume 10401
End Sub
Sub Status.Line
On Local Error Goto 10412
Strng2=Chr$(27)+"[1;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[22;4H"
Call Scrn(Strng2)
Strng2=" Highlight menu choice with cursor keypad, "
Strng2=Strng2+"press "+Enter$+" to select option. "
Call Scrn(Strng2)
Strng2=Chr$(27)+"[23;4H"
Call Scrn(Strng2)
Strng2=" Control-D load default, Control-W write config, "
Strng2=Strng2+"Control-R read config. "
Call Scrn(Strng2)
10411
Exit Sub
10412
Resume 10411
End Sub
Sub Option.Prompt
On Local Error Goto 10422
Strng2=Chr$(27)+"[1;37m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[24;1H"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Strng2="Press "+Enter$+" to return to main menu."
Call Scrn(Strng2)
Strng2=Chr$(27)+"[23;1H
Call Scrn(Strng2)
Strng2=Chr$(27)+"[K"
Call Scrn(Strng2)
Locate 23,1,1
Line Input "Enter Option Number: ",Strng3
Temp1=Val(Strng3)
10421
Exit Sub
10422
Resume 10421
End Sub
Sub Display.Class
On Local Error Goto 10452
Select Case Temp1
Case 1
Strng2=Chr$(27)+"[0;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"["+Mid$(Str$(Temp*2+1),2)+";1H"
Call Scrn(Strng2)
Strng2=Mid$(Str$((Temp-1)*4+1),2)+"."+_
Space$(4-Len(Str$((Temp-1)*4+1)))+"Fatigue"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[1;37;44m"
Call Scrn(Strng2)
Strng2=Str$(Training.Room(Temp,1))
Strng2=Strng2+Space$(7-Len(Strng2))
Call Scrn(Strng2)
Case 2
Strng2=Chr$(27)+"[0;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"["+Mid$(Str$(Temp*2+1),2)+";19H"
Call Scrn(Strng2)
Strng2=Mid$(Str$((Temp-1)*4+2),2)+"."+_
Space$(4-Len(Str$((Temp-1)*4+2)))+"Vitality"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[1;37;44m"
Call Scrn(Strng2)
Strng2=Str$(Training.Room(Temp,2))
Strng2=Strng2+Space$(7-Len(Strng2))
Call Scrn(Strng2)
Case 3
Strng2=Chr$(27)+"[0;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"["+Mid$(Str$(Temp*2+1),2)+";38H"
Call Scrn(Strng2)
Strng2=Mid$(Str$((Temp-1)*4+3),2)+"."+_
Space$(4-Len(Str$((Temp-1)*4+3)))+"Magic"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[1;37;44m"
Call Scrn(Strng2)
Strng2=Str$(Training.Room(Temp,3))
Strng2=Strng2+Space$(7-Len(Strng2))
Call Scrn(Strng2)
Case 4
Strng2=Chr$(27)+"[0;37;44m"
Call Scrn(Strng2)
Strng2=Chr$(27)+"["+Mid$(Str$(Temp*2+1),2)+";54H"
Call Scrn(Strng2)
Strng2=Mid$(Str$((Temp-1)*4+4),2)+"."+_
Space$(4-Len(Str$((Temp-1)*4+4)))+"Psionic"
Call Scrn(Strng2)
Strng2=Chr$(27)+"[1;37;44m"
Call Scrn(Strng2)
Strng2=Str$(Training.Room(Temp,4))
Strng2=Strng2+Space$(7-Len(Strng2))
Call Scrn(Strng2)
End Select
10451
Exit Sub
10452
Resume 10451
End Sub
Sub Scrn(Var$)
On Local Error Goto 10462
Var$=Var$+"$"
InregsX.AX=&H0900
InregsX.DS=Sseg(Var$)
InregsX.DX=Sadd(Var$)
Call InterruptX(&H21,InregsX,OutregsX)
10461
Exit Sub
10462
Resume 10461
End Sub
Array.Data:
Data "Logon Variables",10,15
Data "Processing Variables",12,15
Data "File Variables",14,15
Data "Rooms Variables",16,15
Data "Command Variables",10,50
Data "Modem Variables",12,50
Data "Equation Variables",14,50
Data "Quit Configure",16,50
Equate.Data:
Data "(RND*(MHP/10)-(SH+AR)/2)*XX"
Data "(RND*STR+LVL/2)*(XX+(WP1+WP2+WP3+WP4)/100)+WE"
Data "DEX/2>RND*10+MLVL/10"
Data "RND*10+MLVL/10>DEX/2"
Data "RND*LVL+2>MLVL"
Data "DEX>RND*5+MLVL/2"
Data "RND*5+LVL>MLVL"
Data "RND*15>STR"
Data "(FT+VT+MG)*LF+ST"
Data "(RND*INT+WIS)*(PSIA+XX)"
Data "(RND*(MHP/10)-PSID)*MPSI"
Data "(RND*10+10)+CON/2>20"
Config.Array.Data:
Data "Terminate Program",10,15
Data "Login Sysop",12,15
Data "Edit Utility",14,15
Data "Reconfigure System",16,15
Data "Screen Editor",18,15
Data "Command Shell",10,50
Data "DOS Command",12,50
Data "Auto Answer",14,50
Data "Originate Carrier",16,50
Data "Modem Recycle",18,50