Subj : LoRD JS Info?
To   : Dasme
From : echicken
Date : Tue Mar 14 2023 01:40 pm

 Re: LoRD JS Info?
 By: Dasme to echicken on Mon Mar 13 2023 15:18:04

Da> Thanks for the reply. I assumed as much, but hoped that I may have just
Da> missed things. Direct access to the player object will simplify some
Da> things. Time to poke through some code.

I only peeked at barak.js and IGM-related functions in lord.js, but it appears that your script can do whatever it wants. It's basically a free-running external command that's responsible for all interaction with the user, and has free rein with the data.

Your script should have access to all top-level functions and variables from lord.js. It's probably best practice to use these functions (eg. sln() for CRLF-terminated output) rather than dorkit or console methods unless you have a reason not to. Consider that your 'API'.

The only particularly special thing that happens is any asterisks on the command line (as specified in 3rdparty.lrd) will be replaced with the node number.

---
echicken
electronic chicken bbs - bbs.electronicchicken.com
---
� Synchronet � electronic chicken bbs - bbs.electronicchicken.com