Hi @tiger_gao ,
Referring to the comments inside, looks like it is a general script which can be used for any version of MW, please kindly refer to the following for details.

Please kindly let me know if there is any further issue.
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------