bind mouse1 "+fire; +toggle cl_dummy_hammer 1 0"
bind "e" exec undeepfly
echo "DEEP-FLY: ON"
this is undeepfly.cfg:
bind mouse1 +fire
bind "e" exec deepfly
echo "DEEP-FLY: OFF"
cl_dummy_hammer 0
cl_message_client_color 15990671
echo deep 1
bind mouse1 "+fire; +toggle cl_dummy_hammer 1 0"
bind mouse2 "+hook"
bind z exec pseudo.cfg
bind x exec hammer.cfg
bind s +showhookcoll
bind c "cl_message_client_color 12140667; echo deep 0; cl_dummy_hammer 0; bind mouse1 +fire; bind c exec deep.cfg"
cl_dummy_hammer 0
cl_message_client_color 15990671
echo deep 1
bind mouse1 "+fire; +toggle cl_dummy_hammer 1 0"
bind mouse2 "+hook"
bind z exec pseudo.cfg
bind x exec hammer.cfg
bind s +showhookcoll
bind c "cl_message_client_color 12140667; echo deep 0; cl_dummy_hammer 0; bind mouse1 +fire; bind c exec deep.cfg"
logfile
to log all output to - create the file in your local directory
and specify it in the client console
e.g %appdata%/ddnet
(edited)