# Kill alias

The kill alias is one of, if not the, most important and frequently used aliases you'll have. Unless you don't use one and just use kill on every NPC you attack.

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, stone palms in the Oasis, as well as contractable NPCs and quest NPCs.

The first thing to decide when writing a kill alias is whether it should be exclusive (kill all except ...) or inclusive (kill cockroaches & beggars & ...). Then it's important to consider what not to attack or what to attack. Even if you decide to use an inclusive list you might have to exclude some things if you can't refer to some types of NPC without referring to others you don't want to target.

Bear in mind that you may create many aliases for different situations and locations, so long as you don't get confused and use the wrong one. Sensible naming is important for this.

For warriors, it's common to start a kill alias with the warcry command.

## An example kill alias

Feel free to use this one, primarily focused on keeping you safe in DJB.

• The following is an example of an exclusive kill alias, please feel free to add to it.
• 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.
alias ka kill all except players & bats & beatific men & beatific women & believers & bessie & camels & cats & clouds & cobblers & cows & crows & ceremonial guards & citadel guards & dazed men & dazed women & dogs & dragons & every fireflies & swarms & followers & every lights & giggly men & giggly women & golden blossom & golden chicken & hags & killers & heavies & hattian guards & hoplites & kang wu & khenmet & khepresh & kyakenko & lap-lip & lights & luggages & madmen & monkeys & moths & mounts & every mount & 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 & Lip-phon Lap-top & Ptuf & Limdul & Phin-lip & Ut-lat-khin & Phit-Git & Hin-lop-heds & jack straw & Adelphe & brick & Endos & Ptespi &