Results 1 to 1 of 1

Thread: Winsock Question

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2007
    Location
    Riverton, WY
    Posts
    36

    Question Winsock Question

    I'm checking out this bot and running it through step by step. I think I understand what it's doing, but not quite why/how.

    http://www.vbforums.com/showthread.php?t=157592

    Also, I'm trying to get it to where it picks up one what people say in the main room, run some calculations based on the input, and spit it back out.

    I want this to occur in the main room, not in a private message.

    I'm trying to figure out the sckServer.DataArrival part; I think that is the key for what I am looking for.

    Basically, I'm wanting it to work so that the following happens:

    <Joe_Schmoe> !roll 5
    Bot catches "Joe_Schmoe", the "!roll" command, and "5". Bot creates 5 random numbers within a pre-determined range and sends back the following to the room for all to see:

    <Bot_Test> <Joe_Schmoe> rolled 5 dice: #, #, #, #, #.


    Really all I'm needing help on is figuring out how to catch the input and send the output.


    Thanks!
    Last edited by CyberInfantry; Jan 22nd, 2007 at 05:25 PM. Reason: Renaming to better title...

Posting Permissions

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



Click Here to Expand Forum to Full Width