DarkAngelBGE Posted March 17, 2007 Share Posted March 17, 2007 Hi all,I made a simple program that canconnect to a irc server and join a channel. I want to make a channel guardian bot to auto kick users that use words like f***. Now I do not know how to let a bot write a message. I mean when he wants to join a channel it is "JOIN : <channelname>". But what is the way to simply write a message? Btw, "Quit : <msg>" also works for quitting. Sending simply a string doesn't work. Thanks in advance! Link to comment Share on other sites More sharing options...
flyingboz Posted March 17, 2007 Share Posted March 17, 2007 To send commands or otherwise interact with a network server, you must act as a proper network client, or control a piece of software that does. So the question becomes, do you want to write an IRC client, in which case you need to start with reading the IRC RFC, or do you want to control an existing IRC client, in which case you need to fire it up and look at it with the au3 window info utility. Reading the help file before you post... Not only will it make you look smarter, it will make you smarter. Link to comment Share on other sites More sharing options...
DarkAngelBGE Posted March 17, 2007 Author Share Posted March 17, 2007 (edited) Nevermind, found out. Thanks. Edited March 17, 2007 by DarkAngelBGE Link to comment Share on other sites More sharing options...
McGod Posted March 17, 2007 Share Posted March 17, 2007 I've made IRC bots in the past, and I'm working on my v2 for my IRC hangout. If you need any help, PM me. [indent][center][u]Formerly Chip[/u][/center]~UDFs~[/indent][u]IRC.au3 - Allows you to connect to IRC ServersINetCon.au3 - Connects/Disconnects/Check Status of InternetHardware Key - Creates a unique hardware hashScriptComm - Allows you to communicate between scripts using WM_COPYDATA[/u][indent]~Programs~[/indent][indent]SimonAu3ForumsIRC Bot~Web Site~Web Autoit Example[/indent][indent][b][/b][/indent][u][/u] Link to comment Share on other sites More sharing options...
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