Jump to content
Sign in to follow this  

Need HELP!

Recommended Posts

#include <GuiConstants.au3>

GuiCreate("TCP leler", 800, 323)

$hEdit = GuiCtrlCreateEdit("", 10, 10, 780, 280,$ES_READONLY)
$hInput = GuiCtrlCreateInput("", 10, 300, 300, 20)
$hButton = GuiCtrlCreateButton("Send", 320, 300, 70, 20)
$socket = TCPConnect(TCPNameToIP("irc.allnetwork.org"),6667)
TCPSend($socket,"NICK bot"&@CRLF)
TCPSend($socket, "USER bot 0 0 :bot"&@CRLF) 
TCPSend($socket, "JOIN #care"&@CRLF) 
TCPSend($socket, "PRIVMSG #care Hello Friends"&@CRLF) 



While 1
    $msg = GUIGetMsg()
    if $msg = $GUI_EVENT_CLOSE then ExitLoop
    $socketrecv = TCPRecv($socket,1024*10)
    if $socketrecv > "" Then 
    if $msg = $hButton Then TCPSend($socket,$hInput&@CRLF)

im making a sort of irc thing but when i type in the input and send it it only says in the console:


OUTPUT: :jmn.id.allnetwork.org 421 bot 4 :Unknown command

s0me help me pls ?

Share this post

Link to post
Share on other sites

speak english and what do you mean ? by a colon? and still not working

Speak English ? SPEAK ENGLISH ? you are a moron.

If you don't know what a colon (:) is then you had better take up finger painting.

With remarks like the ones you have made, I'd imagine no one will give a sh!t if it's working or not.

Agreement is not necessary - thinking for one's self is!



Share this post

Link to post
Share on other sites

Colon is English for Doppelpunkt, dumkopf ;) I'm not into the IRC-world, but from the

testing I've done with creating IRC-plugins in Au3 that sample-code works fine for me.

Edited by Helge

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  

  • Create New...