====== .bind ======
^ .bind ^^
|{{ bind.webp?500 |The .help entry for .bind.}}||
^Type|[[:Command]]|
^Category|[[:No Category|none]]|
^In-game description|"Shortcut for '.binds add'.\\ \\ Syntax: .bind \\ .bind \\ 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]]|
.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 '' Binds '''' to toggle ''''.\\ \\
* ''.bind '' Binds '''' to run ''''.\\ \\
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}}