home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 13
/
AACD13.ISO
/
AACD
/
Information
/
WebSites
/
Wirenet
/
files
/
0800timer.lha
/
0800Timer.doc
< prev
next >
Wrap
Text File
|
2000-02-17
|
3KB
|
89 lines
0800Timer - keep track of online time when using U-NET's 0800 service
=====================================================================
Description
===========
This is a short ARexx script that keeps a running tally of time spent
online each weekend, so you can see how much of your six hour
allocation is used.
Installation
============
Copy 0800Timer and 0800Timer.mrx to the same directory. This should be
somewhere in your command path. Users of the Wirenet software should put
them in Wirenet:bin, NetConnect users should put them in AmiTCP:bin.
Running 0800Timer
=================
Usage: 0800Timer INTERFACE,PROGRESS=BAR/S
0800Timer takes two, optional, arguments. The first is the name of the
Interface in Miami or Genesis. This is not needed for Miami and should
not be given. MiamiDx will use the GUI Default interface if this is not
specified. Genesis will default to 'ppp0'. If you are online using any
other interface, give the name as an argument to 0800Timer.
The default action for 0800Timer is to keep a running total of your time
online in the environment variable 0800mins. MCP and Directory Opus are
capable of displaying the contents of an environment variable in the
screen title bar. This means you can keep a running display of your time
online without wasting screen space.
If you want a separate display, give the argument PROGRESS. This opens a
MUI progress bar (you'll need to resize and snapshot it, the default
size is too small). The bar gives a graphic indication of your time
usage as well as a numeric display. The bar will remain when 0800Timer
exits after going offline, to give you an ongoing indication of time
used. The count will restart next time you go online and start
0800Timer. Use the close gadget to close the progress bar, this will
leave 0800Timer running if you are online.
Starting 0800Timer
==================
0800Timer should be run automatically each time you go online. This can
be from Maimi or Genesis' Online script, or by adding
"Run >NIL: 0800Timer"
to Wirenet:UserScripts/PostConnect
Stopping 0800Timer
==================
0800Timer monitors your connection status every minute. it will exit,
and stop counting, once you go offline
Accuracy
========
0800Timer counts minutes in advance, i.e. it registers a minute's usage
at the start of the minute. This means that the figures it shows will be
higher than your actual connect time, by an average of thirty seconds
per connection. However, it is not started until slightly after you
actually connect. This also means that time is logged even if you crash
while online.
By rounding upwards, you know that the remaining time that 0800Timer
indicates really is available, and maybe a few minutes more besides.
This is the safe option if you are using it to make sure you have enough
time remaining to do something such as finish a game or complete a
download.
Bugs
====
There are none, any perceived faults are due to user errors or glitches
in the space-time continuum surrounding your Amiga.