home *** CD-ROM | disk | FTP | other *** search
- Script
- ABORT OFF
-
- ;-------------------------------------------------------------------
- ; >>>>>> LOGSTAT.SCR File <<<<<<
- ; 4-24-88
- ; By SysOz
- ; Wonderful World of Oz BBS
- ; (12/24) (808) 423-3140
- ;
- ; o Sets BUSY HOURS for Prime Time Peak Hours on the BBS (optional)
- ; o USER can not call right back during BUSY HOURS (optional)
- ; o MAIN SYSOP is not affected durring BUSY HOURS (optional)
- ; o Last Caller Message is displayed (use with LOGOFF.SCR) (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 Is set up if using BAR.COM or CALLSTAT.COM (these Script Files
- ; are also found on this BBS) (optional)
- ;-------------------------------------------------------------------
-
- Define Selection
- Define name = '&1'
- Define last = '&28'
- Define reason
- Define in_effect
- Define max_time = 25 ; Sets NEW Time Limit in Min for BUSY HOURS
-
- Define min = '17:00:00' ; Begin 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 BUSY HOURS at 8:00 pm
- ; NOTE: If NOT using BUSY HOURS, set this
- ; time to '00:00:00'
- Define mil_time = '&34'
-
- Define con
- Define minn
- Define min_today
- con = &32
-
- BEGIN:
-
- If [name] = 'SYSOP' then ; Change this to your REAL NAME or HANDLE
- Goto TOP
- Endif
-
- If mil_time > min then
- If mil_time < max then
- in_effect = 'y'
- reason = 'BUSY Hours In Effect! Time This Call:\r [max_time]\b Min'
- time_limit ([max_time])
- Endif
-
- If in_effect = 'y' then
- If [last] = [name] then ; Checks if this caller was the same as last
- ; caller, so they can not cheat on BUSY HOURS
- BELL
- PrintE
- PrintE '\i********************************************\o' Center
- printe '\i\rYOU AGAIN!\b\o' Center
- printe 'No One Else Has Called Since Your Last Call.' Center
- printe 'This Is \i\"BUSY Hours!\"\o' Center
- printe '\i********************************************\o' Center
- printe 'Call Back Later After \r8\bpm...' Center
- PrintE '\i********************************************\o' Center
- PrintE
- Printe 'BYE!!!' Center
- DISCONNECT
- Endif
-
- If in_effect = 'y' then ; Checks to see if BUSY HOURS are in effect
- BELL
- PrintE
- PrintE
- PrintE '\i=================================================\o' Center
- PrintE '[reason]' Center
- PrintE '\i=================================================\o' Center
- PrintE 'BUSY Hours On This BBS Are From: \r5\bpm - \r8\bpm Daily!' Center
- PrintE '\i=================================================\o' Center
- PrintE
- ; NOTE: If using BUSY HOURS, change the
- ; 3rd Script line above for Your BUSY HOURS
-
- Print 'Press <\rReturn\b> To Cont... ' Center
- Foreground Black
- Input [Selection] 1
- Endif
-
- TOP:
- If in_effect = 'y' then ; Checks to see if BUSY HOURS are in effect
- minn = &33 - con ; Sets 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
-
- Clear Screen
- PrintE
- PrintE 'Welcome, &01' Center
- PrintE
- PrintE 'How Are Things In &05, &06?' Center
- PrintE 'Is The &10 Working OK?' Center
- PrintE '\r^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\b' Center
- PrintE '# Of Callers Today......&27.' Center
- PrintE '\r^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\b' Center
- PrintE 'You: ' Center
- PrintE ' Are Caller..........#&26 ' Center
- PrintE ' Have Called..........&22 Times. ' Center
- PrintE ' Are Calling..........&29 Baud. ' Center
- PrintE ' Last Called On.......&12. ' Center
- PrintE 'Your: ' Center
- PrintE ' Uploads Are..........&19. ' Center
- PrintE ' Downloads Are........&18. ' Center
- PrintE ' D/L Ratio is.....&17 to 1. ' Center
- PrintE '\r^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\b' Center
- PrintE 'Your: ' Center
- PrintE ' Minutes On Today:........ &15 ' Center
- PrintE ' Time Connected This Call: &32 ' Center
- PrintE ' Time Remaining This Call: [minn]' Center
- PrintE ' Time Limit Per Day:...... &14' Center
- PrintE ' Time Limit Per Call:..... &13' Center
- PrintE '\r^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\b' Center
- PrintE ' Todays Date.........&24 ' Center
- PrintE ' Current (HST) Time..&23 ' Center
- PrintE '\r^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\b' Center
- PrintE 'The Last Caller Was &28.' Center
- PrintE '\r^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\b' Center
- PrintE 'The Last Callers Message For You Is..' Center
- PrintE '\r^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\b' Center
-
- ; Delete the previous 2 lines of
- ; Script, if NOT using Last Callers Msg.
- PrintE
- Bell
- View C:\Message.Txt Noabort ; Change this or delete this line if
- ; NOT using Last Callers Msg
- Endif
- Print 'Press <\rReturn\b> To Cont... ' Center
- Input [Selection] 1
- Execute C:\Script\Callstat.Com ; Delete this line, if NOT using
- ; BAR.COM or CALLSTAT.COM
- Endəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəə