Ok got it to run.
Neat program, it has potential.
Suggestion: make a new file "template.txt" or some such that the program loads at startup as the default template, in case we want to make our own
Also, add save/load capabilities for those of us who are too lazy to copy/paste
Lastly, this would be really neat, and probably impossible to code: have the right pane load common commands according to which "sub EVENT" your cursor is in. So if your cursor is in sub EVENT_SAY, the right pane loads things like "if ($text=~//i) {}" or "quest::say("");". And if it's in sub EVENT_ITEM it gives you "if ($itemcount{} == 1 ) {" and "quest::summonitem();", etc so you can just click the command on the right and insert it into the code
good work!
__________________
The PEQ Database Editor is available!
Edit Loot, NPCs, Spawns, Merchants, Factions, NPC Spell Lists, and Tradeskills with ease!
Check it out!