I'm having a hell of a time getting SPY to work in my new shell.
;EXEC ;EVAL and other commands work fine so I delved a bit and found that SPY was wrapped in a try in the str_cmds.js library (shouldn't this in exec/load?)
I get the message:
!JavaScript /sbbs/exec/str_cmds.js line 388: Error: Script file (mqtt_spy.js) does not exist
The odd thing is that it works fine in default.js and I have the same load and require commands and the ";" section is the same. Do you have any idea what may be causing this? It's the first time I've ever seen a file not found for something in exec or exec/load.
Re: mqtt_spy not found?
By: nelgin to Digital Man on Thu Apr 24 2025 12:46 pm
I'm having a hell of a time getting SPY to work in my new shell.
;EXEC ;EVAL and other commands work fine so I delved a bit and
found that SPY was wrapped in a try in the str_cmds.js library
(shouldn't this in exec/load?)
I get the message:
!JavaScript /sbbs/exec/str_cmds.js line 388: Error: Script file (mqtt_spy.js) does not exist
The odd thing is that it works fine in default.js and I have the
same load and require commands and the ";" section is the same. Do
you have any idea what may be causing this? It's the first time
I've ever seen a file not found for something in exec or
exec/load.
js.exec() is used to invoke mqtt_spy.js and didn't work with (e.g.
invoke from script within) the mods directory very well. Now fixed.
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,073 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 182:10:16 |
| Calls: | 13,781 |
| Calls today: | 1 |
| Files: | 186,987 |
| D/L today: |
4,524 files (1,285M bytes) |
| Messages: | 2,433,531 |