Brackets, Braces, etc. in Scripting

A Forum Thread for Counter-Strike: Source

Hello world. We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending Organized_Chaos points.
  • Post: Give Organized_Chaos your thoughts on this Thread.
  • Flag: Alert moderators and warn members of a problem with this Thread.
  • Watch: Get notified when this Thread is updated.
Mascot

Join the community!

Sign up

Already a Bananite? Login

How do you go about binding a key to change your name if your name has a clan tag in it. For instance, to change your name in console manually, you have to type name "[CUC> Organized_Chaos" for instance to get the space between the tag and the name. Well, is there a way to get the space in there when you bind that command to a key? So far I can't get it to work because the bind also uses double quotes and i guess you can't have two pairs of quots in a bind? ive been trying something like this and obviously it isnt working - bind "HOME" "name "[CUC> Organized_Chaos"" I'm not the best scripter out there so any help would be appreciated. Thanks

Posts

  • 13y
    Organized_Chaos avatar
    Member Joined 15y
    120 points Ranked 24974th
    hmm....maybe they changed that since 1.6...i assumed the basic structure of binds would've remained the same...thnx
    [CUC]
  • 13y
    BigDog avatar
    BigDog avatar Offline
    Admin Joined 13y
    9,773 points Ranked 448th
    16 medals 2 legendary 1 rare
    • Achieved Admin clearance Medal icon
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • Became a Club Leader Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    BigDog avatar
    BigDog
    Guard Dog
    oo Bind "x" "name [CUC> Organized Chaos"
    thats should work.. works for me... all i needed was the ""
    Once a Top Dog, Always a Top D avatar
    Mantra
    Once a Top Dog, Always a Top D

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Submitter

Organized_Chaos avatar
Member Joined 15y
120 points Ranked 24974th

Organized_Chaos
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Stats

Posts
2
Views
870
Date Added
13y
bcp.crwdcntrl.net tracking pixel