OK, I must be feeling really odd today, here's snippet #2 for the edification and ejoyment of anyone running 1.60b (And if you aren't, shame on you! Bad wiz! Bad, Bad, Bad!)
OK, this is a cosmetic snippet originally ported to Smaug by Desden, and now to AFK 1.60b by yours truly. It adds a new command "mana" which allows a player to see the amount of mana needed to cast any spells they're capable of casting, with yellow coloured spells meaning you have enough for it, and red meaning you don't. The player can also bring up mana for individual spells.
The original version had code in it to handle vampires and blood, but I removed that since none of that is in AFK as far as I can tell.
I've moved the instructions to make it easier, you can find they here