TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: Digital Man
from: deon
date: 2024-12-03 21:32:00
subject: ptridx in msg_area.grp_li

  Re: ptridx in msg_area.grp_list.sub_list
  By: Digital Man to deon on Mon Dec 02 2024 11:29 pm

Howdy,

 > The best way to uniquely identify a sub-board is via its internal code. Then
 > can also reference a sub quickly/easily via msg_area.sub[internal_code].

Yeah, that's not helping me with what I'm wanting. internal_code's can be changed, which would throw off what I'm trying to do.

Sorry, you've given me other answers to my question, so I want to confirm - and I'll create an example.

Lets say I have Sub Board "foo" (internal code GRP-FOO), which in scfg you edit that sub board, under "Advanced Options", its states "Point File Index" and a number, eg: 23.

This number 23 corresponds to a JS object call to msg_area.grp_list[x].sub_list[y].ptridx with a value of 23. ("y" is not necessary 23), that is this Sub Board - correct?

So "foo" will always have ptridx = 23 until it is deleted - correct? Nothing else will result in that value being changed?

If I was to go through all the results of msg_area.grp_list[x].sub_list - only 1 will have a value of ptridx=23, which is this sub board?

I see you are planning other things with (other?) instances of ptridx - are you planing on getting rid of this value in the sub board config too?

Thanks...


...лоеп

---
 ю Synchronet ю AnsiTEX bringing back videotex but with ANSI
      
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.