[Feature Request] Allow Chai to execute commands.
-
Allow Chaiscript to execute commands like
map_rotate. -
I agree
-
I also hope they will allow us to create custom commands like we did on IW4x, I mean I hope they will add something like the onPlayerCommand() function
-
I also hope they will allow us to create custom commands like we did on IW4x, I mean I hope they will add something like the onPlayerCommand() function
Shockeh You can listen for chat messages using the chat_message level notify.
-
Tom how? level.onNotify("chat_message ") and what i do after this?
-
level.onNotify("chat_message", fun(arguments) { var player = arguments[0]; var message = arguments[1]; });Player and message might be reversed so just experiment with it.
-
level.onNotify("chat_message", fun(arguments) { var player = arguments[0]; var message = arguments[1]; });Player and message might be reversed so just experiment with it.
Tom said in [Feature Request] Allow Chai to execute commands.:
level.onNotify("chat_message", fun(arguments) {
var player = arguments[0];
var message = arguments[1];
});that's actually insane. Thanks so much.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login