!!!!!!! TribesIP 1.1 - written by Rasia, modified and fixed by Cowboy !!!!!!!

Original by:
             Rasia
             rasia@planetstarsiege.com
             http://www.planetstarsiege.com/TheDen/

Reworked by:
             Cowboy
             cowboy@planetstarsiege.com
             http://www.planetstarsiege.com/cowboy/
             ICQ# 31184463

I first saw TribesLinker on Rasia's old page (on fortunecity, before he moved
to PSS).. and as I had already been working on a Tribes IP Linker, I figured
I'd check his out... Well, it was WAY better than mine.. Creating a separate
window for the captured IP links was ingenious!

A few problems though, is the installation procedure was problematic, with
no error-checking.. And it wouldn't actually create a working .bat file!

Also, I play alot of password-protected servers, so I *needed* to be able to
join a server with the right password!

So, I modified his script, cleaned it up, got it working...

Note: Sets you marked as 'away' when you connect, this was a requested feature!

Installation Instructions - Put the TribesIP.mrc file in your mirc directory.
                            At the status window in mirc, type:

                            /load -rs TribesIP.mrc

                            Follow the instructions!

If you use TimeHUD or wish to change the batch file, just edit TribesIP.bat in
your mirc directory.

This stuff is mostly from tribeslink.txt by Rasia:

All the servers you detect will be in the TribesIP window that this script
creates when you connect to the server. If it doesn't create it the first time,
no worries, just goto your Commands menu (its up ther by DCC, File, edit, etc.)
There should be a Tribes IP Catcher menu option - just hit it, and boom, done.
Also, this is the way to restart the window if you close it accidentally.

Once you have a server in the TribesIP window, you can doubleclick to connect
to it, or you can right click to get some options.

Join Server ----- Just as it says... No trickery going on here!
Join w/Password - Lets you type in the password for the server. If you just hit
                  <enter> it uses the last Tribes password.
Delete ---------- Deletes all the selected servers from the TribesIP window.
PostNoJoin ------ Posts the server in all your channels, but doesn't join it.
NotifyJoiners --- Anytime someone Joins a channel you are on, it will send a
                  private msg to them with a the message you give it, and the
                  server.
TurnOffJoiners -- Turns off the NotifyJoiners message.


Running the script for the first time creates the file TribesIP.bat in your mirc
directory. This file looks like this (i: and cd\games\tribes are where I installed
tribes, and d:\mirc\ is my mirc directory - Yours will probably be different):

@echo off

echo !!!!!!!! TribesIP 1.1 - written by Rasia, modified and fixed by Cowboy !!!!!!!!
echo.
echo Cowboy
echo cowboy@planetstarsiege.com
echo http://www.planetstarsiege.com/cowboy/
echo ICQ# 31184463
echo.
echo If you need to use any other command line parameters, you can just add them in
echo at the end of the appropriate line! (d:\mirc\TribesIP.bat)
echo.

echo Changing directory to i:\games\tribes

i:
cd\games\tribes

echo.
echo Starting Tribes, passing: %1 %2 %3 %4 %5 %6 %7 %8 %9




rem Normal Tribes Users:
tribes.exe %1 %2 %3 %4 %5 %6 %7 %8 %9

rem If you use TimeHUD, uncomment the next line (and comment out the preceding)
rem start /m timehud.exe %1 %2 %3 %4 %5 %6 %7 %8 %9




echo.
echo You'll notice that this DOS-box stays up after you choose to connect to a game
echo using TribesIP. This is normal, but annoying... What you can do to make it go
echo away is go to its Properties box (Alt-Space, P) check the 'Close on Exit' box
echo and then the 'OK' button. Every time henceforth, it will close automatically!
