Is there a function to delete only the last line in hte debug box?
Printable View
Is there a function to delete only the last line in hte debug box?
It's not in the output section of SCAR helpfile, so probably not. What do you need it for? Depending on what you need it for you could clear debug and rewrite everything else, or use status if you want something temporay.
Well, InChat returns the whole text into the debug box, but i dont want it to. I wanted to change it so it doesnt write it in, but i couldnt find where it is. SO i decided to try to delete the last line, but to no avail.
I though inchat returns a boolean:
I'm confused, could you explain what you're trying to do in more detail?Code:program New;
{.include srl\srl.scar}
begin
setupsrl;
setchat('off',1);
setchat('off',2);
setchat('off',3);
if inchat('welcome to runescape') then
writeln('yea');
end.
InChat does return a boolean, but the thing is, it bothers me that the debug box is filled with lines of text from the chatbox. For example, if you write "if InChat('yo')" then it will writeln the text "yo" was found in into the debug box, if it was found, of course. and if im not making myself clear enough, im sorry lol. i suck at speaking :P
Could you post the code thats writing 'yo' in the debug box? I can't get my example above to write "welcome to runescape".
Thats the thing. The only code that is ever lead to is GetTextAtEx, and that is built into SCAR...so it looks like i cant do anything.