Door Games Unlimited

Welcome, Guest.


Subject: bbs.smb_curmsg in message Date: Sun May 12 2013 13:44:00
From: Digital Man To: Nightfox

  Re: bbs.smb_curmsg in messages to you
  By: Nightfox to Digital Man on Sun May 12 2013 09:21 am

 >   Re: bbs.smb_curmsg in messages to you
 >   By: Digital Man to Nightfox on Sun May 12 2013 00:18:20
 >
 >  >> I've started examining the values of bbs.msg_offset and bbs.msg_number
 >  >> (using a "development" version of SlyEdit on my BBS).  When I reply to
 >  >> a message, using the message read prompt, it seems that both
 >  >> bbs.msg_offset and bbs.msg_number are always 0, no matter which
 >  >> message I'm replying to. It doesn't seem to matter which message group
 >  >> or sub-board I'm reading/replying in, either.  Not sure if this is
 >  >> normal?
 >
 >  DM> It's as designed apparently, but unexpected. I'm making a change now
 >  DM> in CVS which will allow those properties to be used in more places
 >  DM> than just the "show message header" function (which doesn't directly
 >  DM> use JavaScript) - that was an oversight on my part.
 >
 > I updated to this morning's build, but I'm still seeing some odd behavior
 > with bbs.msg_offset.  I first read a few messages (using the message read
 > prompt) and bbs.msg_offset was 0 for each message.  Then I tried the "Scan
 > for messages to you" in a different sub-board, and bbs.msg_offset had a
 > non-zero value (which I imagine was correct for that situation).  Then I
 > came back to the first sub-board I was in and read messages again with the
 > Message read prompt, and bbs.msg_offset was 2.  The message I was reading
 > was the last message in the sub-board, so that doesn't seem right.

What about the bbs.msg_number property? It behaving as you would expect?

                                            digital man

Synchronet "Real Fact" #1:
Synchronet version 2 for DOS and OS/2 was released to the public domain in 1997.
Norco, CA WX: 76.7°F, 50.0% humidity, 0 mph ENE wind, 0.00 inches rain/24hrs

---
 ■ SynchronetVertrauen Home of Synchronet telnet://vert.synchro.net

Previous Message       Next Message
In Reply To: bbs.smb_curmsg in message (Nightfox)
Replies: bbs.smb_curmsg in message (Nightfox)