SCFG > External Programs > Fixed Events
You can put an Internal Code for for a door or a timed event here and it'll run that event upon disconnect. Of course that'd run at every disconnect, even the "improper" disconnects.
What are you trying to do exactly? You could run an event that checks to see how the user exited or something. You could also edit the logoff.js script to do something, since that script is only called when the user hits Log[O]ff it could call the event then continue logging off.
--
Your probably gonna laugh, but In my logon js, I have a external program that logs the caller online for an ansi file for all to see, and then I
have it log the ansi file that the caller is gone, but if they don't disconnect the correct way, it leaves there stats as online. , so I wanted
a way to run the exteral event no matter the way they log off, correct or just drop off in the middle of something like a disconnect. The logoff
you can probably just use the who's on function and edit some stuff in text.dat and add an ansi header and footer that displays before and after the who's on when they press the command key in the shell.
you can probably just use the who's on function and edit some stuff in text.dat and add an ansi header and footer that displays before and after the who's on when they press the command key in the shell.
you can probably just use the who's on function and edit some stuff in text.dat and add an ansi header and footer that displays before and after the who's on when they press the command key in the shell.
I've given up on this, as it's just not going be be stable. It's an old program, and it will drive me crazy. I'm trying to mod another program now in js, which may serve me well, along with the whos on that you suggested.
I posted something in a previous message to all about a command in js that
I need. I'm hard to please, and I strive for perfection, and that is very hard in the bbs world. LOL... Thanks for all of your help, it's
you can do a lot of creative things with user flags too.
i remember this one guy had a last callers and it would have a tick mark showing what that person did. downloaded, uploaded, played games.
pretty sure he assigned user flags temporarily to track that.
Re: Log Off / Dropped Carrier
By: DesotoFireflite to All on Mon Nov 04 2013 08:42 am
Is there a file, that gets run, no matter what on a correct logoff,
and also if someone just disconnects without doing the correct logoff. I have a small cleanup batch file I run, and I want to be able to make sure it runs everytime. right now, it's in my logoff event, but if a user disconnects without a propper logoff, it will not run.
SCFG > External Programs > Fixed Events
You can put an Internal Code for for a door or a timed event here and it'll run that event upon disconnect. Of course that'd run at every disconnect, even the "improper" disconnects.
That's close, but the Fixed Events are actually command-lines (not internal codes) which are executed at that fixed event time. The SCFG help for the "Logout Event" states:
Logout Event:
This is the command line for a program that will execute during the
logout sequence of every user. This program cannot have user
interaction because it is executed after carrier is dropped. If you
wish to have a program execute before carrier is dropped, you probably want to use an Online External Program configured to run as a logoff event.
DesotoFireflite had something to say to Digital Man <=-
I fiqured that out, so I abandoned the project. I'm going to do
something in JS, as it's about time I learn it. It's very powerful, and I'm at the stage with this bbs, that stock programs are not gonna do
what I am looking for. Keeping this in mind, I must remember to Backup, Backup, and Backup again...LOL
| Sysop: | Ragnarok |
|---|---|
| Location: | Dock Sud, Bs As, Argentina |
| Users: | 137 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 363:38:49 |
| Calls: | 15,498 |
| Files: | 20,142 |
| D/L today: |
2 files (45K bytes) |
| Messages: | 1,869,843 |