Xonotic Forums
Space trigger ? - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Configuration Tips (https://forums.xonotic.org/forumdisplay.php?fid=19)
+--- Thread: Space trigger ? (/showthread.php?tid=4091)



Space trigger ? - _|'Ev|on - 04-24-2013

hi dudes

Code:
alias example "say ^$1 ^$2 ^$3"
alias example2 "commandmode example"
bind KEY "example2"

can i make on ^$1 ^$2 ^$3 a space trigger ?
i can make only Chat: 1hello 2wahts 3up = Chat: hello wahts up


RE: Space trigger ? - Mr. Bougo - 04-24-2013

I don't understand what you want to do. Do you want the color to change on every space? I'm sure that's possible, but I don't really want to spend time on this for now :X

Tell me what result you want and what you want to type to get that result.


RE: Space trigger ? - _|'Ev|on - 04-25-2013

I want a space after each color change


RE: Space trigger ? - Mr. Bougo - 04-25-2013

You want a color change after each space, you mean? That's certainly possible but I won't do that now, sorry. You'll need to make some sort of recursive alias that eats up one word at a time and detects when there's nothing left in the argument stack.


RE: Space trigger ? - _|'Ev|on - 04-26-2013

alright i try it