Script Name: Basic Remote Paging System

Purpose: Allows a remote user to "Page" you by using the command:
	CTCP <nick> PAGE; also provides a popup for the nicknames
	section making it easy for you to "Page" another user who
	has this system set up.

Customizing: 

	1) (beginner level #2) 

	You can, of course, have the pager use any .wav or .mid file
	you choose.  Simply copy the desired sound file to the appropriate
	directory, and modify the script to call that sound file by name.

	For example: If you want to use a file called "heyyou.wav" as
	your page sound, copy the "heyyou.wav" file to the mirc dir. (or
	to the directory where you have set mirc to look for sound files)
	and change the line in to read:

		ON CTCP 1:PAGE:/splay heyyou.wav | <etc.>

	2) (intermediate level #3)

	You can also have the pager send any response desired to the
	person paging, including other sound files, like the "Muzak"
	systems in use for telephone systems.

	3) (advanced #4)

	The best modification yet is to set mIRC up so that it gives
	you a page in the actual voice of the paging person, for example:
	Smitty's voice saying "Yoo hoo... come here a second, I want to
	say something to you," or _Bubba saying, "Duuuuh.... iz you in
	or iz you izzn't?" How?

	a) Just have each potential page user record a short 1 or 2 
	second .wav file, DCC it to you, then copy these .wav files into
	the appropriate directory for mIRC to use.
	b) Set up a special user level for each person you have recorded.
		I use levels between 5 and 20, so in the users section I
		might have:

		2,7:*!ac5c@*.oklahoma.net
		9:*!acbaker@*.iamerica.net
		14:SIR_WOOKIE
		19:*!w6cnp@*.computershoppe.com

		Then in the events section I have one additional line for
		each recorded user. For example:

		ON CTCP 7:PAGE:/splay smitty.wav | <etc.>
		ON CTCP 9:PAGE:/splay patootie.wav | <etc.>
		ON CTCP 14:PAGE:/splay wookie.wav | <etc.>
		ON CTCP 19:PAGE:/splay ernest.wav | <etc.>

		Whenever one of these users pages me, I hear his/her
		actual voice calling me back to the channel.  When 
		others who are not in this levels list send a CTCP _Bubba
		PAGE, I get the regular pager.wav (Notice, as in the case
		 of Smitty, a user can be assigned more than one user 
		level - see the mIRC help section for detailed informa-
		tion).

______ what to do ____________________________

To allow someone to page you, copy the following lines to the events 
section:

#page off
1:PAGE:/splay pager.wav | /notice $nick 4OK... your page has been received... 3I'll run see if I can find 9$me! | /echo $active 4Excuse me, please, but 3$nick 4would like to speak with you | /ignore -u5 $nick 3
#page end

______ do not copy below this line ___________

Note: The last item on the line (| /ignore -u5 $nick 3) is critical CTCP
	Flood protection.  Without it, someone could repeatedly send the
	CTCP <nick> PAGE command to you so fast that it would flood you
	off the server.  This command "ignores" the sender of the page
	for 5 seconds after a page is sent preventing a flood.  If you
	already have other specific CTCP flood protection (not just mIRC's
	internal flood protection) in place, you can eliminate this last
	command.

_____next ________________________

To make it easy for you to page someone else, copy this line into your
popups/nicknames section:

Page:/ctcp $$1 PAGE

______ if you downloaded the .zip version of this script __________

Copy the pager.wav file to your mirc directory - the same one where
the program is located, unless you have set up mIRC to use a different
directory for sound files.

____ copy these lines to your popups/channel and query/chat sections __

Paging System
.On:/enable #page
.Off:/disable #page

______ do not paste this line __________________

To use:

To make it possible for someone to page you:

	In a channel or query/chat window, RIGHT CLICK, then left click
on Paging System.  Choose either "On" or "Off."  A remote user can page
you by typing "CTCP <yournick> PAGE, which then triggers the system when
it is on, and has no effect when it is off.

To page someone else with this script installed:

	Highlight the name you want to page in the nicknames list and 
RIGHT CLICK the name.  Select "Page"... that"s all there is to it.m

	This basic paging system makes a good compliment to an automatic
"away" switch with a timed announcement that you can be paged.  See
also the AutoAway script offered on this website.

_____ credits ____________________________________

	As with most basic scripts, there are about a gazillion versions
and variations on this theme.  All of them work, but this one is original
with me.  I would be interested to hear about any interesting modifica-
tions you make, so if you add one or more features that are exceptional
and funtion well, please email me via the OPs webpage and tell me all
about it... we may want to use your script instead of/in addition to
this one.

	_Bubba