PDA

View Full Version : Binding more than one command to a single key


Kain
10-30-2005, 05:45 PM
I was trying to bind multiple saber styles in SP. I had it set up as

bind . saber single_1
bind , saber single_1 single_2
bind / saber dual_1

But the colors were always random so I'd either hafta bind another key like

bind ' sabercolor 1 blue
bind m sabercolor 2 red

I was wondering if there was a way to type it so it'd switch to my desired style with the desired colors with one key?

riceplant
10-30-2005, 06:05 PM
You put all the commands you want to bind in quotes, with a semicolon between them, like this:
bind , "saber single_1; sabercolor 1 blue"

ZeroX2
10-30-2005, 06:41 PM
I was trying to bind multiple saber styles in SP. I had it set up as

bind . saber single_1
bind , saber single_1 single_2
bind / saber dual_1

If you want to cycle through them you'd need something like...

set sab1 "saber single_1; bind . vstr sab2"
set sab2 "saber single_1 single_2; bind . vstr sab3"
set sab3 "saber dual_1; bind . vstr sab1"
bind . vstr sab1