The kill alias is if not the, at least one of the most important and frequently used aliases you'll have.
A good kill alias should keep you from attacking playerkillers, NPCs that will get you killed or losing inventory such as cats, priests and contractor NPCs in Djelibeybi, hags in Bes Pelargic and stone palms in the oasis as well as contractable NPCs and quest NPCs.
The first thing you got to decide when writing a kill alias is whether it should be exclusive or inclusive, what not to attack or what to attack.
The following is an example of an exclusive kill alias, please feel free to add to it.
kill all except Hin-lop-heds&Kang Wu&Lap-lip&Lip-phon Lap-top&Mihk-gran-bohp&Noc-noc-bang&Phin-lip&Phos-phor&Pkara Stainmaster&Ptarquet Shazam&Ptyler Stonecutter&Sandy Ptate&Tag-ahn-ruhn&Ut-lat-khin&Yclept&bats&cats&every fireflies&swarms&hags&killers&lights&moths&pets&priestesses&priests&receptionist&shady man&sheep shearers&shopkeepers&stone palms&summons&every mount&
A good kill alias
Feel free to use this one, primarily focused on keeping you safe in DJB. The spacing isn’t the tidiest but it works. The & at the end of the alias allows you to add more exclusions on a one-off basis, eg in a room you may type ‘kk dregs’ to kill all per the alias and also exclude the D’regs in the room.
kill all except players&bats&beatific men&beatific women&believers&bessie&camels&cats&clouds&cobblers&cows&ceremonial guards&citadel guards&dazed men&dazed women&dogs&dragons&every fireflies&every lights&giggly men&giggly women&golden blossom&golden chicken&hags&hattian guards&hoplites&kang wu&khenmet&khepresh&kyakenko&lap-lip&lights&luggages&monkeys&moths&Noc-noc-bang&oaks&palms&pets&pines&priestesses&priests&ptarquet&ptyler&receptionists&ryattenoki&shady man&sheep shearers&shopkeepers&sinule&skeleton warriors&spacey men&spacey women&stallowners&stone palms&summons&tneduts&tomtom&trees&trolls&wasted men&wasted women&worshippers&witches&wizards&wisps&Sle-pingh-beuh-tei&Lip-phon&Rahn-fara-wai&Teh-takk-eht&Pennie&Ptyler&Phos-phor&Lap-lip&Tag-ahn-ruhn&Ptarquet&Rook&Sandy&Wan-tew-iit&Lip-Bahm&Mihk-gran-bohp&Yclept&Pkara&Teh-takk-eht&Lap-lip&Ptuf&Limdul&Phin-lip&Ut-lat-khin&Phit-Git&Hin-lop-heds&jack straw&Adelphe&brick&every mount&