Subj : bbs.smb_curmsg in messages to you
To : Nightfox
From : Digital Man
Date : Thu May 16 2013 12:32 am
Re: bbs.smb_curmsg in messages to you
By: Nightfox to Digital Man on Wed May 15 2013 06:01 pm
> > > I've updated my development SlyEdit to use bbs.msg_number instead of
> > > bbs.msg_offset, and it indeed seems to get the correct message header
> > > even in cases where bbs.msg_offset didn't (such as when replying to
> > > messages during scanning for new messages to you). I'll release a
> > > new version of SlyEdit with this change.
> >
> > But you do know that bbs.msg_number property doesn't work with any
> > version of Synchronet before the current development builds, right? Are
> > you handling that possibility (backwards compatibility) in your editor?
>
> But the Synchronet JavaScript documentation says bbs.msg_number was
> introduced in version 3.10:
>
http://www.synchro.net/docs/jsobjs.html#bbs_properties
>
> Is that not the case?
It was, but as you reported, it didn't work. I fixed this on May 12th:
http://cvs.synchro.net/commitlog.ssjs#29419
In all versions prior to that, it would contain 0 unless the script was running
*while* the message was being displayed (which is unlikely).
digital man
Synchronet "Real Fact" #13:
SBBSecho was originally written by Allen Christiansen (King Drafus) in 1994.
Norco, CA WX: 56.5�F, 88.0% humidity, 2 mph WNW wind, 0.00 inches rain/24hrs
---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net