restore_pawn_script
Restore a Pawn script (.pwn/.inc) from the latest or a specific backup, undoing changes after a bad write.
Instructions
Restore a .pwn/.inc file from its latest backup (or a specific backup). Use this as 'undo' when a write goes wrong.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file to restore | |
| backupName | No | Optional specific backup filename to restore from. If omitted, restores the latest backup. |