--------------------------------------------------------------------------------
Game Trigger v0.30 for D2HackIt by Maulei (jonathanwu@hongkong.com)  29 Mar 2002
--------------------------------------------------------------------------------


What is Game Trigger?
=====================
This module performs an action in response to an event trigger.  It supports
triggers like HP level, MP level, Hostility, New Player Join game.  You can
specify any D2HackIt commands to handle these events automatically, such as
use the Trainer module to drink potion, open TP and back to town, send a chat
message, overhead message, send a packet, whatever can be done with D2HackIt.


What's new?
===========

v0.30 (29-Mar-2002)
-------------------
* Fixed unintentional MP0% trigger
* Quit game packet block after first quit game action triggered.  This can
  prevent unintentional game disconnection.  Unblock the quit game packet by
  interacting with any NPC/stash, preferrably with healer in town.
* Fixed default game trigger setting.
* A D2HackIt bug: cannot execute more than 1 module command in a trigger command
  line.  For example, '.gt set hp20% tr potion h;tr tp go;say home' won't work.
  Only 'tr potion h' will be executed, remaining trigger action are lost.  :(


v0.25 (11-Mar-2002)
-------------------
* Party invite trigger (hard code response)
* Fixed info command

v0.20 (08-Mar-2002)
-------------------
* First public release.


How to use it?
==============
1. Run Diablo
2. Create/join a game
3. Press Alt-Tab back to Windows
4. Run loader.exe (That is, D2HackIt)
5. Press Alt-Tab back to Windows
6. Press ENTER (for typing message).  Type '.load gt'

==> Game Trigger is loaded!


Commands
========
.gt start                  Restart Game Trigger

.gt stop                   Stop Game Trigger

.gt list                   List active triggers

.gt list x                 List all available triggers

.gt set <name>             Clear trigger <name> deinition

.gt set <name> <action>    Perform <action> in response to trigger <name>

.gt maxhp <number>         Set the max hp of this char
.gt maxhp 0                Not to use HP triggers

.gt maxmp <number>         Set the max mp of this char
.gt maxmp 0                Not to use MP triggers

.gt default                Use default set of triggers

.gt reset                  Clear all triggers

.gt loot                   Allow players to loot you

.gt info                   List Max HP, Max MP, HP/MP Trigger Duration


Triggers supported by Game Trigger
==================================
[Hit point related]
HP0%  HP10%  HP20%  HP30%  HP40%  HP50%  HP60%  HP70%  HP80%  HP90%

[Mana point related]
MP0%  MP20%  MP40%  MP60%  MP80%

[Hostiled by other players]
Hostile

[New player join game]
NewPlayer

[Party request from other player]
Party


Note
====
Game Trigger supports multi-command.  Use semi-colon ';' to seperate commands.
For example,

.gt set HP50% say Ouch! HP 50% left!;tr potion h

The above command will say 'Ouch! HP 50% left!'  Then, issue 'tr potion h' 
command to call trainer module to drink health potion.



Action supported by Game Trigger
================================
loot          Allow loot for other players
accept        Accept party invite
              (Available to Party trigger only)
invite        Invite new players to your party
              (Available to NewPlayer trigger only)


Some useful D2HackIt commands
=============================
tr potion h        Drink health potion from belt/inventory/stash/cube
tr potion m        Drink mana potion from belt/inventory/stash/cube
tr potion r        Drink rejuv potion from belt/inventory/stash/cube
tr tp go           Open TP and go into it
send 66            Quit Diablo II
overhead xxxxxx    Say xxxxxx in overhead message
say xxxxxx         Send chat message xxxxxx


Default Triggers and actions
============================
HP0%      - Say 'WTF!  I'm killed! =(' and allow loot
HP10%     - Say 'Wow that was close!  I'll be back!' and quit game
HP20%     - Open TP and go to town
HP30%     - Drink rejuv potion
HP50%     - Drink healing potion
MP0%      - Drink mana potion
MP20%     - Drink mana potion
Hostile   - Say 'WTF!  I hate PKers!', open TP, back to town
NewPlayer - Invite to join party
Party     - Join party


Sample Usage
============
.gt set HP0% gt loot                - Allow loot when char killed
.gt set HP10% send 66               - Quit game when HP < 10%
.gt set HP20% tr tp go              - When HP < 20%, use Trainer to TP to town
.gt set HP30% tr potion r           - Use trainer to drink rejuv when HP < 30%
.gt set HP60% tr potion h           - Use trainer to drink hpotion when HP < 60%
.gt set MP20% tr potion m           - Use trainer to drink hpotion when MP < 20%
.gt set Hostile say WTF! I hate PK! - Say 'WTF! I hate PK!' when hostiled
.gt set Newplayer x                 - Invite new player to join party
.gt set Party x                     - Accept party join request automatically


Installation
============
- Copy gt.d2h to D2HackIt folder


Comments, bug report
====================
Feel free to send me suggestion or bug report in the following forums:

Cheatlist Forum - D2HackIt
  http://forums.cheatlist.com/phpBB2/

GOD Forums - where your questions get answered
  http://www.gods-network.com/forums/


Useful URL
==========
Home of Auto Skills:
  http://jonathan.makes.it


--------------------------------------------------------------------------------

Author of Auto Skills, Chicken, Game Trigger, Fake Client Information
Jonathan (aka Maulei in USEast)

<End of GT.TXT>
