Jump to content
Sign in to follow this  
Ebonywidow

IRC to AutoIT??

Recommended Posts

Ebonywidow

Hi Everyone!  Great Community!!   :bye:

I have a question and I was wondering if someone can point me in the right direction.  

What I am trying to accomplish is to be able to monitor an IRC channel and when certain keywords are typed in by any channel users I would like to send the output to AutoIT and then AutoIT would then use those keywords to send output to an Active Window.  Is this possible to do?

I was thinking of using HexChat and running a python script to accomplish this, am I correct in thinking this way or am I going about it totally wrong?

Any help would be appreciated.

Thanks in advance guys!!   :thumbsup:

~Ebonywidow

Share this post


Link to post
Share on other sites
Ebonywidow

Shameless bump!  Can anyone point me in the right direction?  Thanks in advance.

~Ebonywidow

Share this post


Link to post
Share on other sites
mrflibblehat
Its actually not that difficult, I have made a small IRC Bot in AutoIT.
 
You need to use the TCP Functions (TCPConnect, TCPSend & TCPRecv)
 
When connecting to the IRC Server you need to send the following data to the server using TCPSend

NICK <username>
USER <username> <hostname> <servername> :<realname>
 
You can use JOIN to join a channel
 
JOIN <#channel>
 
You can use PRIVMSG to send a message to a channel or to a user.
 
PRIVMSG <#channel>|<nick> :<message>
 
When you receive PING from the server you need to reply with PONG to keep the connection alive
 
Best of luck
Edited by mrflibblehat

[font="'courier new', courier, monospace;"]Pastebin UDF | Prowl UDF[/font]

Share this post


Link to post
Share on other sites
BugFix

There are some posts in the forum for IRC. e.g.: 


Best Regards BugFix  

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.