Installation
~~~~~~~~~~~~
extract the .zip file into your mIRC or mIRC based IRC Script directory and type
"/load -rs wutscript.mrc" ( without the quotation marks ). Then go to this directory
and open the file "wut.ini" and configure it so that it suits your needs.



wut.ini Configuration
~~~~~~~~~~~~~~~~~~~~~
In .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
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




"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
%pw% - the password itself
%password% - either password or no_password from the .ini
%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



Notes
~~~~~
The script reacts to three triggers: !wut, !wut2 and !wut2d. If someone says one of
these triggers in a channel the script replies to that channel. If someone says a trigger
in a query the script replies to that query. If someone uses /notice channel/yournick
!wut, !wut2 or !wut2d the script replies by noticing that user.

Password support for UT sometimes doesn't work correctly. Open your UnrealTournament.ini
in your system directory and delete all lines that start with "SavedPasswords" to get it
working again. Don't forget to make a backup copy.

If you should get a "missing .dll" error or something install this package:
http://home.t-online.de/~profdrmorph/vcredist.exe



adding more triggers
~~~~~~~~~~~~~~~~~~~~
press ALT+R and select "wutscript.mrc" from the menu "View". Then add these lines:

on 1:TEXT:<newtrigger>:#: /dll wut.dll wut 0 $chan .\wut.ini
on 1:TEXT:<newtrigger>:?: /dll wut.dll wut 0 $nick .\wut.ini
on 1:NOTICE:<newtrigger>:*: /dll wut.dll wut 1 $nick .\wut.ini

and replace <newtrigger> with the new trigger you want to use.



always use a private reply ( notice )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
press ALT+R and select "wutscript.mrc" from the menu "View". Then change every line
that looks like this:

on 1:TEXT:<trigger>:#: /dll wut.dll wut 0 $chan .\wut.ini

to

on 1:TEXT:<trigger>:#: /dll wut.dll wut 1 $nick .\wut.ini



Change Log
~~~~~~~~~~
23. Sep 2002
-added new trigger: !wut2
-added password support
22. Sep 2002
-fixed a freeze bug when connected to a UT2k3 server running on a port other than 7777
21. Sep 2002
-improved performance
-added %ip%,%port%,%name2%,%game% and changed %address%
-added readme file
-changed .ini file style
19. Sep 2002
-initial release



Conact, bug reports and features suggestions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E-Mail: profdrmorph@gmx.de
ICQ: 60287592
IRC: QuakeNet, #ox-clan, #funatix or #sandmaennchen









