Jump to content

Recommended Posts

Well I have something like this so far, but I don't get any sort of signal back for some reason...

$server = "irc.freenode.net"
$port = "6667"
$channel = "#TheSoftwareJedi"
$botname = "v2Bot"
$programname = "IrcBot"

TrayTip ($programname, "Starting TCP...", 1, 16)
TCPStartup()
TrayTip ($programname, "Connecting to server...", 1, 16)
$socket = tcpconnect($server, $port)
TrayTip ("", "", 1, 16)

TCPSend($socket, "NICK " & "" & $botname & "" & @CRLF)
sleep(500)
TCPSend($socket, "USER " & "" & $botname & "" & " 0 0 :" & "Xantibot" & @CRLF)
sleep(500)
tcpsend($socket, "JOIN " & "" & $channel & "" &@crlf)
sleep(1000)
tcpsend($socket, "MODE " & "" & $channel & "" & " +o " & $botname & "" & @crlf)

While 1

$recv = tcprecv($socket,1024*5)
    if $recv <> "" then
        msgbox(0, "", $recv)
    endif

WEnd
Link to post
Share on other sites
  • Moderators

Autoit sucks. I can get IRC working in PHP just perfectly. Yeah, you read it right, works in PHP.

Sucks to Autoit for not being like PHP.

You need to go away. The only thing that sucks about AutoIt is the person that is at the keyboard not using it properly.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to post
Share on other sites
  • Moderators

Wish I had a picture of someone sucking on a keyboard! ;):whistle::P

Gary knows a few sites where you could find one I'm sure. ;)

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to post
Share on other sites
  • Moderators

Smoke? You sure seem to be on "intimate" knowledge about what my husband does or what he knows. What ya'll been doing behind my back? :whistle:;);)

Man... I thought we had you confined to 1 thread, then you moved to a couple of other chat threads, then to a scripts and scraps thread, now in support :P:D ???

What were we doing? Please!!!

Men make keyloggers and such to track what their spouses do on computers, women ... well ... they use some vulcan mind meld to get it out of you. Not like we can hide anything from ya'll anyway (well for any period of time that is).

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to post
Share on other sites
  • Moderators

And your point being? ;):whistle:

Nothing, just typical, give a woman an inch... and she's dissastified :P;):D

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to post
Share on other sites
  • Moderators

She gets the mile..... :whistle:

Reading maps again? :P;)

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to post
Share on other sites
  • Moderators

Well she don't like it when I take off road detours... :whistle:

Ok, I gotta stop reading this thread... I'm sober and laughing so hard I need a drink!

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to post
Share on other sites
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...