Mercurial > hg > batmud > ggrtf
changeset 1247:aa4f7e679b2d
In some cases certain emotes etc were counted as a hit, fixed.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 02 Nov 2010 12:27:49 +0000 |
parents | 6ef25ff4b2b7 |
children | 4397134e60ed |
files | gm-hitstats.tf |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gm-hitstats.tf Sun Oct 24 20:13:03 2010 +0000 +++ b/gm-hitstats.tf Tue Nov 02 12:27:49 2010 +0000 @@ -142,7 +142,8 @@ /let _yname=$[prgetshort({3})]%;\ /test prlist_insert("lst_%{1}_hits", {2})%;\ /set hst_name_%{_hname}=%{3}%;\ - /def -i -p99999 -F -mregexp -t"^(You|(Cackling|Smiling|Grinning) (demonically|devilishly|diabolically) you) %{3} " ghitstats_%{_hname} =\ + /def -i -p99999 -F -mregexp -t"^(You|(Cackling|Smiling|Grinning) (demonically|devilishly|diabolically) you) %{3} (.*)$$" ghitstats_%{_hname} =\ + /if (regmatch("^(your|on) ", {P4})) /break%%;/endif%%;\ /ghitstats_gag %{_yname}%%;\ /set hst_%{1}_total=$$[hst_%{1}_total+1]%%;\ /if (hst_crithit==1) \