EDPLastBanners.rexx and EDPEditLast.Rexx for Cnet 3.05c! As a sysop fairly new to CNet, I was amazed that although there are many very good last callers utilities, none of the ones available had look and speed and options that I wanted. So I wrote my own! I am indebted to those who have written Cnet Arexx utiltities, because I have learned a great deal from them. Hopefully, you and (especially) your users will like this one. I tried having a last callers, an automessage, and a wall...but it seemed like way too much. I mean after all, I just wanted users to be able to leave each other small notes, after they logged off, but I didn't want to have extra utiltities that they had to go through on log off, and log on. (There is already enough in the sys.welcome, and sys.end files.) This program combines a macro, automessage, wall, whobanners, and last callers program! I followed the pattern of Who banners, except instead of for the WHO program, it is for the last Callers. The user gets to define his own banner to place into the string that all users will see when they log on. A default banner is chosen to start, but with the EDITLAST.REXX program, they can edit it themselves. I would have liked to make it longer than 40 characters, but, alas, my users and I like to have some information on each caller, too. :-) I have abbreviated where possible, and managed to come out with a 78 character display! (See Registration notes) LastBanners.rexx will create its own logfile, all you have to do is tell it WHERE you want it to be. I have mine (along with other rexx tools) in 'Pfiles:rexx/'. How to set it up: First start up your favorite text editor, and edit the user options at the top of the script of LastBanners.Rexx: ****************** DESCRIPTION OF OPTIONS ***** (Defaults Noted) ls=2 /* Log sysop 0=No 1=Yes 2=Maybe */ Means just what it says: Place a 0 here if you DON'T want to log the sysop, or a 1 if you do. The option '2' will bring up a requestor and ASK if you want to be logged on that call. If no, you won't be! ptr=4 /*Access group to give a requestor to. */ This way you can give users of a certain port the option. 'D' to disable. nd=13 /* Number of callers to DISPLAY */ This will tell the DISPLAY option how many users you want to show. This number will also show at the top of the display, as in 'Last ## callers to YourBBSName.' I would keep this between 10 and 13, or the user might get the MORE prompt in the middle of the output. nl=20 /* Number of callers to LOG */ I put this option in for debugging, and decided to leave it in. That way, you can look at the last, say, 15 callers, while you can limit the number to display online to 13 (Or whatever). NEW in this version: Now you can use arguments when calling the LAST command online. For instance, if you type LAST 20, then you will be able to see the last 20 callers, instead of just the last 13. Of course, that will depend on the value you set for 'NL' above. Also, typing 'LAST ?' will bring up an ABOUT and help screen. ag=D /* Access Group to give a requestor to LOG ;D to disable. Overrides [ls] log sysop */ This is ONE access group to NOT log. I almost didn't include this option, but it was easy enough to do for one group. I can't imagine needing it for more than one, but if that is something important to you, let me know. (See Registration notes.) port=D /* Port to exclude from logging ; D to disable */ Port to NOT log. Simple enough. Sometimes I don't log port 0. ln=0 /* log new users or not (access level 0) 0 means NO, and 1 means YES...to log access level 0 or not. Log='pfiles:rexx/' /* Location of log file MUST end in / or : */ The location of the LOGfile, that LastBanners will create. Very important that this end in a ':' or a '/' !! Banner='You just missed me!' /* Default Last Banner */ The default Banner to display, until a user edits it. Remember that ONLY 40 characters will FIT, so do NOT make it longer than this. (See regisration notes) bnc='ce' /* MCI Color of your BBSname */ Color of your BBS name in the display. The MAIN item to set is the location of the output log file. Just try it and see! INSTALLATION: (111111111111111111111111111111111111111111111111111111111111111111) 1) Copy these files in this archive to the directory from which you run them: EDPLastBanners.Rexx EDPEditLast. Rexx EDPLastBanners.Doc EDPEditLast.Doc (2222222222222222222222222222222222222222222222222222222222222222222) 2)Edit your BBSTEXT, line 62, where it says @Cleared for logon and add this text rght after that, on the same line, of course: {#0Pfiles:rexx/lastbanners.rexx} | | / \ control Q of course. Your path to the program. (33333333333333333333333333333333333333333333333333333333333333333) 3)Now, Add this to your BBS Text, at the beginning of line 99: {#0Pfiles:rexx/LastBanners.rexx LOGOFF} | | | / \ -- Option control Q of course. Your path to the program. In other words, Change this line: @Logoff Complete/n1 To this: {#0Pfiles:rexx/LastBanners.rexx LOGOFF}@Logoff Complete!/n1 (44444444444444444444444444444444444444444444444444444444444444444444) 4) Add this item to your the end of BBSMenu # 2 available everywhere: LAST | {#0Pfiles:rexx/LastBanners.rexx DISPLAY} | | | / \ -- Option control Q of course. Your path to the program. I run mine from RAM. (55555555555555555555555555555555555555555555555555555555555555555555) 5) Install the EditLast.rexx Command , or no one can write anything! :-) Add this item to your the end of BBSMenu # 3 'Main Prompt'. ELAST | {#0Pfiles:rexx/EditLast.rexx} | | / \ control Q of course. Your path to the program. You are done! Now sit back, relax, and enjoy it! REGISTRATION INFORMATION: This program is GetMoreWare! All that really means is that you can use the program as much as you want, without paying anybody anything. However, if you would like changes, or ** special versions written to YOUR specifications ** (as much as possible, anyway), then please send me some money! :-) Otherwise just enjoy, I had fun writing it...well, some fun. Okay, it was a pain, but I learned a lot. :) Technical note: The banner that people edit is located in their MAIL:Users/ Directory. The ONLY files written to this directory is '_last.txt', and '_last.lst'. Just so you know, if you decide to uninstall it. Either way, please let me know what you think of the program, and what you like (and dislike) about it. This is my first Arexx program for CNet, and I would love feedback. I have not seen a 'Today in History' Pfile for CNet yet, and I might write one, if there is enough interest. (Or let me know if you have written or know of one!) I have written many routines in the program so that there won't be conflicts on multiport systems. Please let me know if you have any problems. My BBS (although small) is Atlantis, at (904)479-3133, 1:3612/369.0 I regularly read the CNet echo in Fidonet, and am available at various locations: Edward D. Peyton Atlantis BBS: (904) 479-3133 | 479-4080 WebSite: http://www.pen.net/~atlantis email : edp@pen.net Edward Peyton@1:3612/369.0 snailmail: 5100 N 9th Ave F-601 Pensacola, FL 32504 DISCLAIMER: Use this program at your own risk! I have had no complaints or problems reported, but I am not responsible if the program suddenly becomes sentient, and starts doing wierd things inside your computer. By the way, if it DOES do that..um...let me know, okay?