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: | Eric Oulashin |
|---|---|
| Location: | Beaverton, Oregon, USA |
| Users: | 104 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 20:02:45 |
| Calls: | 7,088 |
| Calls today: | 7 |
| Files: | 9,223 |
| D/L today: |
182 files (25,958K bytes) |
| Messages: | 374,157 |