[NOTICE.PPE] ver 1.2 Author: Herbert Bushong PPLC 3.20 Requires PCBoard 15.22+ Description =========== A quick PPE that can be used to notify your regular users of a new user who has logged onto the system. Original idea by Butch Dunn of the NoName BBS. Also can send a Welcome message to the new user as well. Disclaimer & Copyright ====================== This PPE is freeware but the author retains the copyright. I guarantee only that it takes up space, but it should work for you. I also guarantee that it contains no backdoors or trojan code. If you think you've got a hacked copy, log on to my BBS and download the original archive. Support info is at the end of this doc. Installation ============ Can be used as a replacement for prompt 123 in PCBTEXT or called from a new user display file. Simple. A bit of advice. If you have multiple PPE's that want to run from prompt 123, have the prompt display a file instead (see PCBoard Docs for how-to) and then call each PPE from that display file instead. The PPE, CFG(s), and message files MUST reside in the same directory. The PPE creates a temp file called TEMPXXX.MSG in the node's temp work directory. It should delete the file after it is through, but if it doesn't, it will delete the file the next time it is run. You can also delete the file if it gets left behind. Configuration File ================== 0 @11@ 30 R New User NEWWELC Y 0 SYSOP 30 N Welcome to the BBS NEWMSG Y ================================= The configuration file is commented, heres a description Line 1 - Conference to send notification message to. Line 2 - Who to send message to. @sec-sec@ codes can be used for a group of users such as @10-15@ or @200@ Line 3 - Number of days from the posting date for packout date of message. Line 4 - Message Security, N-None R-Receiver Only Line 5 - Subject of message Line 6 - Name of file to send as the message. PCB @-codes can be used in the file as well as 4 special '#' codes (see next section) Line 7 - Y/N Whether to send notification message Line 8 - Conference to send Welcome message to New User Line 9 - Who the welcome message is from Line 10 - Packout days on Welcome message Line 11 - Message Security, N-None R-Reciever only Line 12 - Message Subject for Welcome message Line 13 - Name of File to send as Welcome message text. Same rules as line 6 Line 14 - Y/N Whether to send Welcome Message to the new user Alternate Config Files ====================== If you want to send different messages, for example, for different languages, create separate config files with different names, and optionally separate message files. Edit each config file appropriately. For each language file (or display) you installed the PPE in, add the BASENAME of the config file you want that language to use after the PPE. If nothing is given, or the CFG file doesn't exist in the PPE directory, the default NOTICE.CFG will be used. For Example: NOTICE.PPE would use NOTICE.CFG NOTICE.PPE ENGLSH would use ENGLSH.CFG NOTICE.PPE FRENCH would use FRENCH.CFG NOTICE.PPE PORT would use PORT.CFG #codes# ======= The PPE uses four special codes: #NAME#, #ALIAS#, #DATE#, and #CITY#. These are the new user's Name, Alias (if available, or their name if not), the date, and City, and are replaced before the message is posted via the PPE to hard-code the user's information in the message. There is no formatting codes like @codes:##L/R/C@. They can be used multiple times also. See the included sample message file for an example of how they can be used. Support ======== If you have comments or questions, or would like to download other PPEs, I can be reached via the following methods. BBS: 318-468-3385 Fidonet: 1:19/19 Internet: hbush@ibm.net Other: on Intelec or U'NI-net