Skip to content

thezukiru/MTAProvinceScriptRunner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 

Repository files navigation

ScriptRunner โ€” MTA Province Script Automation Tool

โš ๏ธ Note: This tool was created as a temporary alternative to AutoHotkey (AHK), which currently does not work in MTA Province.


๐ŸŒŸ About

ScriptRunner is a simple GUI-based script automation tool designed for roleplay convenience in MTA:SA Province.
It allows you to store, manage, and paste predefined console commands quickly โ€” especially useful for faction scenarios, documents, and dynamic dialogues.

I'm not a professional developer, so this project was built step-by-step with the help of AI (Qwen & ChatGPT).
I'm sharing it in hopes that others can use, improve, or contribute to it.

โ— I do NOT claim this code is perfect or worthy of "Best Code of the Year" โ€” but I'm open to feedback, optimizations, and contributions!


๐Ÿ› ๏ธ How It Works

  1. Enter your script in the input field, e.g.:

    do ะŸะฐัะฟะพั€ั‚ ะฒ ะบะฐั€ะผะฐะฝะต

    me ะฑะตั€ั‘ั‚ ะดะพะบัƒะผะตะฝั‚ั‹

  2. Click "Start Script".

  3. In MTA:SA, open the console with F8, type =, press Backspace, then paste with Ctrl+V.

  4. Press Enter to execute โ€” the next line will be ready for pasting.

  5. Use "Skip Line" to skip a command (e.g., for conditional roleplay like "If / Else" scenarios in factions).


โš™๏ธ Features

  • โœ… Simple GUI for managing scripts
  • โœ… Line-by-line pasting into MTA console
  • โœ… Skip individual lines during playback
  • โœ… Save/load scripts automatically
  • ๐Ÿ”ง Easy to extend (feel free to contribute!)

โš ๏ธ Known Issues

  • โŒ Autosave is unstable โ€” please always set it to Off.
    • Enabling autosave may corrupt your scripts.
  • ๐Ÿ’พ Scripts are saved in: %appdata%\ScriptRunner\scenarios.json

๐Ÿ’ก You can manually back up or edit this file if needed.


๐Ÿ’ก Want to Help?

Iโ€™d really appreciate your help improving this tool! Possible contributions:

  • ๐Ÿ”ค Code optimization & refactoring
  • ๐Ÿž Bug fixes (especially for autosave)
  • ๐Ÿ–ผ๏ธ UI/UX improvements
  • ๐Ÿงช Testing on different systems

๐Ÿ‘‰ Open an Issue or Pull Request with suggestions, fixes, or enhancements!


๐Ÿ“ Project Origin

  • Initial GUI concept generated via Qwen
  • Code logic and debugging assisted by ChatGPT
  • Iteratively developed for real-world use in MTA Province

๐Ÿ“„ License

This project is licensed under the MIT License โ€” feel free to use, modify, and distribute.


Made with โค๏ธ by a Province player who just wanted a working AHK alternative.
Letโ€™s make roleplay smoother โ€” together.

About

Script made by AI ChatGPT and Qwen.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages