Wurst.Wiki

The Official Wurst Client Wiki

User Tools

Site Tools


cmd:bind
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


cmd:bind [2022/01/15 16:28] (current) – created alexander01998
Line 1: Line 1:
 +====== .bind ======
  
 +<WRAP 516px>
 +^  .bind  ^^
 +|{{ bind.webp?500 |The .help entry for .bind.}}||
 +^Type|[[:Command]]|
 +^Category|[[:No Category|none]]|
 +^In-game description|"Shortcut for '.binds add'.\\ \\ Syntax: .bind <key> <hacks>\\ .bind <key> <commands>\\ Multiple hacks/commands must be separated by ';'.\\ Use .binds for more options."|
 +^[[:keybinds#default_keybinds|Default keybind]]|none|
 +^Source code|[[w7src>net/wurstclient/commands/BindCmd.java]]|
 +</WRAP>
 +
 +.bind is a [[:command|chat command]] that allows the user to create keybinds through the chat. This command acts as a shortcut for the more versatile [[.binds]] command.
 +
 +===== Syntax =====
 +
 +Main article: [[Command Syntax]]
 +
 +  * ''.bind <key> <hacks>'' Binds ''<key>'' to toggle ''<hacks>''.\\ \\ 
 +  * ''.bind <key> <commands>'' Binds ''<key>'' to run ''<commands>''.\\ \\ 
 +
 +Examples:
 +  * ''.bind M AutoMine'' Binds the M key to toggle [[:AutoMine]].\\ \\ 
 +  * ''.bind M .t AutoMine'' Binds the M key to run a [[.t]] command that toggles [[:AutoMine]]. (This keybind will behave exactly the same as the first example.)\\ \\ 
 +  * ''.bind M AutoMine;LSD'' Binds the M key to toggle both [[:AutoMine]] and [[:LSD]].\\ \\ 
 +  * ''.bind M .taco'' Binds the M key to run the [[.taco]] command.\\ \\ 
 +  * ''.bind M .say /home'' Binds the M key to run the /home command.\\ \\ 
 +  * ''.bind M .say Hello world.'' Binds the M key to send "Hello world." as a chat message.\\ \\ 
 +
 +===== Changes =====
 +
 +^Version^Changes^
 +|[[update:Wurst 7.1.2]]|Added ''.bind'' and ''[[.unbind]]'' commands for people who are more used to that kind of syntax.|
 +
 +{{tag>client-side}}
cmd/bind.txt · Last modified: 2022/01/15 16:28 by alexander01998