https://github.com/antosser/bhop-script
Bunny-hop script that presses the ; at an arbitrary rate while the space key is held. Can be used in Half-Life *
https://github.com/antosser/bhop-script
bhop cross-platform half-lfie rust script
Last synced: 10 months ago
JSON representation
Bunny-hop script that presses the ; at an arbitrary rate while the space key is held. Can be used in Half-Life *
- Host: GitHub
- URL: https://github.com/antosser/bhop-script
- Owner: Antosser
- Created: 2024-06-12T20:08:29.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-06-16T15:13:02.000Z (over 1 year ago)
- Last Synced: 2025-03-08T02:34:37.228Z (11 months ago)
- Topics: bhop, cross-platform, half-lfie, rust, script
- Language: Rust
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Bunny-hop script that presses the `;` at an arbitrary rate while the `space` key is held.
# Installation
To use this program, you will need to have Rust installed on your system. Once you have Rust installed, you can install the program by running the following command in
your terminal:
```
cargo install bhs
```
## Dependencies
This program uses the `inputbot` dependency, so make sure to install [it's dependencies](https://github.com/obv-mikhail/InputBot?tab=readme-ov-file#build-dependencies) before installing if you are **using Linux** (Sigma).
# Usage
When you run the program, it will prompt you to enter two values: the interval between checks (in milliseconds) and the hold period (also in milliseconds). Once you
have entered these values, the program will start monitoring the keyboard input for a space key and simulate the pressing of the semicolon key when it is pressed.
Here are some usage examples:
```
$ bhs
Enter interval between checks (ms): 15
Enter hold time (ms): 5
```
In this example, the program will check for a space key every 15 milliseconds and simulate the pressing of the semicolon key if it is pressed. The hold period is set to 5 milliseconds, so the program will simulate the pressing of the semicolon key and then release it after one second has passed.