Results 1 to 14 of 14

Thread: Mid left right

Threaded View

  1. #13

    Thread Starter
    Hyperactive Member OMITT3D's Avatar
    Join Date
    Mar 2006
    Posts
    368

    Re: Mid left right

    Ok here is the code. I commented out the Nick parse stuff for now and replaced it with just Rub3X for now since that is my IRC nick. I am trying to make the login for it but as you can see I am having trouble. I don't know exactly how to use the IP and check if the person who is typing .login has the same IP as the one logged in. And tbh I doubt you will understand it since it mostly deals with raw IRC commands. Is there a way to pause just what happens in ONE sub while the program continues? Cause...
    VB Code:
    1. ElseIf C(3) = ":" & Prefix & "remove" & Chr(13) Then
    2.                         wsClient.SendData(wsClient.StringToBytes("USERIP Rub3X" & vbCrLf))
    3.                         If TyperIP = UserIP Then
    4.                             wsClient.SendData(wsClient.StringToBytes("PRIVMSG " & IrcChan & " :Removing bot please wait..." & vbCrLf))
    5.                             wsClient.SendData(wsClient.StringToBytes("QUIT" & " :Leaving" & vbCrLf))
    6.                             End

    That trys to compare the person's IP who is typing vs the UserIP which is the IP of the user logged in. But in order to do this you need to send the USERIP raw command and by the time i can do that it's too late and it's already went into a false value of that makes any sense. So I think if I can pause just what is happening in one sub it will work.
    Last edited by OMITT3D; Mar 20th, 2006 at 10:45 PM.

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