Svof Multi-Person Magi Limbcounter ====================================== The magi limbcounter automatically tracks whomever you are hitting, and tells you their limb status after each hit - along with any limbs that are prepped, if any. It also has a feature of showing the last hit opponents limb status on the prompt - to use this, add the *@ml_prompttag*, *@ml_prompttag2* or *@ml_prompttag3* tag to your :ref:`custom prompt`. The tags display the same information in different ways, so choose whichever one you'd like. If you'd like to modify a tag, the source code for them is available in the script for the addon - copy it into a new script (so it doesn't get overwritten on an update) and feel free to tinker. If you just want to keep your prompt as-is, then you can use this: :: vconfig customprompt ^1@healthh, ^2@manam, ^5@endurancee, ^4@willpowerw ^W@eqbal@defs^b|@ml_prompttag^W- @affs You might also find this `example targetting alias `_ useful for attacking with. Aliases ^^^^^^^^^^ .. glossary:: vsl Shows limb data of everything that the counter is keeping track of. nn Resets the limb data of the last hit person. nn *person* Resets the limb data of a given *person*. nn *t/h/rl/ll/ra/la* Resets a specific limb of the last hit person. API ^^^^^^^^^^ .. glossary:: svo limbcounter hit (who, where) (event) This `Mudlet event `_ goes off when you've hit someone's limb. The event arguments include whom and where did you hit them. svo limbcounter reset This event is raised when the limbcounter is reset (either fully, or only an a person, or a specific persons limb). You can then re-read the current *svo.ml_list* table to get the current values. svo.ml_list (table) A table containing all of the limbcounters tracking data - organized by named tables of people and their limb status, along with their breaking points. :: display(svo.ml_list) --[[yields, for example: table { 'Person2': table { 'ml_break_at': 10 'rightleg': 0 'leftleg': 4 'torso': 0 'leftarm': 0 'rightarm': 0 'head': 0 } 'Person1': table { 'ml_break_at': 10 'rightleg': 0 'leftleg': 0 'torso': 4 'leftarm': 0 'rightarm': 0 'head': 9 } } ]] svo.lasthit (string) Stores the last hit persons name. You can use it to check a specific limb status in an alias, for example: :: echo(string.format("%s's head is at %s.\n", svo.lasthit, svo.ml_list[svo.lasthit].head)) svo.ml_prep_at (number) Amount that new people's that the limbcounter sees prep point is set to. Default is 4. svo.ml_break_at (number) Amount that new people's that the limbcounter sees breaking point is set to. Default is 5.