Skip to content
  • 0 Unread 0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse

Plutonium

  1. Home
  2. MW3 Modding Support & Discussion
  3. [Feature Request] Allow Chai to execute commands.

[Feature Request] Allow Chai to execute commands.

Scheduled Pinned Locked Moved MW3 Modding Support & Discussion
7 Posts 5 Posters 923 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Xerxesundefined Offline
    Xerxesundefined Offline
    Xerxes
    Plutonium Staff
    wrote on last edited by
    #1

    Allow Chaiscript to execute commands like map_rotate.

    Shockehundefined 1 Reply Last reply
    0
    • floxundefined Offline
      floxundefined Offline
      flox
      wrote on last edited by
      #2

      I agree

      1 Reply Last reply
      0
      • Xerxesundefined Xerxes

        Allow Chaiscript to execute commands like map_rotate.

        Shockehundefined Offline
        Shockehundefined Offline
        Shockeh
        wrote on last edited by
        #3

        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

        InactUsr2262undefined 1 Reply Last reply
        0
        • Shockehundefined Shockeh

          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

          InactUsr2262undefined Offline
          InactUsr2262undefined Offline
          InactUsr2262
          wrote on last edited by
          #4

          Shockeh You can listen for chat messages using the chat_message level notify.

          1 Reply Last reply
          0
          • Sorexundefined Offline
            Sorexundefined Offline
            Sorex
            Contributor
            wrote on last edited by
            #5

            Tom how? level.onNotify("chat_message ") and what i do after this?

            InactUsr2262undefined 1 Reply Last reply
            0
            • Sorexundefined Sorex

              Tom how? level.onNotify("chat_message ") and what i do after this?

              InactUsr2262undefined Offline
              InactUsr2262undefined Offline
              InactUsr2262
              wrote on last edited by
              #6

              Sorex

              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.

              Shockehundefined 1 Reply Last reply
              0
              • InactUsr2262undefined InactUsr2262

                Sorex

                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.

                Shockehundefined Offline
                Shockehundefined Offline
                Shockeh
                wrote on last edited by
                #7

                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.

                1 Reply Last reply
                0

                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
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Unread 0
                • Recent
                • Tags
                • Popular
                • Users
                • Groups