damn... looks so nice.... seems like it can fix my problem....
but i dont understand a word ....(little bit stupid <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/mybad.gif" style="vertical-align:middle" emoid="

" border="0" alt="mybad.gif" /> )
k... lets see, how far i get it:
i do that:
<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->Now, IIRC AlexusB had a method for doing this even neater:
What he did was, taking advantage of POTC's ability to read new code you can have POTC open in a window and notepad/your IDE in another, and add the code, save the file, then press a key to have POTC read the file and execute the code, then _unload_ the file and be ready for the next time.
example follows:
add key define to controls, "executeconsole" and assign to a key. <span style='`font-size`:7pt;`line-height`:100%'><u>where?</u></span>
code:
--------------------------------------------------------------------------------
CI_CreateAndSetControls( "", "executeconsole", CI_GetKeyCode("VK_F12"), 0, false );
--------------------------------------------------------------------------------
Add in one of the Switch(controlname) blocks in seadogs.c (say, the one used for always run and toggle logs):
code:
--------------------------------------------------------------------------------
case "executeconsole":
if(LoadSegment("console.c"))
{
ExecuteConsole();
UnloadSegment("console.c");
}
break;
--------------------------------------------------------------------------------
and create a file in the PROGRAM folder called console.c that looks like this:
code:
--------------------------------------------------------------------------------
// `Jerry-rigged` console file.
//put code under ExecuteConsole() below.
//NK `04-08`-28
void ExecuteConsole()
{
Log_SetStringToLog("Executing Console");
}
<span style='`font-size`:7pt;`line-height`:100%'><span style='`font-size`:7pt;`line-height`:100%'><u>extern void ExecuteConsole(); // NK </u></span></span>
-------------------------------------------------------------------------------
Then, add whatever code you want to run above the Log_ line, and you have your own `jerry-rigged` console.
Then, you can have POTC open in a window and console.c in your IDE, and just add the code and save on the fly, then hit F12 in POTC to execute it.
Rinse and repeat.<!--QuoteEnd--></div><!--QuoteEEnd-->
and after that i put your line WHERE ?
in the console in game? the hole line?<span style='`font-size`:7pt;`line-height`:100%'>[/size][size=#]</span>