Jump to content

Its a bind maybe some like it


AqUa

Recommended Posts

  • Leader
On 11/23/2021 at 11:45 AM, AQUA said:

";vsay

 

I think that that semi-colon, " ; ", will 'block' the rest of the line.  That is what happens whenever I put a ";" instead of a colon, " : ", into a bind or chat.

 

Wrong "language".  See next reply.

Edited by RedBaird
error, error, error, does not compute
Link to comment
Share on other sites

  • Platinum VIP
1 hour ago, RedBaird said:

 

I think that that semi-colon, " ; ", will 'block' the rest of the line.  That is what happens whenever I put a ";" instead of a colon, " : ", into a bind or chat.

 

Semi colons are used to string multiple commands into a single bind. However, put parenthesis around the entire bind - like AQUA did - or everything after the first semi colon will be eaten by ET as you described.

 

 

That said the semi colon in his/AQUA's bind does nothing ;)

  • Thanks 1
Link to comment
Share on other sites

  • Leader
2 hours ago, Dest!Ny said:

Semi colons are used to string multiple commands into a single bind.

 

Thanks.  I got confused as to which script-language that  I was pontificating about! 😮 

Link to comment
Share on other sites

7 hours ago, Dest!Ny said:

That said the semi colon in his/AQUA's bind does nothing

That works well written like that :

bind SEMICOLON "vsay Cheer ^b 1 Year of ^/Sunday Funday! ^b 28 November! ^/ Join the Beginners 2 server! ^b/connect b2.clan-fa.com "

 

7 hours ago, Dest!Ny said:

Semi colons are used to string multiple commands into a single bind

You don't need a vstr for this, depends of the key you use? 

Like I have bind w "vstr nextname" ( with other lines to complete it ofc ) 

 

 

Bonus :

My essential bind 😛 

bind b vsay FTattack ^0 A C^7A^0T ??!

Link to comment
Share on other sites

  • Platinum VIP
37 minutes ago, DeKing said:

That works well written like that :

bind SEMICOLON "vsay Cheer ^b 1 Year of ^/Sunday Funday! ^b 28 November! ^/ Join the Beginners 2 server! ^b/connect b2.clan-fa.com "

 

 

Not sure what you are referring to here 🤔 I'm talking about using an actual ";" like:

 

bind mouse4 "kill; forcetapout"

 

37 minutes ago, DeKing said:

You don't need a vstr for this, depends of the key you use? 

Like I have bind w "vstr nextname" ( with other lines to complete it ofc ) 

 


vstr is used to toggle through a multitude of commands. One simple example that I am currently using is:
 

set spawn "vstr spawnON"

bind p "vstr spawn"

set spawnON "exec spawnbinds; echo "^:SPAWNPOINTS: ^_ON";set spawn vstr spawnOFF"
set spawnOFF "exec weaponbinds; echo "^:SPAWNPOINTS: ^_OFF";set spawn vstr spawnON"

 

What it does is initialize the spawn vstr to SpawnON and binds p to access the vstr.

When you press p it executes what is written in set spawnON, excute cfg, echo a message, and set the spawn vstr to spawnOFF. This means that the next time you press p it will execute what is written in set spawnOFF.

 

To sum it up with ";" you list multiple commands that you want to execute after 1 button press whereas vstr is used to cycle through a button binding every time you press it

Link to comment
Share on other sites

1 hour ago, Dest!Ny said:

Not sure what you are referring to here

I have this bind written with SEMICOLON key, And when I press ";" key it will do it

 

Haha okay sorry I misunderstood everything :) 

You said add ";" to ask another cmd in the same time, like in your exemple 😛 

Edited by DeKing
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.