Sign in to follow this  
Followers 0
Slythfox

IRC Bot

22 posts in this topic

I know this has been asked before, because I've searched the forums. However, from the limited resource I've found so far, I have not gotten anything to work.

Share this post


Link to post
Share on other sites



Turtles.

Share this post


Link to post
Share on other sites

Turtles.

?

Share this post


Link to post
Share on other sites

Exactly.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Can't you read? Valik just told you turtles. Why can't you just accept the answer?


Who else would I be?

Share this post


Link to post
Share on other sites

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.

[center]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.[/center]

Share this post


Link to post
Share on other sites

Autoit sucks.

Well, unfortunatley for you, this is this 'Autoit Forums'

If you do want to be a part of the Autoit Family, then we don't want you to be.

Share this post


Link to post
Share on other sites

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. ;)

[center]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.[/center]

Share this post


Link to post
Share on other sites

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

lol this one has IRC on it

Posted Image

Share this post


Link to post
Share on other sites

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

Don't think they would let me post those kind of pics here :whistle:


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

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).


[center]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.[/center]

Share this post


Link to post
Share on other sites

And your point being? ;):whistle:

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

[center]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.[/center]

Share this post


Link to post
Share on other sites

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

She gets the mile..... :P


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

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

Reading maps again? :P;)

[center]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.[/center]

Share this post


Link to post
Share on other sites

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!

[center]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.[/center]

Share this post


Link to post
Share on other sites

I don't think it is possible to get any more off-topic!

and smoke... I'm with u. :whistle:


What goes around comes around... Payback's a bitch.

Share this post


Link to post
Share on other sites

I don't think it is possible to get any more off-topic!

and smoke... I'm with u. :whistle:

Just wondering what was the purpose of bringing back up over 10 days later


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0