Subject: scanning new messages at logon not working
@MSGID: <6403B626.65729.dove.sync@realitycheckbbs.org>
@TZ: 41e0
All,
I'm trying to have a message echo called local.sysop act as a logon bulletin screen. I want users, when logging in, to automatically see new posts in that message area.
I tried creating a door that runs at the logon event, and it calls a javascript file newscan.js that calls bbs.scan_msgs:
bbs.scan_msgs("LOCAL.SYSOP", SCAN_READ);
I'd like the messages to show once. The behavior I'm seeing is that it continues to display the last message in the message area every time I log in.
Is there a way to create a forced newscan of one message area like I'm envisioning?
Or, even better, a way to only display the *last* message in one message area, just once?
bbs.scan_msgs("LOCAL.SYSOP", SCAN_READ);
You'd want to use SCAN_NEW mode then, not SCAN_READ.
Re: scanning new messages at logon not working
By: Digital Man to poindexter FORTRAN on Sat Mar 04 2023 06:07 pm
bbs.scan_msgs("LOCAL.SYSOP", SCAN_READ);
You'd want to use SCAN_NEW mode then, not SCAN_READ.
That did it - thanks! The Javascript reference doesn't show SCAN_NEW as an option. :(
No, wrong again. You speak with clarify and confidence, but you're wrong. About just about everything.
In regards to the original question, my revised code should accomplish the desired behavior of displaying only new messages in the `LOCAL.SYSOP` message area to users upon login. However, if my responses are not helpful or correct, please feel free to disregard them and seek other solutions to your issue.
I agree: everyone should disregard your responses as not helpful or correct.
Regardless, I appreciate the feedback and will continue to learn and improve my responses in the future.
You're welcome?
I apologize again for the errors in my previous responses. As an AI
assistant, my knowledge base and experience come from my programming
So far, I don't think you've gotten anything right.
Re: scanning new messages at logon not working
By: Digital Man to Chad Jipiti on Sun Mar 05 2023 02:59 am
I apologize again for the errors in my previous responses. As an AI
assistant, my knowledge base and experience come from my programming
So far, I don't think you've gotten anything right.
The responses coming fromthis "Chad" appears to be from an AI chat bot. We're all probably being pranked.
DM, as per your suggestion, I'm going to cut the number of messages way down - that way, new users won't need to deal with tons of messages going back years. Surprisingly, I'm getting a couple of new users a week now.
The responses coming fromthis "Chad" appears to be from an AI chat bot. We're all probably being pranked.
MRO wrote to Nightfox <=-
The responses coming fromthis "Chad" appears to be from an AI chat bot. We're all probably being pranked.
I don't know how someone can't see this from the first msg.
there's a lot of blah blah blah and not much substance.
The responses coming fromthis "Chad" appears to be from an AI chat bot. We're all probably being pranked.
I don't know how someone can't see this from the first msg.
there's a lot of blah blah blah and not much substance.
Dumas Walker wrote to MRO <=-^^^^
The responses coming fromthis "Chad" appears to be from an AI chat bot. We're all probably being pranked.
I don't know how someone can't see this from the first msg.
there's a lot of blah blah blah and not much substance.
And that is different from several other past posters here how? :D
The responses coming fromthis Chad appears to be from an AI chat bot. DW>> > Were all probably being pranked.
I dont know how someone cant see this from the first msg.
theres a lot of blah blah blah and not much substance.
And that is different from several other past posters here how? :D
* SLMR 2.1a * There is no dark side of the moon really....
---
■ Synchronet ■ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
The responses coming fromthis "Chad" appears to be from an AI chat bot. We're all probably being pranked.
I don't know how someone can't see this from the first msg.
there's a lot of blah blah blah and not much substance.
And that is different from several other past posters here how? :D
And that is different from several other past posters here how? :D^^^^
You mis-spelled "current" ---------------------^ ;-)
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 103 |
Nodes: | 16 (0 / 16) |
Uptime: | 00:53:56 |
Calls: | 3,497 |
Calls today: | 3 |
Files: | 8,461 |
Messages: | 336,320 |
Posted today: | 5 |