Is it possible to combine several commands into one? #3319
-
I need to send inventory from three different games via asf, for this I need to register 3 teams in turn with different game IDs, is it possible to register several game IDs in one command, or to combine 3 teams into one at once? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Not possible right now and due to the fact that those requests are independent and might result in different responses, I don't see any added benefit of making it possible. You should consider sending 3 commands or firing 3 ASF API requests, all can be executed at the same time without waiting for each other if you want to focus on performance of such solution. |
Beta Was this translation helpful? Give feedback.
-
You can use my plugin https://github.com/CatPoweredPlugins/CommandAliasPlugin to create such "combined" commands, if you're interested. |
Beta Was this translation helpful? Give feedback.
Not possible right now and due to the fact that those requests are independent and might result in different responses, I don't see any added benefit of making it possible. You should consider sending 3 commands or firing 3 ASF API requests, all can be executed at the same time without waiting for each other if you want to focus on performance of such solution.