Subj : Replacing a text string to execute JS code directly
To : Digital Man
From : Nightfox
Date : Wed Jan 29 2025 12:39 pm
Hi DM,
In the strings from text.dat, I know you can use @EXEC:..@ to have it run a JS or Baja module, but is there a way to have it directly execute a block of JS code instead of executing a file? In my most recent update to DDMsgReader, it replaces the AreYouThere string with an empty string so that the contents of the screen aren't affected, but I was also thinking of having it execute some JS code so that I'd have some more control on where the string is displayed, etc. I could have it execute a separate .js with @EXEC@, but I'm not sure I'd want to add a separate .js just for that. I'm wondering if there's a way to have it directly execute a block of JS code when used with bbs.replace_text()?
Nightfox
---
� Synchronet � Digital Distortion: digitaldistortionbbs.com