![]() |
|
Advanced 02 - Two commands under one key 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: Advanced 02 - Two commands under one key 2 (/thread-27.html) |
Advanced 02 - Two commands under one key 2 - John - 21-02-2012 Advanced 01 - Two commands under one key 1 | Advanced 03 - Team, class and map cfg's I won't be explaining alot in this tutorial, just see for yourself and try to understand. autoexec.cfg Code: bind ALT "+vstr SayTeam SayGlob"
set SayGlob "exec bindsglob"
set SayTeam "exec bindsteam"
vstr SayGlob
bind F1 vstr thanks
bind F2 vstr welcome
bind F3 vstr oops
bind F4 vstr sorry
bind F5 vstr payback
bind F6 vstr nize
bind F7 vstr hi
bind F8 vstr bye
bind F9 vstr yes
bind F10 vstr nobindsglob.cfg Code: set thanks ""vsay thanks" ^2- ^7Thanks^2?^7! ^2-"
set welcome ""vsay welcome" ^2- ^7No problemo^2?^7! ^2-"
set oops ""vsay oops" ^2- ^7Woopsie^2?^7! ^2-"
set sorry ""vsay sorry" ^2- ^7Sorry^2?^7! ^2-"
set payback ""vsay cheer" ^2- ^7Payback^2?^7! ^2-"
set nize ""vsay greatshot" ^2- ^7Nize^2?^7! ^2-"
set hi ""vsay hi" ^2- ^7Hello^2?^7! ^2-"
set bye ""vsay bye" ^2- ^7Good bye^2?^7! ^2-"
set yes ""vsay affirmative" ^2- ^7Yes^2?^7! ^2-"
set no ""vsay negative" ^2- ^7No^2?^7! ^2-"bindsteam.cfg Code: set thanks ""vsay_team thanks" ^2- ^7Thanks^2?^7! ^2-"
set welcome ""vsay_team welcome" ^2- ^7No problemo^2?^7! ^2-"
set oops ""vsay_team oops" ^2- ^7Woopsie^2?^7! ^2-"
set sorry ""vsay_team sorry" ^2- ^7Sorry^2?^7! ^2-"
set payback ""vsay_team cheer" ^2- ^7Payback^2?^7! ^2-"
set nize ""vsay_team greatshot" ^2- ^7Nize^2?^7! ^2-"
set hi ""vsay_team hi" ^2- ^7Hello^2?^7! ^2-"
set bye ""vsay_team bye" ^2- ^7Good bye^2?^7! ^2-"
set yes ""vsay_team affirmative" ^2- ^7Yes^2?^7! ^2-"
set no ""vsay_team negative" ^2- ^7No^2?^7! ^2-" |