<commit_before><?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<!-- This Source Code Form is subject to the terms of the Mozilla Public -->
<!-- License, v. 2.0. If a copy of the MPL was not distributed with this -->
<!-- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<!-- Saved on Monday, March 12, 2012, 11:18 AM -->
<!-- MuClient version 4.81 -->

<!-- Plugin "mume_xp_counter" generated by Plugin Wizard -->

<muclient>
<plugin
   name="mume_xp_counter"
   author="<NAME>"
   id="<PASSWORD>"
   language="Lua"
   purpose="Keeps track of the xp and tp that you receive on Mume."
   date_written="2012-03-12 11:17:05"
   requires="4.70"
   version="1.0"
   >

</plugin>


<!--  Get our standard constants -->

<include name="constants.lua"/>

<!--  Aliases  -->

<aliases>
  <alias
   name="display_xp_info"
   match="xp"
   enabled="y"
   group="mume_xp_counter"
   omit_from_log="y"
   send_to="12"
   sequence="100"
  >
  <send>xpDisplay()</send>
  </alias>
</aliases>

<!--  Triggers  -->

<triggers>
  <trigger
   enabled="y"
   group="mume_xp_counter"
   keep_evaluating="y"
   match="^(?:You are dead\! Sorry\.\.|Reconnecting|Welcome to the land of Middle-earth\. May your visit here be\.\.\. interesting)\.$"
   name="reset"
   regexp="y"
   send_to="12"
   sequence="100"
  >
  <send>session_xp = 0
session_tp = 0
old_xp = 0
old_tp = 0
Send("info XPCOUNTER: %x %t %X %T.")</send>
  </trigger>
  <trigger
   enabled="y"
   group="mume_xp_counter"
   match="You receive your share of experience."
   name="gained_xp"
   omit_from_output="y"
   send_to="13"
   sequence="100"
  >
  <send>info XPCOUNTER: %x %t %X %T.</send><commit_msg>When the poisoned roots in Fangorn are killed, display the xp counter as expected.<commit_after><?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<!-- This Source Code Form is subject to the terms of the Mozilla Public -->
<!-- License, v. 2.0. If a copy of the MPL was not distributed with this -->
<!-- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<!-- Saved on Monday, March 12, 2012, 11:18 AM -->
<!-- MuClient version 4.81 -->

<!-- Plugin "mume_xp_counter" generated by Plugin Wizard -->

<muclient>
<plugin
   name="mume_xp_counter"
   author="<NAME>"
   id="b<PASSWORD>3<PASSWORD>"
   language="Lua"
   purpose="Keeps track of the xp and tp that you receive on Mume."
   date_written="2012-03-12 11:17:05"
   requires="4.70"
   version="1.0"
   >

</plugin>


<!--  Get our standard constants -->

<include name="constants.lua"/>

<!--  Aliases  -->

<aliases>
  <alias
   name="display_xp_info"
   match="xp"
   enabled="y"
   group="mume_xp_counter"
   omit_from_log="y"
   send_to="12"
   sequence="100"
  >
  <send>xpDisplay()</send>
  </alias>
</aliases>

<!--  Triggers  -->

<triggers>
  <trigger
   enabled="y"
   group="mume_xp_counter"
   keep_evaluating="y"
   match="^(?:You are dead\! Sorry\.\.|Reconnecting|Welcome to the land of Middle-earth\. May your visit here be\.\.\. interesting)\.$"
   name="reset"
   regexp="y"
   send_to="12"
   sequence="100"
  >
  <send>session_xp = 0
session_tp = 0
old_xp = 0
old_tp = 0
Send("info XPCOUNTER: %x %t %X %T.")</send>
  </trigger>
  <trigger
   enabled="y"
   group="mume_xp_counter"
   match="^(?:You receive your share of experience|As the roots stop moving, they collapse into a large heap, completely blocking the exit down)\.$"
   name="gained_xp"
   omit_from_output="y"
   regexp="y"
   send_to="13"
   sequence="100"
  >
  <send>info XPCOUNTER: %x %t %X %T.</send>
{'fraction_non_alphanumeric': 0.17404795486600846, 'fraction_numerical': 0.03526093088857546, 'mean_word_length': 3.2774427020506636, 'pattern_counts': {'":': 0, '<': 66, '<?xml version=': 2, '>': 66, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5306017', 'n_tokens_mistral': 1394, 'n_tokens_neox': 1283, 'n_words': 342}