PDA

View Full Version : alias


TazAnimal
01-20-2003, 02:11 AM
guys and gals:
there has been some talk about using alias and it looks great, but I am trying to use an alias for changing the rotation and not having much luck...

If I try this:
alias DM1 "sv_maplist dm/southern_france_2_final dm/mohdm2 dm/mohdm3 dm/mohdm4 dm/mohdm6 dm/mohdm7; map dm/southern_france_2_final"

when I call that, it ssems to drop everything from sv_maplist after the first map. Because of the space maybe?

if I do the ones I have seen mentioned here in the forums that just set gametype and change to 1 particular map, they work just fine.

Any ideas how to get it to change gametype and add a whole new sv_maplist?

Thanks in advance

TazAnimal
01-22-2003, 08:03 PM
Found the answer myself.... feel kinda dumb about it, but here it is for anyone who wants to do this....

alias DM1 "g_gametype 1; set sv_maplist dm/southern_france_2_final dm/mohdm2 dm/mohdm3 dm/mohdm4 dm/mohdm6 dm/mohdm7; map dm/southern_france_2_final"

IOW, you have to use set with sv_maplist.
Works great now.
8)