PDA

View Full Version : Line Number Insertion Program



YdocNameloc
04-23-2005, 12:24 AM
Hey guys. Well I got tired of writing my scripts and then sitting down for 30 minutes to input line numbers into everything just to find out later that I misnumbered somewhere. So I wrote a program that does the tedious task for me.

So I decided I'd upload it and give it to all you guys. This will work with both .txt and .rtf files and will retain all formatting you may have done. What the program does is take a character or set of characters you will use when writing your scripts to designate the beginning of a new line number (I.E. a colon ":") and will insert "_linenumber_" before said line marker.

So if your line before was:

Character1: blah blah blah bliggity blardy blah

Now it will read:

Character1_0_: blah blah blah bliggity blardy blah


Be sure to NOT save over the original. This was not professionally made and problems CAN occur. I'd hate for your original to get screwed up.

ALSO NOTE that when working with RTF files, due to the way they're formatted, your markers should be carefully chosen as the wrong one can screw up your script. -'s alone can cause problems. When working with RTF files it's best to mark your lines with a combination of characters or colons ":". Text files, however, aren't that picky.


************************************************** ********



Be sure to read the README.rtf included in the Zip for a full set of instructions. To install simply unzip the contents of the zip into a directory of your choice.

DOWNLOAD (http://ydoc.va-haven.net/LineInsertApp.zip) 1.5 megs


NOTE: This only works on scripts that are 400,000 characters long or shorter. However if you have one script for an RP that's more then that you're going to drive someone crazy. (keep in mind my 30 page MCTTB script was only 16,000 characters long)

Matt Alan
04-23-2005, 12:38 AM
You sir, are a genius. *downloads*

EDIT:

To the rest of the world...April 22nd might be "Earth Day", but in the AVA World, April 22nd will now and forever more be known as "Ydoc Day"!

ALL HAIL CODY! >D

Masahiko
04-23-2005, 08:01 AM
Matt, wipe your face. You got ass on it. :wink:

arick86
05-12-2005, 09:28 AM
hey.. it don't work...

that is to say.. it won't download...

Luckee Cookie
05-20-2005, 07:32 PM
XD OMG~! what a life saver :3