Wow! I haven't seen this version of my sprint mod for about 10 years. I think I made this version for the "Battle for Europe" online game site in 2006 or maybe 2007. I can't remember, it was that long ago. I've made about 3 different and better versions since then.
Anyway, for this version of the mod, you have to edit maps\mp\gametypes\_sprint.gsc:
That's what Izno was saying - if a bot tries to enter the code, they are rejected.
Nice, but OP should keep in mind that times have progressed and libcod now has a built-in isbot() function. No need to manually add it on libcod-enabled servers.
"Does not work" is an error report for a bug between keyboard and chair.