I'm trying to set it so that when I press f9 it sets 1-0 for the alien evo binds, then if I press it again, it'll set 1-0 for the human evo binds and vice versa. My problem is that I can press the button once and it'll work, but then I go to use it again, and it just tells me what the string is set to in the console.
I'm also trying to do this with cg_wwToggle for f10
set evobinds1 "vstr unbind; vstr alien; set evobinds vstr evobinds2"
set evobinds2 "vstr unbind; vstr human; set evobinds evobinds1"
vstr evobinds1
set wwtog1 "set cg_wwToggle 0; set wwtog vstr wwtog2"
set wwtog2 "set cg_wwToggle 1; set wwtog vstr wwtog1"
vstr wwtog1
bind f9 "vstr evobinds"
bind f10 "vstr wwtog"
the string "unbind" unbinds 1-0, the string "alien" sets 1-9 to the alien evo binds, and "human" sets 1-0 to the human evo binds. These binds work fine on their own, but when I try to implement them like this, it just doesn't work...
Any ideas on how to implement this or what I'm doing wrong? Thanks.