There is an old and unfinished RTCW bot project that is open source. It should give some ideas on how to start one for ET since the SDK's are very similar.
Source download is linked in the first post on this page:
ubersoldat
IIRC, Maleficus was helping somewhat with that mod.