If you have an existing route for the map you wish to chain in your chdtm folder remove this elsewhere.
DO NOT delete it incase you wish to place it back.

1. Set the value "chedit" to 1 from console

chedit 1

2. Restart the map like below

map q2dm1

3. Roam around the map

4. If you use an elevator with button etc.. and you want to test it to see if a bot can use it correctly. then use the sv dsp ? .. ? = how many steps before the function

 If you want a Bot run from the last 20 steps to current pod type

sv dsp 20

If the Bot can get to current pod bot will be removed automatically .. If the Bot failed to trace chaining Bot will be removed automatically too.

When do you want to take back 20 of chaining pods type

cmd undo 20

5. When your chaining is done save it as a chaining route file .. This will be saved file under "chdtm" directory as its map name ie .. q2dm8.chn

sv savechain

caution!
don't try and do any tricky moves ( like rocket jumps or grenade jumps )
if you die ( drop to lava or slime etc ) route will be fixed to safely route.
if the bot is not automatically removed ,execute remove command. ( sv rmb 1 )