depending on how involved you wanted it, writing it yourself shouldn't be too hard.
if you just mean to protect your servers, etc from power problems, get a UPS for either the entire computer room or the servers you want to protect. for user's pcs, make sure all pcs have a ups on them.
but contingency plans normally mean corp data, ie servers and normally for disasters and not just simple power outages. with an APC Matrix UPS for example, you could keep several servers up for 8 hours ormore with enough batteries.
we use those plus a 80Kva UPS for the computer room. we can stay up for about 12+ hours when power dies.
if you mean for disaster, make sure backups are done every night, rotated weekly, and monthly tapes put away for at least 6 months with the tapes being places off site somewhere.
also, have at least 1 spare server off site that you can restore to. $$ has to be set aside so that in case of a disaster, you can go out and buy pcs and servers and networkequipment.
commen sense is the best approach.