connected.dll 0.11                                connected.txt


General

Connected is a LiteStep module that keeps track of your
internet connection and executes commands when you connect
and/or disconnect.


Installation

Copy connected.dll to your Litestep directory and add a line
like the following to your step.rc file:

  LoadModule $LiteStepDir$connected.dll

After recycling Litestep you will have access to the module.


Bangs

!Connected [connected][disconnected]
Executes whatever is in the connected parameter if you're
connected and what's in disconnected if you're not.


RC settings

ConnectedOnConnect    Command to execute when you connect

ConnectedOnDisconnect Command to execute when you disconnect

ConnectedIfConnected  Command to execute when module is loaded and we are connected

ConnectedIfNotConnected  Command to execute when module is loaded and we are not connected

ConnectedInterval     The ammount of time the module waits
                      between the connection checks. The time
                      is in milliseconds. By adding a trailing
                      s, m or h to the time you can change the
                      timeunit. s is for seconds, m for minutes
                      and h for hours. The sufix should follow
                      the time directly without any space, like
                      5s or 2m. The default interval is 10
                      seconds.


Changes

Date         Ver  Changes
11 aug 2001  0.1  First public release

10 dec 2001  0.11 Added step.rc parameters  (Jesus_mjjg)
   ConnectedIfConnected
   ConnectedIfNotConnected

To-do-list

 * Very simple module, can't think of anything else. If you've
   got any ideas, please send me a mail.


Feedback

If you have a bug report, feature request, or any kind of
feedback, feel free to email it to me at erik@alfafish.com.
For more info and other LiteStep modules and programs, check
out www.alfafish.com


Sourcecode

The sourcecode for this module is distrbuted under the GNU
Public License. If you didn't get the sourcecode with this
module, you can download it from www.alfafish.com

_______________________________________________________________
Erik Christiansson, aka Sci                   erik@alfafish.com
Christian Buffin, aka Jesus_mjjg         Jesus_mjjg@hotmail.com