Subj : Re: Discord webook integration
To   : Hunter-Z
From : Tracker1
Date : Sun Oct 24 2021 06:02 am

On 10/23/21 7:27 PM, Hunter-Z wrote:
> +-------------------------+
> |BBS up/down notifications|
> +-------------------------+
> I also don't see any way at all to trigger a "BBS down" event.
> I'm wondering if maybe I should just handle this externally to
> Synchronet, like maybe via a Windows Task Manager job or something?

Down notifications are best done from another system... You can have
that system poll every N minutes to see if you're up, and send a down
notification if it fails... more complexity could be to check every 5
mninutes, then check again every 30s and 5 fails in a row, fire teh
notification.


> +------------------------------+
> |External Program notifications|
> +------------------------------+
> Edit: Forgot to mention this. It would be great if I could somehow
> trigger a script when someone enters a door program, without having to
> edit every door's configuration to integrate it via a batch file or
> whatever.

Edit your command shell to use the xtrn_sec.js module for doors, then
modify that module.... that would probably be the easiest path... I
think that is the name of it, it may just be xtrn.js ... I don't recall
if there's another even that triggers before every door.
--
Michael J. Ryan - [email protected]

---
� Synchronet � Roughneck BBS - roughneckbbs.com