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?
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?
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.
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
Re: Node Status change
By: nelgin to Jason on Wed Dec 04 2024 11:23 am
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
I will try this as well. Thanks!
| Sysop: | Sarah |
|---|---|
| Location: | Portland, Oregon |
| Users: | 170 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 222:26:15 |
| Calls: | 1,204 |
| Calls today: | 1,204 |
| Files: | 85,018 |
| U/L today: |
554 files (10,683M bytes) |
| D/L today: |
3,990 files (9,159M bytes) |
| Messages: | 70,138 |
| Posted today: | 55 |