Welcome to the Achaea Forums! Please be sure to read the Forum Rules.
killCount - kill tracker for mudlet

Romaen
LondonMember Posts: 25 ✭
Hi all.
This is a package that counts the number of times you've killed everyone, and the number of times they've each killed you.
It comes with a few aliases to manage the table and search through it.
download link
https://www.dropbox.com/s/da8434mmlu1ngin/killCount.mpackage?dl=0
example use of aliases "kc all" and "kc help."


Thanks.
This is a package that counts the number of times you've killed everyone, and the number of times they've each killed you.
It comes with a few aliases to manage the table and search through it.
download link
https://www.dropbox.com/s/da8434mmlu1ngin/killCount.mpackage?dl=0
example use of aliases "kc all" and "kc help."

Thanks.
Scripts: https://github.com/27theo/achaea
Tagged:
2
Comments
-
Updated the package - fixed some alias regexes to work properly with multi word denizen names. Sorry there's no way of distinguishing between adventurer and denizen kills/deaths, but I couldn't come up with a consistent enough method.Scripts: https://github.com/27theo/achaea0
-
Oops! Forgot to remove the "retrieving its corpse" part from one of the package's triggers.
Add this function to the end of the script folder named "killCount."function killCount.fix() local n = 0 for k, v in pairs(killCount.db) do if k:sub(-23, -1) == ', retrieving the corpse' then if killCount.db[k:sub(1, -24)] then for i = 1, 2 do killCount.db[k:sub(1, -24)][i] = v[i] end else killCount.db[k:sub(1, -24)] = v end killCount.db[k] = nil n = n + 1 end end killCount.save() killCount.echo('Rectified '..tostring(n)..' entries.') end
Run it, to remove botched entries in the table.lua killCount.fix()
Find the trigger named "got a kill," and replace this line:
matches[2] = matches[2]:lower():title()
With this:
matches[2] = matches[2]:lower():title():gsub(', retrieving the corpse', '')
Scripts: https://github.com/27theo/achaea0
Sign In to Comment.
Hail, Stranger!
Categories
- 6K All Categories
- 3K Everything Achaea
- 1.5K North of Thera
- 21 Archives of the Terraformer
- 246 The Matsuhama Arena
- 873 The Golden Dais of Creation
- 283 The Scarlattan Theatre
- 145 The Blank Canvas
- 1.9K Getting Help
- 392 General Questions
- 251 Quick Class Questions
- 1.3K Tech Support
- 300 Client Help
- 459 Curing Systems and Scripts
- 829 Off-Topic
- 250 The Wander Inn
- 579 The Universal Membrane
- 286 Class Discussions
- 286 Individual Class Sections
- 20 Alchemist
- 9 Apostate
- 29 Blademaster
- 9 Depthswalker
- 12 Druid
- 4 Infernal
- 20 Jester
- 19 Magi
- 31 Monk
- 10 Occultist
- 7 Paladin
- 7 Priest
- 28 Runewarden
- 18 Sentinel
- 26 Serpent
- 19 Shaman
- 9 Sylvan