;MAKE SURE THAT the file NETCHECK.bat exists within your mirc directory (folder)
;You MUST have a C: unit to run this script. Otherwise it won't work and I've no
;plans to change this.
on *:load:{
echo -at Please RESTART your mirc copy to make this thing work. Remember to place netcheck.bat within
echo -at your mirc folder.
}
on *:start:{
.timernetstat 0 3600 NET_CHECK
}
alias NET_CHECK {
.run $mircdirnetcheck.bat
window -m @NetCheck 20 20 580 380
.timernetcheck 1 5 echosa
}
alias -l echosa {
.timernetcheck 1 1 echo @NetCheck $timestamp Attempting to display the active connections
.timernetcheck2 1 5 play -a Echos @NetCheck C:\network.txt
}
alias Echos { aline -ap $1 $2- }