Message to New User v3.0 for WC4.1
by
Randy Chalupka
28 November 1994

1. What is it?

  Message To New Users is a WCCODE program that will send a SYSOP defined
  welcome message to a new user when they logon.  This way, the new user 
  will have PERSONAL MAIL WAITING when they finish the new user logon 
  procedures.  Talk about a friendly welcome!

  Message to new users will also post a message to the SYSOP (or whoever 
  you want) notifying you that a new user has logged on.  The message
  body will show a lot of data about the user, including caller ID.
  The default subject for this message is the new users name. This way 
  when you (L)ist the mail waiting the subject will be all the new
  users!!   You can also use WCPRO to search on the Message From field
  to create lists of your new users.

  Another feature is the SET CONFERENCE.  This will force the user to 
  whichever conference you want when they logon.  This replaces any Set 
  Conference utility you might be running as part of your 
  Postcall.wcx/run/bat.  Instead of setting the conference after the call, 
  you can now set it when the user logs in.  This feature works for ALL 
  callers, not just new ones.  To disable this option, place a negative
  value here (-0 is NOT a valid negative number).

  You can also run any batch file as part of the logon procedure.  So if
  you have a program that will only work in the LOGONx.BAT, no problem.

  All messages created are forced PRIVATE.  This is to allow the use of 
  Wildcat @CODES.  Also, you don't want other users seeing all the 
  "Welcome new user" messages.  A sample new user message is included.

  This program is totally configurable by the SYSOP through the MSG2NEW.CFG 
  file.  This is a simple text file that the SYSOP can edit to suit his 
  system.  The only item hard coded is the subject (New Users name) in the 
  notify message sent to the SYSOP (if Line 6 = Y).

  The included LOGON.WCX will also properly handle dated questionnaires. 
  
The CFG file allows the setting of:

   Line 1:  Conference to post new user message
   Line 2:  Who the message is from
   Line 3:  The subject of the message
   Line 4:  The message text (in the form of an .IMP file, sample included)
   Line 5:  The "Set Conference" area.  Which conference to force the user to.
   Line 6:  Do you want to send a notify message to the SYSOP? (Y/N) 
   Line 7:  Name to post a notify message to
   Line 8:  Conference to post the notify message in
   Line 9:  Complete path and filename for any batch file you want to run.

   Please read the sample MSG2NEW.CFG for more information on options.

  The included LOGON.WCX will perform all the basic functions that a 
  replacement LOGON.WCX should (Hello#.BBS, Birthday.BBS, newsletter, 
  bulletins, quotes, dated questionaires...ect). The only difference you
  will notice is that there is now a pause after the quote of the day.

  This version also properly handles fastlogons.

  Of course, if you already have a LOGON.WCX, instructions are provided to
  add MSG2NEW.WCX to it.

2.  Installation

   A.  If you DO NOT have a LOGON.WCX file:

	Put MSG2NEW.WCX, MSG2NEW.CFG and LOGON.WCX in your Wildcat home 
        directory. 

	Edit/Create an .IMP file to be used as the message to be sent to the
        new user (sample, NEWUSER.IMP is included).  The import file must be
        in the message database path as defined in makewild for the conference
        that you are posting it to (Line 1).  The file must have the extension
        IMP.  For more information on using import files, read page 223 in your 
        Wildcat! 4 SYSOP guide.

	Edit the MSG2NEW.CFG fto suit your sysytem.  Please read the sample
        CFG file for more information on options

  B.  If you DO have a LOGON.WCX file (and you have WCCODE):

	Put MSG2NEW.WCX, MSG2NEW.CFG and LOGON.WCX in your Wildcat home 
        directory. Edit the MSG2NEW.CFG to suit your sysytem.  Please read the
        sample CFG file for more information on options

	Load up your LOGON.WCC in WCCODE and add this line to it:

Chain "MSG2NEW.WCX" (this should be the last Chain/Run)
REM the CheckMailAtLogon statement (MSG2NEW.WCX will perform this)

	Re-compile it and make sure the new LOGON.WCX is in your Wildcat home 	
	directory.

	Edit/Create an .IMP file to be used as the message to be sent to the
        new user (sample, NEWUSER.IMP is included).  The import file must be
        in the message database path as defined in makewild for the conference
        that you are posting it to (Line 1).  The file must have the extension
        IMP.  
        For more information on using import files, read page 223 in your 
        Wildcat! 4 SYSOP guide.

	Edit the MSG2NEW.CFG fto suit your sysytem.  Please read the sample
        CFG file for more information on options

C.  If you DO have a LOGON.WCX file (and you DO NOT have WCCODE):

	This means that someone else made your LOGON.WCX file.  If you have
        the LOGON.WCC file for your LOGON.WCX , have a friend with WCCODE do
        step B for you.  Otherwise, you can replace your LOGON.WCX with the
        one included (and lose whatever function your current LOGON.WCX 
        performs) or you will not be able to run this program.

3.  That's it.  Hope you find this utility useful.  If you want to contact me, 
    my current FIDONET 	address is 1:3632/64.  Please verify this address in 
    the current nodelist.

4.  If you do find this utility useful and would like to make a contribution 
    (gives me a reason to write some more) please mail your contribution to:

<Permanent Address>
Randy Chalupka
POB 42
Oxford, MA 01540

5.  Guarantee/Warranty: This utility will take up space on whichever storage 
    medium you decide to put it on.  Use at your own risk.