/bind and multiple commands #20

Closed
opened 8 years ago by kairo · 2 comments
kairo commented 8 years ago

Is it possible to bind multiple commands with /bind?
For example: /bind /input /ja "sneak attack" ; /input /ws "dancing edge" ;

This would work great together with Ashitacast.

Is it possible to bind multiple commands with /bind? For example: /bind /input /ja "sneak attack" <me>; /input /ws "dancing edge" <t>; This would work great together with Ashitacast.
Owner

Currently, I don't think I had support for sending multiple commands like this, however I can look into adding it or finding a way to do it in some manner. The issue here though is that you are going to need a wait timer between the two inputs or the weapon skill is going to fail. Ideally, something like having it execute binds that have multiple commands like this as a script would work. So that it will attempt to execute in a separate thread and allow for waits / sleeps. I'm not home currently to look into this but I can when I get home.

Currently, I don't think I had support for sending multiple commands like this, however I can look into adding it or finding a way to do it in some manner. The issue here though is that you are going to need a wait timer between the two inputs or the weapon skill is going to fail. Ideally, something like having it execute binds that have multiple commands like this as a script would work. So that it will attempt to execute in a separate thread and allow for waits / sleeps. I'm not home currently to look into this but I can when I get home.
Owner

I have just pushed Ashita v3.1.0.0 which includes this as a new feature. Keybinds will now accept multiple commands in a single line separated via semi-colons. For example:

/bind f1 /wave;/wait 5;/dance

I have just pushed Ashita v3.1.0.0 which includes this as a new feature. Keybinds will now accept multiple commands in a single line separated via semi-colons. For example: ```/bind f1 /wave;/wait 5;/dance```
atom0s closed this issue 8 years ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.