WatchDog Module for D2Hackit

This module executes a shell command based upon a timer.
This timer can be set in game. Also you can reset the timer.

The ini

[Default]
Timer=10 ; Duration in seconds
JoinEnabled=0 ; Enabled at game join
LeaveEnabled=0 ; Enabled exiting from a game
Execute=d:/tools/someprog.exe ; Command to execute
Params=SomeArg ; arguments


Module usage:

.watchdog set duration
set the timer duration in seconds... this also modifies ini

.watchdog reset
reset the timer count

.watchdog enable
enables the timer

.watchdog disabel
disables the timer

.watchdog debug
show some debugging infos

-sherpya
