home *** CD-ROM | disk | FTP | other *** search
- Script
- Clear Screen
- Clear Variables
-
- ;-------------------------------------------------------------------
- ; >>>>>> USERSTAT.SCR File <<<<<<
- ; 4-24-88
- ; By SysOz
- ; Wonderful World of Oz BBS
- ; (12/24) (808) 423-3140
- ;
- ; o Checks for BUSY HOURS for Prime Time Peak Hours on
- ; the BBS! (optional)
- ; o Shows accurate "Time Remaning This Call" for users showing the
- ; time used for the day and how much time the has left
- ; o Checks for 40 Col. and 80 Col. users
- ; o Uses the "Expand" Script File Command, so more than one variable
- ; can be displayed on a single line
- ; o Neat on appearence, easy to read for the user!
- ;-------------------------------------------------------------------
-
- Define Width = '&11' ; Checks Video Width for 40 Col. Users
- Define f1
- Define f2
- Define f3
- Define f4
- Define f5
- Define f6
- Define f7
- Define f8
- Define f9
- Define f10
- Define f11
- Define f12
- Define con
- Define minn
- Define min_today
- con = &32 ; Time Connected this call
- Define in_effect
- Define max_time = 25 ; Sets NEW Time Limit for BUSY HOURS
- Define min = '17:00:00' ; Begin Time for BUSY HOURS at 5:00 pm
- ; NOTE: If NOT using BUSY HOURS, set this
- ; time to '00:00:00'
- Define max = '20:00:00' ; End Time for BUSY HOURS at 8:00 pm
- ; NOTE: If NOT using BUSY HOURS, set this
- ; time to '00:00:00'
- Define mil_time = '&34'
-
- If mil_time > min then
- If mil_time < max then
- in_effect = 'y' ; Sets variable ON for BUSY HOURS
-
- If in_effect = 'y' then
- minn = &33 - con ; New Time Remaining this call, if using BUSY HOURS
- Else
- min_today = &15 + con ; Adds Time Connected and Time Used Today
- minn = &33 - min_today ; New Time Remaining, if NOT using BUSY HOURS
- Endif
-
- PrintE
- If Width = 40 then
- PrintE
- PrintE ' Your Statistics '
- PrintE '============================='
- PrintE 'Handle : &01 (User #&31)'
- PrintE 'Name : &02 '
- PrintE 'Computer : &10 '
- PrintE 'Password : &03 '
- PrintE '============================='
- PrintE 'Last Called : &12'
- PrintE 'Total Calls : &22'
- PrintE 'Msgs Posted : &20'
- PrintE 'Hi Read Msg : &16'
- PrintE 'Emails Sent : &21'
- PrintE 'Last Msg Read: &16'
- PrintE 'Baud Rate : &29'
- PrintE 'Time Limit : &14'
- PrintE '=============================='
- PrintE 'Todays Date is: &24'
- PrintE 'Current (HST) Time: &23'
- PrintE '=============================='
- PrintE 'Minutes On Today:......... &15'
- PrintE 'Time Connected This Call:. &32'
- PrintE 'Your Time Limit Remaining: [minn]'
- PrintE 'Your Time Limit Per Day:.. &14'
- PrintE 'Your Time Limit Per Call:. &13'
- PrintE '=============================='
- End
- EXIT
-
- Else
- PrintE '\rYour Statistics\b' Center
- PrintE '^^^^^^^^^^^^^^^' Center
- PrintE
- PrintE ' \iHandle :\o &01 \r(\bUser \r#\b&31\r)\b'
- PrintE ' \iName :\o &02 '
- PrintE ' \iAge :\o &09 '
- PrintE ' \iComputer :\o &10 '
- PrintE ' \iPassword :\o &03 '
- Endif
-
- Set f1 = 'Last Called: &12'
- Set f2 = 'Total Calls : &22'
- Set f3 = 'Uploads : &19'
- Set f4 = 'Msgs Posted : &20'
- Set f5 = 'Downloads : &18'
- Set f6 = 'Hi Read Msg : &16'
- Set f7 = 'File Ratio : &17'
- Set f8 = 'Emails Sent : &21'
- Set f9 = 'Time Limit : &14'
- Set f10 = 'Last Msg Read: &16'
- Set f11 = 'Video Width: &11'
- Set f12 = 'Baud Rate : &29'
- Expand (f1, 24)
- Expand (f3, 24)
- Expand (f5, 24)
- Expand (f7, 24)
- Expand (f9, 24)
- Expand (f11, 24)
- PrintE '\r^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\b' Center
- PrintE 'Todays Date: &24' Center
- PrintE 'Current \r(\bHST\r)\b Time: &23' Center
- PrintE '\r^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\b' Center
- PrintE ' [f1] [f2]'
- PrintE ' [f3] [f4]'
- PrintE ' [f5] [f6]'
- PrintE ' [f7] [f8]'
- PrintE ' [f9] [f10]'
- PrintE ' [f11] [f12]'
- PrintE '\r^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\b' Center
- PrintE 'Your Minutes On Today:........ &15 ' Center
- PrintE 'Your Time Connected This Call: &32 ' Center
- PrintE 'Your Time Remaining This Call: [minn]' Center
- PrintE 'Your Time Limit Per Day:...... &14' Center
- PrintE 'Your Time Limit Per Call:..... &13' Center
- PrintE '\r^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\b' Center
-
- əəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəə