Hello all!
Because I am trying to be self-taught at this Synchronet Javascript thing.. how do I go about changing the who's online listing to reflect someone running my mod? Are there some lines in nodedefs.js that I need to change / add?
In other words, if someone on the BBS requests who's online how can I make i display that the user is running "mymod" or something like that?
Also, is there a way to determine whether or not the sysop is available for chat within javascript?
If "mymod" is installed as an external progarm (in SCFG), then this should already be the case.
If not, you'd have to make some custom node listing module and run that for global Ctrl-U key handler in SCFG->External Programs->Global Hot Keys.
Also, is there a way to determine whether or not the sysop is available f chat within javascript?
if(bbs.startup_options&BBS_OPT_SYSOP_AVAILABLE)
print("Sysop is available"):
else
print("Sysop is NOT available");
Re: Node Status...
By: Digital Man to Ktulu on Mon May 23 2005 02:31 pm
If "mymod" is installed as an external progarm (in SCFG), then this shoul already be the case.
If not, you'd have to make some custom node listing module and run that f global Ctrl-U key handler in SCFG->External Programs->Global Hot Keys.
Also, is there a way to determine whether or not the sysop is availabl chat within javascript?
if(bbs.startup_options&BBS_OPT_SYSOP_AVAILABLE)
print("Sysop is available"):
else
print("Sysop is NOT available");
Wow! Thanks a lot for the quick reply, DM! I didn't see that one in the JS docs!
Thanks again!!
Re: Node Status...
By: Digital Man to Ktulu on Tue May 24 2005 01:18 am
DM,
How do I go about making a prompt that responds with hotkeys?
console.getkey()
See http://synchro.net/docs/jsobjs.html#console_methods for details.
Sysop: | fluid |
---|---|
Location: | wickliffe, ohio |
Users: | 4 |
Nodes: | 10 (0 / 10) |
Uptime: | 140:31:56 |
Calls: | 50 |
Files: | 15,838 |
Messages: | 49,859 |