This is an old revision of the document!
Private Message
The Synchronet Private Message Module (privatemsg.js) may be used to replace the hard-coded Ctrl-P global-hot key functionality of the Terminal server. The main advantage over the hard-coded Ctrl-P handler is the easy invocation of the Inter-BBS instant message module. Additionally, this module may be easily customized or modified to suit your needs. If you plan to modify this module, it is recommended that you copy it to your mods
directory first and modify the copy.
Example prompt displayed when this module is invoked (e.g. via the Ctrl-P key while logged-into the BBS):
Private: Telegram, Message, Chat, Inter-BBS, or Quit:
Install
This module may be installed using the follow JSexec command-line:
jsexec primvatemsg.js install
This will create the following Global Hot Key event in SCFG->External Programs->Global Hot Key Events:
╔═══════════════════════════════════════════╗ ║ Global Hot Key Events ║ ╠═══════════════════════════════════════════╣ ║ │Ctrl-P ?privatemsg.js ║ ║ │ ║ ╚═══════════════════════════════════════════╝