The dung of herbivores, the natural habitat of the model mushroom Coprinopsis cinerea, is a nutrient-rich but also very competitive environment for a saprophytic fungus. We showed previously that C. cinerea expresses constitutive, tissue-specific armories against antagonists such as animal predators and bacterial competitors. In order to dissect the inducible armories against such antagonists, we sequenced the poly(A)-positive transcriptome of C. cinerea vegetative mycelium upon challenge with fungivorous and bacterivorous nematodes, Gram-negative and Gram-positive bacteria and mechanical damage. As a response to the fungivorous nematode Aphelenchus avenae, C. cinerea was found to specifically induce the transcription of several genes encoding previously characterized nematotoxic lectins. In addition, a previously not characterized gene encoding a cytoplasmic protein with several predicted Ricin B-fold domains, was found to be strongly upregulated under this condition. Functional analysis of the recombinant protein revealed a high toxicity toward the bacterivorous nematode Caenorhabditis elegans. Challenge of the mycelium with A. avenae also lead to the induction of several genes encoding putative antibacterial proteins. Some of these genes were also induced upon challenge of the mycelium with the bacteria Escherichia coli and Bacillus subtilis. These results suggest that fungi have the ability to induce specific innate defense responses similar to plants and animals.