Skip to content

Question about Admin Bot

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • #187678
    Chike
    Member

    @Random wrote:

    this code goes to Form1 and take place of (username) and stats portion of the Timer1, am i right?

    Where it goes is your decision, all the code does is retrive the next line from the room text based on the last line read that is sent as a parameter (and updated upon return.)
    What line to start with, how to process the line, and when to stop processing lines is up to you. It just provide you the means to read all lines you haven’t read yet and thus not lose any.
    If last line you read was 50 and now there are 100 you can keep read them in a loop until there are no more lines left (the function reaturn false.) That’s why the timer interval is not significant either.

    #187677
    Random
    Member

    ok, chike. this is what i’m seeing from all these … in form1, (function username) text1 is where i get the user that enters the room. then in timer1 (stats section) it passes it to listbox with the time of entry. i put your code in a module. if i know where to use the Function get_next_line, i know with a little knowladge that i have and a few mistakes that i’m sure i’m gonna make, i’ll get it in the right place. if there’s any starting point you can think of, that i can call this function, it’ll be great because i’m thinking once this code is used, username function and stats portion in timer1 might become useless.
    here is the source itself 😀

    thanks

Viewing 2 posts - 16 through 17 (of 17 total)
  • You must be logged in to reply to this topic.