-TWC| Forum
  • Forum
    • Top donors
    • Calendar
    • Help
    • Search
    • Statistics
    • Users
  • Manage
    • Identity
    • Panel
  • DJBooth
  • Gallery
  • Members
  • Site
  • Support


Trackbase Gametracker Facebook Steam

Current time: 17-02-2019, 12:37 AM Hello There, Guest! (Login — Register)


-TWC| Forum >> Public >> Tutorials >> How to make a cfg? >> Advanced 02 - Two commands under one key 2

Thread Closed 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Advanced 02 - Two commands under one key 2
21-02-2012, 06:13 PM
Post: #1
John Offline
Master Supreme Team
********
Administrators
Posts: 1,012
Joined: Feb 2012
Reputation: 100
Recognized Problem Solver Confirmed Active Member Good Idea Tutorial Master 2nd Meeting Attendant
Advanced 02 - Two commands under one key 2
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 no

bindsglob.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-"

Attached File(s)

.cfg tutorial8.cfg
Size: 147 bytes Downloads: 3
Click to download


.cfg tutorial8_binds.cfg
Size: 249 bytes Downloads: 3
Click to download


.cfg tutorial8_bindsglob.cfg
Size: 660 bytes Downloads: 2
Click to download


.cfg tutorial8_bindsteam.cfg
Size: 705 bytes Downloads: 1
Click to download


"If you tell the truth, you don't have to remember anything."
Visit this user's website Find all posts by this user
« Next Oldest | Next Newest »
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Advanced 04 - Class selecter John 2 2,953 13-05-2013 07:12 PM
Last Post: John
  Advanced 03 - Team, class and map cfg's John 11 6,715 11-02-2013 06:12 PM
Last Post: John
  Advanced 01 - Two commands under one key 1 John 0 2,219 21-02-2012 06:12 PM
Last Post: John
  Basic 03 - Advanced binds 2 John 0 2,589 21-02-2012 06:09 PM
Last Post: John
  Basic 02 - Advanced binds 1 John 0 2,636 21-02-2012 06:09 PM
Last Post: John

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | Site | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication

Powered By MyBB, © 2002-2019 MyBB Group.
Design: Duru
Theme reworked by Destroy666