Ebonywidow Posted February 22, 2014 Posted February 22, 2014 Hi Everyone! Great Community!! 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!! ~Ebonywidow
Ebonywidow Posted February 24, 2014 Author Posted February 24, 2014 Shameless bump! Can anyone point me in the right direction? Thanks in advance. ~Ebonywidow
mrflibblehat Posted February 26, 2014 Posted February 26, 2014 (edited) 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 February 26, 2014 by mrflibblehat [font="'courier new', courier, monospace;"]Pastebin UDF | Prowl UDF[/font]
BugFix Posted February 26, 2014 Posted February 26, 2014 There are some posts in the forum for IRC. e.g.: Best Regards BugFix
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now