;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; ENHANCED OLM (ONLINE MESSAGE) v0.3 coded by Mind Twist (12/Aug/95) ; Enhancement of PCBoard's internal Broadcast command ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; DISCLAIMER ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; If you don't like this PPE, too bad... If it formats your HD too bad... If ; it gives all your users sysop level too bad... If it runs away with your ; pay check too bad... If it attracts polar bears to your place too bad... If ; it plays tetris all day long on your computar too bad... If it makes inter_ ; ferences on your pirate satellite decoder too bad... ; ; Basically what I mean is that I will not be held responsible of any nasty ; things that might happen when you run this ppe, so use at your own risk! ; ; (Contacting the author: Check the end of this file) ; ; Greetings: Nah, not today... ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; INTRODUCTION ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; I have seen many OLM ppes for PCBoard, but none that I really liked... You could only send a one line message, which could be missed by the user if he was just browsing through mail or files, would mess up the user status with many WHO ppes that show the xfer activity if the user was transfering files, you really wouldn't be able to know if the user had received or not the message, a broadcast would kill the previous one if the user still hadn't read it (or is it the other way?)... Whatever, the main point is that I hadn't found any Broadcast/Olm ppe I really liked, so I decided yo code my own. The way this ppe works might not be the best one, but it seems it works pretty well... Basically what it does is write all the OLMs info into the work dir of the node that has to receive the OLM. The prompt keeps checking for that file, and if it finds it, voila! You have OLM(s) waiting (yes the main prompt, you have read right). Making the prompt check for a file every time it comes up might not seem very wise, but it doesn't slow the bbs too much. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; FEATURES ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; * Works with up to 9 nodes (some more might be added on future releases, it's no big deal...) * Allows up to 10 lines of online message to be sent (again, this number can be increased, but I don't see why it should be... If someone has something that long he has to say, he can leave a plain message) * 75 chars per line (no more saving space for the user name) * Doesn't allow @ codes to be used. * Full loging of all the OLMs sent in your system (date and time sent, sender & receiver name, time it took for the receiver to get the message - time it took for him to enter the main prompt...) * Allows you to have up to 5 olms or receipts waiting for you to receive them (this number can also be increased, but 5 should be enough) * Output very configurable (not 100% though, sorry... it looks good on my board, too bad if it doesn't in yours) :) * Pretty smart error checking routines for dumb sysops. * Ability to request a return receipt to be sure the receiver has received your OLM. (sysop configurable) * Exclusion lists of users who can't send olms and users who do not want to receive olms. To be added soon: * If a user has a pending OLM and he logs off, the OLM won't be lost as soon as another user logs in but it will be sent to the user as a normal message. * Any requests? Email me... ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; INSTALLATION ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Step 1 - Load PCBSetup, hit "B", hit "B", and edit CMD.LST Add a new entry similar to this one: Charges Per PPE/MNU File Specification -or- Command Sec Minute Use Keystroke Substitution ÍÍÍÍÍÍÍÍÍÍÍÍÍÍ ÍÍÍ ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ 1) OLM 10 0 0 C:\PCB\PPE\OLM\ENHOLM.PPE Step 2 - Edit and modify the files ENHOLM.CFG to suit your needs. Step 3 - Make your record #396 in PCBTEXT execute PROMPT.PPE Put whatever you had on it on the file PROMPT.CFG (which has to be on the same dir as PROMPT.PPE and READOLM.PPE of course...) If you have lil knowledge on PPE coding you can take a look at the file PROMPT.PPS and you'll understand what it does. ÕÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͸ ³ Record No.: 396 Record Length: 70 Justification: Left ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³(@X0C@TIMELEFT@@X0E min. left) @INCONF@Command ³ ³!C:\PCB\PPE\OLM\PROMPT.PPE_ ³ ÔÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ; Step 4 - Modify OLMTEXT as much as you want. Step 5 - Edit files ENHOLM.EX1 and ENHOLM.EX2 and add and names you want. The files can be deleted if you will not be using them. Step 6 - mmmmh.... nah, I guess that's it. Make sure the path you have entered on ENHOLM.CFG matches the one being used as the work dir for each node. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; EXAMPLE OUTPUT ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; This is how the PPE looks like when it is run: (check it out anyways, it looks a LOT better with colour hehe...) *NOTE* A slightly modified version of CNAV is being used here because the call statement from PPL does not allow parameters and I wanted to force CNAV to use tiny mode. *NOTE 2* If the node display and the space reserved for writing the OLM won't fit on your local screen, you might want to make a @CLS@ on the line that says "Sending a message to". Otherwise the cursor might not start on the right line when you start typing the olm. (5) [ Main Board ] (9964 left) Command: ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Node 1 ³ ³ Tel#: +34-3-4913808 - USR 16.8k Dual ³ ³ Node 2 ³ ³ Tel#: +34-3-4913495 - USR 16.8k Dual ³ ³ Node 3 ³ ³ Tel#: +34-3-4904599 - USR 28.8k vFC ³ ³ Node 4 ³ ³ Tel#: +34-3-PRIVATE - USR 16.8k Dual ³ ³ Node 5 ³ Mind Twist ³ User is buggin sum other users via OLM ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ À [MS] CNAV v3.00 / 02:16 AM Ù Enter the node to Broadcast to (1-5,0=Abort)? (5) Sending a Broadcast message to... Yourself?!? Oh well... Enter the message you want to Broadcast (maximum 3 lines) ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ HI!... Just testing how this thing looks like... ³ ³ Hope you like it!! :) ³ ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ [S]end or [A]bort? S Message Sent! Incoming OLM(s) found! ÚÄÄÄÄÄÄÄÄÄÄÄÄÄ Broadcast message from MIND TWIST ÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ HI!... Just testing how this thing looks like... ³ ³ Hope you like it!! :) ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄ (Received 0 seconds after it was sent) ÄÄÄÄÄÄÄÄÄÄÄÙ Press (Enter) MIND TWIST received your olm 0 seconds after you sent it. (5) [ Main Board ] (9964 left) Command: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; How the ENHOLM.LOG looks like: MIND TWIST sent OLM to MIND TWIST on 10/08/95 at 02:11:59 ³ HI!... Just testing how this thing looks like... ³ Hope you like it!! :) ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ MIND TWIST received OLM from MIND TWIST on 10/08/95 at 02:12:00 0 seconds after it was sent. ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; And the caller's log entry: MIND TWIST sent olm to MIND TWIST ³ HI!... Just testing how this thing looks like... ³ Hope you like it!! :) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; KNOWN BUGS ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; * This program allows you to send OLMs to yourself. Pretty stupid, yeah I know... but it's a lot easier to test it if you don't need to open 2 nodes at the same time and keep switching between them. This is not a bug. If you want to send OLMs to yourself for testing purposes, go ahead and do it... If you just want to do it for fun... Well maybe then you should start considering going to some kind of doctor. * If a user has a pending OLM and he logs off without reading it (logoff after xfer, loses carrier, whatever) if he logs back again he will still get his OLMs. If he is not the next user to log into that node again, as soon as another user logs in, the olm will be lost because READOLM.PPE will detect that the current user online is not the recipient of the olm so it will not display it. A future release will have the ability to send this olms to the original receiver as a normal message instead of just ignoring (thus losing) the olm. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; TROUBLE SHOOTING ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; * Check CFGs to make sure everything looks right. If there are no CFG files, a new one will be created. * Make sure line 6 of ENHOLM.CFG points to the right dir. * Make sure your brain is in place. * Make sure the gun is loaded. * If it still doesn't work, call my bbs and request help. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; Wanna contact the author? ; ; Call my BBS - TWISTED REALITY sysop: Mind Twist (woah that's me!) ; +34-34913808 (16800) or +34-34904599 (28800). ; ; If you are from Spain, what's taking you so long to call?!... ; ; If you want to exchange ideas don't hesitate and get in touch with me. ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;