Results 1 to 7 of 7

Thread: Delete one line in debug?

  1. #1
    Join Date
    Jun 2006
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Delete one line in debug?

    Is there a function to delete only the last line in hte debug box?

  2. #2
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    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.

  3. #3
    Join Date
    Jun 2006
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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.

  4. #4
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    I though inchat returns a boolean:

    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.
    I'm confused, could you explain what you're trying to do in more detail?

  5. #5
    Join Date
    Jun 2006
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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

  6. #6
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Could you post the code thats writing 'yo' in the debug box? I can't get my example above to write "welcome to runescape".

  7. #7
    Join Date
    Jun 2006
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Which to delete
    By Camaro' in forum RuneScape News and General
    Replies: 3
    Last Post: 06-01-2008, 10:02 PM
  2. Before I delete any TRACE of this..
    By Torrent of Flame in forum OSR Help
    Replies: 4
    Last Post: 03-15-2008, 01:42 PM
  3. UID, others not being able to delete
    By da_professa in forum RS has been updated.
    Replies: 5
    Last Post: 06-19-2007, 03:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •