transform_pawn_script
Clone and refactor a Pawn script by replacing a theme word throughout the file, preserving original encoding for Thai projects.
Instructions
Clone and refactor a script (e.g. Juice -> Watermelon). MANDATORY for Thai projects to preserve encoding. DO NOT TRANSLATE Thai strings during transformation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newTheme | Yes | The replacement word (e.g., 'Watermelon') | |
| oldTheme | Yes | The word to replace (e.g., 'Juice') | |
| sourcePath | Yes | Path to the original .pwn or .inc file | |
| targetName | Yes | New name for the file (e.g. 'auto_watermelon') |