Subj : Node Status change
To   : Jason
From : Digital Man
Date : Fri Dec 20 2024 12:25 pm

 Re: Node Status change
 By: Jason to nelgin on Fri Dec 20 2024 11:09 am

>   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!

If you're running the latest v3.20a code then this would be preferred to the replace/revert_text calls above:
in ctrl/text.ini, add:
NodeActivityCustom = is somewhere you're not

If the node action is actually dynamic (can be different text depending on scenarios, e.g. multiple different custom actions), then this would be preferred:
 bbs.replace_text("NodeActionCustom", "is somewhere you're not");

The revert_text() call isn't strictly needed.

Details: https://wiki.synchro.net/custom:node_status
--
                                           digital man (rob)

Sling Blade quote #8:
Karl Childers: I don't reckon I got no reason to kill nobody.
Norco, CA WX: 72.9�F, 22.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net