![]() |
|
Basic 03 - Advanced binds 2 - Printable Version +- -TWC| Forum (https://board.twcclan.org) +-- Forum: Public (https://board.twcclan.org/forum-13.html) +--- Forum: Tutorials (https://board.twcclan.org/forum-15.html) +---- Forum: How to make a cfg? (https://board.twcclan.org/forum-58.html) +---- Thread: Basic 03 - Advanced binds 2 (/thread-20.html) |
Basic 03 - Advanced binds 2 - John - 21-02-2012 Basic 02 - Advanced binds 1 | Basic 04 - Settings There's another thing you can do with the vstr binds, you can make it rotate trought a list: autoexec.cfg Code: bind F3 vstr hi
set hi vstr hi1
set hi1 "vsay hi "Hi!"; set hi vstr hi2"
set hi2 "vsay hi "Hello!"; set hi vstr hi1"With the ; you can use multiple commands: the first one says hi, the second one sets hi to the next vstr. Now F3 will loop trough hi1 and hi2 again and again and again. |