[TF] loading defs
Brought to you by:
kenkeys
|
From: kch at kch.n. (K. Howell) - 2003-04-09 15:54:34
|
I have not found a way to re-load a specific /def, but the way I do it is to save the modified def to a separate file and then /load that file. This can all be done with cut and paste in one block rather than editing it all into the input area. When I have been testing new functions, this has been really useful. I just keep the file open in vi, edit my changes, :w to save the changes and then /load the file. Once it has been tested and working, I edit my main defs file and either read in the temp file, or cut and paste it. -- Keith On Wed, 9 Apr 2003, jobs wrote: > I highly doubt it, but is there a way to just reload a specific def? > Like rather than load an entire file from scratch, and when you have a /def that spans several lines > for neatness, rather than fixing it and then copy and pasting? > > ;old > /def -i order= \ > /echo -aBCred (Order of Races and Classes:)%;\ > /echo -aBCgreen =========================================%;\ > /echo -aBCyellow 1. Half-Griffon Psionicist%;\ > /echo -aBCcyan 2. Elf Thief%;\ > /echo -aBCmagenta 3. Drow Cleric%;\ > /echo -aBCwhite 4. Vampire Warrior%;\ > /echo -aBCred 5. Vampire Ranger Current%;\ > /echo -aBCgreen ========================================= > > ;new > /def -i order= \ > /echo -aBCred (Order of Races and Classes:)%;\ > /echo -aBCgreen =========================================%;\ > /echo -aBCmagenta 1. Half-Griffon Psionicist%;\ > /echo -aBCmagenta 2. Elf Thief%;\ > /echo -aBCmagenta 3. Drow Cleric%;\ > /echo -aBCmagenta 4. Vampire Warrior%;\ > /echo -aBCred 5. Vampire Ranger Current%;\ > /echo -aBCgreen ========================================= > > fixing it so that it can be pasted in can take time (especially when working with loads of lines at > a time) > > /reloaddef order or something would be nice :-) |