🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: DOVE-Net.Synchronet_Javascript
3 messages
3 total messages Started by "Jason" Sun, 01 Dec 2024 11:06
Node Status change
#331
Author: "Jason"
Date: Sun, 01 Dec 2024 11:06
9 lines
240 bytes
I can't seem to find a way to change the node status message that shows for a user when running a custom js from a menu option.

Can someone point me to the right object to update?

Jason

---
 þ Synchronet þ Hard Drive Cafe - hdcbbs.com
.
Node Status change
#332
Author: "Digital Man"
Date: Sun, 01 Dec 2024 14:37
21 lines
950 bytes
  Re: Node Status change
  By: Jason to All on Sun Dec 01 2024 11:06 am

 > I can't seem to find a way to change the node status message that shows for
 > a user when running a custom js from a menu option.
 >
 > Can someone point me to the right object to update?

You change any of the node status text via text.dat/text.ini edits:
https://synchro.net/docs/customization.html#NodeActionText

The "BiXfer" node action is currently used by anything, so feel free to just change that status what you like and then set the node's action value to NODE_BXFR (defined in load/nodedefs.js) when it's performing that custom action.
--
                                            digital man (rob)

Sling Blade quote #13:
Karl: He lives inside of his own heart. That's an awful big place to live in.
Norco, CA WX: 73.8øF, 21.0% humidity, 9 mph W wind, 0.00 inches rain/24hrs
---
 þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
.
Node Status change
#333
Author: "nelgin"
Date: Wed, 04 Dec 2024 11:23
18 lines
572 bytes
  Re: Node Status change
  By: Jason to All on Sun Dec 01 2024 11:06:46

 > I can't seem to find a way to change the node status message that shows for
 > a user when running a custom js from a menu option.
 >
 > Can someone point me to the right object to update?

To add what Digital Man has mentioned, he also made a change to make this a little easier. Basically

bbs.replace_text(720,"%s is somewhere you're not");
bbs.node_action = NODE_CUSTOM;
bbs.nodesync();
bbs.revert_text(720); // if you want to

---
 þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads