Thread: javascript?
View Single Post
Old 11-15-2011, 12:41 AM   #3
FennyX
A Shissar Defiler
 
Join Date: Sep 2002
Posts: 173
Interface Author - Click to view interfaces
Default

like the previous poster said, you'll need an external process doing this for you. it could be either be a resident process or a !system command but "StoryML" is not like HTML -- its a very simple thing more along the lines of old-school DOS ANSI codes.

Also, you need to be careful with how you write to story files (this info could be dated since I haven't played EQ in a while, but story window remained untouched since its creation so it's a good bet it's still the case). EQ maintains an open handle on each viewed story for the life of the eqgame.exe process -- once someone has looked at a file, it cannot be deleted. It can, however, be modified.

So the approach you have to take is an "edit in place" rather than "write to temp file and replace". It's not a big deal, you just need to be aware of it.
FennyX is offline   Reply With Quote