Mine
public text v1 · immutablerewritecond %{QUERY_STRING} ^script=(.+)$
RewriteRule ^.*$ /%1.html [R,L]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress