Mouseglove's RoAClient
Trigger/Statlet Repository

* RoAClient 4.7 Statlets/Triggers

  1. Last Tell Statlet
  2. Inventory Count/Weight Update Statlet
  3. Hit Point/Move/Mana Bar Statlet
* RoAClient 4.5/4.6 Triggers
  1. Hit Point/Move/Mana Bar Trigger Setup


Last Tell

Description: Set up a statlet to display in your statistics window the name of the last person to send you a tell.
Instructions:

  1. Open up the trigger dialogue by clicking on the "Trg" button, or typing Ctrl-T.
  2. Create a new trigger as follows:
    %1 tells you, "%2"
  3. Type in reaction for the trigger as follows:
       $var teller "%1"
       $var message "%2"
       $statrefresh
  4. Click "Apply Changes" and close the triggers window.
  5. Open up the Statlets dialogue by clicking Options->Statlets, or typing Ctrl-S.
  6. Click "New".
  7. Type in "Last Tell" and click "Ok".
  8. In the "Format Text" window, type in the following:
       @teller - @message
  9. Click "Apply Changes" and close the statlets window.
Now, as soon as someone sends you a tell, you'll see their name next to the tag "LastTell" in the statistics window, followed by the first line of their message to you.


Item Count & Weight

Description: Set up a statlet to display current # of items and current weight.
Instructions:

  1. Set up an alias for get and drop that does the command and then issues the "icount" command.
  2. Open up the trigger dialogue by clicking on the "Trg" button, or typing Ctrl-T.
  3. Create a new trigger as follows:
    Total of %1 items (weight: %2, max: %3).
  4. Type in the reaction for the trigger as follows:
    $var invnum "%1"
    $var invweight "%2"
    $var invmax "%3"
    $statrefresh
  5. Click "Apply Changes" and close the triggers window.
  6. Open up the Statlets dialogue by clicking Options->Statlets, or typing Ctrl-S.
  7. Click "New".
  8. Type in "Inv" and click "Ok".
  9. In the "FormatString" window, type in the following:
    @invnum items weighing @invweight
  10. Click "Apply Changes" and close the statlets window.
When you pick up something or drop something, your total count/weight will be updated in the statistics window. You could, if you wanted, add an additional trigger for anyone giving you something that would also issue the "icount" response.


Hit Point/Move/Mana Bar Display

Description: Set up a series of statlets to display current state of in-game stats.
Instructions:

  1. Set up a trigger for your prompt. This should be in the exact form you see your prompt in on the screen.
    Example:
       <1284/1372 499/1720 1749/1780>
    would have a prompt set up as:
         <%1/%2 %3/%4/ %5/%6>
  2. The response for the trigger would look like this (you may use other variable names if you wish):
       $var hit "%1"
       $var maxhit "%2"
       $var move "%3"
       $var maxmove "%4"
       $var mana "%5"
       $var maxmana "%6"
       $statrefresh
  3. Click "Apply Changes"
  4. Open up the Statlets dialogue by clicking Options->Statlets, or typing Ctrl-S.
  5. Click "New".
  6. Title the Statlet whatever you want next to your "Hit Point" bar (I've used "HitP" here)
  7. Select the Type: "Horizontal Bar"
  8. Bar Values should be set as follows:
       Min: 1
       Max: @maxhit
       Cur: @hit
    (Click here to see an example of how the screen should look.)
  9. Click "Apply Changes" and close the statlets window.
  10. You can then use the "l, r, u, d" buttons to move your bar display around in your stat window. When you get it to where you want it, click "Apply Changes" again.
  11. Repeat steps 5-10 again, using "Move", then "Mana" and replacing the variables "@hit" and "@maxhit" with the move & mana versions you set up in the trigger.
When you pick up something or drop something, your total count/weight will be updated in the statistics window. You could, if you wanted, add an additional trigger for anyone giving you something that would also issue the "icount" response.


RoAClient 4.5/4.6 Stat Window Trigger Setup

You must be able to configure your prompt so that the minimum and maximum hit points, mana and move (whichever you want represented) appear in your prompt. You must also have a variable in your prompt that shows enemy name and enemy condition for the client to pick up the info for the representation in the stats window.

If you do, then follow this formula:

My prompt looks like this (but only during combat):

<431/431 528/630 847/881 - {Perfect} - a zha'un commoner - 62367>

On an RoAMUD, to set up your prompt correctly, type:

     prompt <%h/%H %v/%V %m/%M - %E - %F - %x>

To set up things so that you can see the bars for your stats, as well as the info on your enemy, you must set up a trigger that reads like this:

<%1/%2 %3/%4 %5/%6 - %7 - %8 - %9>

%1 is current HP
%2 is maximum HP
%3 is current Move
%4 is maximum Move
%5 is current Mana
%6 is maximum Mana
%7 is opponents condition
%8 is opponents name
%9 is experience to next level

Make the trigger and just click "Apply"... don't direct it to anywhere or give it a response.

At that point, once you move once, or hit return, you should see your stats indicated by bars on the right-hand side, below which will be your exp.

You can do this with just hitpoints, move and mana, or just hit points and move, or just hit points... but you must have both current and maximum for the bars to represent properly.

Now, if you'd like to see your stats on the right and NOT see your prompt, then in the triggers window, click the box that says "Replace with" and Put in a > or whatever you'd like to see instead.