I tried the tool out, and it seems to leave off some things:
On a few quest files, it left off the ';' before the '}' at the end of the line.. others added the ';' but didn't put a space between ';' and '}'.
it's outputing quests like this:
EVENT_SAY {
if($1- =~ "Hail") {
say("Hey. hey. hey! Welcome to the Fool's Gold. Don't bet more than you can afford to lose. pal! You don't want to end up like ol' [Kevlin].");}
}
The format it correct with the ';' at the end of the line (on this one), but no space between ; and } at the end of the line... this causes syntax errors. If it looked like this:
EVENT_SAY {
if($1- =~ "Hail") { say("Hey. hey. hey! Welcome to the Fool's Gold. Don't bet more than you can afford to lose. pal! You don't want to end up like ol' [Kevlin]."); }
}
It would surely work everytime. On this one, there's only a lack of one space to make it work, but other quests are missing the ';' at the end of the line before the space and '}'.
Still, awesome job on this tool
