Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add CBA_fnc_registerChatCommand #507

Merged
merged 1 commit into from
Feb 16, 2017
Merged

Conversation

commy2
Copy link
Contributor

@commy2 commy2 commented Sep 21, 2016

When merged this pull request will:

  • title

Documentation:
https://github.com/CBATeam/CBA_A3/wiki/Registering-Custom-Chat-Commands

@bux
Copy link
Contributor

bux commented Sep 21, 2016

what's in _this?

@Cuel
Copy link
Contributor

Cuel commented Sep 21, 2016

Unless it's already there it would be so much useful to have the player who wrote the chat message in the parameters

@commy2
Copy link
Contributor Author

commy2 commented Sep 21, 2016

what's in _this?

Only one element atm. The text you entered.

Unless it's already there it would be so much useful to have the player who wrote the chat message in the parameters

It's only local. So the event only fires when you enter something, not others.

@Cuel
Copy link
Contributor

Cuel commented Sep 21, 2016

Of course 🎱

@Dorbedo
Copy link
Contributor

Dorbedo commented Dec 22, 2016

What is the state of this feature? It could be handy.

@commy2
Copy link
Contributor Author

commy2 commented Jan 7, 2017

@Dorbedo I wanted to make some kind of framework where you can define custom commands and optional parameters are passed to the function.

#customcommand argument1 argument2

The framework would also handle command availability (everyone, admin (voted), admin logged).

@commy2 commy2 closed this Jan 7, 2017
@commy2 commy2 reopened this Jan 7, 2017
@commy2 commy2 changed the title raise event when chat message is sent add CBA_fnc_registerChatCommand Jan 7, 2017
@commy2 commy2 removed the WIP label Jan 7, 2017
@commy2 commy2 added this to the 3.2 milestone Jan 7, 2017
@commy2
Copy link
Contributor Author

commy2 commented Jan 7, 2017

doc in OP

@commy2 commy2 force-pushed the add-chat-message-sent-event branch 3 times, most recently from 3cd899b to acfee3b Compare February 16, 2017 02:12
@commy2 commy2 merged commit 2114fa8 into master Feb 16, 2017
@commy2 commy2 deleted the add-chat-message-sent-event branch February 16, 2017 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants