### UT2003 !wut2 Version 3.0 by silic0n ###
Visit http://www.ut2k3.net Today!!!!!!!!!!!

Thanks to ProfDrMorph for the dll's!
Thanks to phalanx for the help with mirc integration!




UPDATES:
9.30.02(UT2003 Full Retail Version!!)

-Changed !wut2 for Full Version.  Now default dirs are C:\UT2003\etc... in INI's.
-Made Channel and Notice changes much easier(accessible now thru channel and menubar menu's.)



9.23.02
-New default response is to ONLY respond to !wut2 with a notice directly to the user
  (as opposed to the entire chat room)
-Fixed a couple bugs in the mIRC scripting
-Added New DLL From ProfDrMorph including Password Support!!!
  *read below for how to use password support*
-Included ProfDrMorph's new Unreal Engine !wut script(including source)


9.21.02
-Fixed DLL added to stop "mIRC Freeze Bug" (thanks ProfDrMorph!!!)
-Made "respond with NOTICE instead of in channel" default(no more channel spam, by 
       default at least).
-Included file UnrealEngineWUTSource.zip(ProfDrMorph's original unviseral Unreal Engine !wut
       tool, and it's DLL's source.   Just in case anyone else wants to further customize
       or use !wut2 for other Unreal Engine games.
-Fixed a problem with reloading the script, leaving mIRC loaded with more than one.
       (now unloads current before loading new)


#### ATTENTION!!:
This script includes mIRC integration, IF YOU HAVE ORIGINAL !WUT SCRIPT INSTALLED..
You will either have to remove it or deal with whatever happens when you double click the
unreal:// links!!!!!


!!!READ THIS ENTIRE TXT FOR PROPER INFORMATION ON HOW TO INSTALL AND USE !wut for UT2003!!!
(if stuff still is broken, see VLD|silic0n[SuK] - contact info is at the bottom of txt)



UPDATE: If for some reason this isn't working for you, you may be missing
certain needed DLL files which can be downloaded in this self extracting archive:

http://home.t-online.de/~profdrmorph/vcredist.exe


Using ProfDrMorph's Unreal Engine !wut dll, I've compiled and scripted
!wut2 - a UT2003Demo peer status query.  

This will also work with the full UT2003 Game(if you change the ini file as needed)

This is a basic script/tool that allows you to "!wut2" as you did with "!wut"
Customizing your responses are as easy as editing the wut.ini file, and using the 
%codes% listed below.  

I've also scripted in mirc integration to double click unreal:// urls and join servers.

This is a VERY basic release, so i'm sorry, no "get stats" yet.

Have fun :)

Just make sure your drop all the zipped files into your main mirc directory and enjoy!

############
Installation
############
extract the .zip file into your mIRC or mIRC based IRC Script directory and type
"/load -rs wut2.mrc" ( without the quotation marks ).

A dialog box should come up asking for the directory to your ut2003.exe.
Make sure it's exact! or this will not work!

After you enter this, you'll need to either click the menubar or channel window and open the
"Configure your wut.ini settings" option.  Then see below.

YOU MUST EDIT YOUR WUT.INI TO MAKE SURE YOUR UT2003 LOG DIRECTORIES ARE CORRECT
(also, don't you wanna customize your !wut and playing messages?! ;)

#####################
wut.ini Configuration
#####################
In the zip file is my personal wut.ini as an example.

[global] section:
enabled - is the script active or not? true/false
always_report - should the script reply even if you're not playing? true/false
report - what should the script say if you're not playing?
char - use this letter to mark special words which will be replaced by the script.
       You can find more on that below.
num_games - how many Unreal Engine based games do you have installed/should be
            checked by the script

[x] sections:
game - name of the game ( used for %game% )
log_file - path to the log file of the game
ini_file - path to the .ini file of the game
userini_file - path to the user.ini file of the game
address - what %address% will be replaced with ( if used later in report )
report - what you're script replies if you're playing this game
char - see [global] section

!!!!NEW PASSWORD SUPPORT!!!! (Thanks ProfDrMorph!)
show_password - show password if the server requires one
password - content of %password% if there is a password
no_password - content of %password% if there's no password

Password "char" + special words:

%pw% - the password itself
%password% - either password or no_password from the .ini


######################
"char" + special words
######################
some specials words will be replaced by the script:

%game% - name of the game
%name% - you're name at last map change
%name2% - you're current name ( read from user.ini )
%map% - the map you're playing
%protocol% - the protocol used by the game
%ip% - the IP of the server you're on
%port% - the Port which one needs to connect
%address% - the address ( Protocol+IP+Port ) of the server
%b% - write in bold letters
%u% - write underlined
%k% - colors ( like in mIRC )
%% - write one %

all the % can be changed by changing "char" in the .ini


#####################
Manually changing the !wut2 Reply with NOTICE instead of in channel...
#####################
press ALT+R and select "wut2.mrc" from the menu "View".
And change the following..

on 1:TEXT:!wut2:#: /dll wut.dll wut 0 $chan .\wut.ini

to

on 1:TEXT:!wut2:#: /dll wut.dll wut 1 $nick .\wut.ini

######
Notes
######
The script currently reacts to !wut2
To change it, just open the wut2.mrc and do what you want. However i chose !wut2 
to replace the standard we all know in !wut for UT :)
(and it's much easier than !wut2003 or !wut2k3)



########
Something's wrong? Something Doesn't work? Have something to say? CONTACT ME!
########

Any mirc scripting comments and/or suggestions can be given to silic0n
at irc.enterthegame.com #vld


#########################
Proper Thanks and Mentions
#########################

ProfDrMorph (thanks for the .dll's and original Unreal engine script!)
E-Mail: profdrmorph@gmx.de
ICQ: 60287592
IRC: QuakeNet, #ox-clan, #funatix or #sandmaennchen

Phalanx (thanks for the original !wut, has made a standard in what things should be now)







