Jump to content

Recommended Posts

Posted

Hi

I'm up to making an irc client. I can type from my client to the irc server, but, I cant read what people types to me.

This is my code:

http://pastebin.com/Ma5BcGxk

Does any of you now, which function I should use, so I can output data from my socket to the edit window ? I know it will look wierd, but I know how to remove PRIVMSG etc. so I only output the message, and sender

I hope this makes sence, english is not my first language, sorry then ;)

Bedst regards Thegirl :)

Thanks ;)

Posted

hi ;)

yea, I have tried that, but when peps type, I can only see it in my client in very short time, and then it disapire again. I will have it, like a regular irc-client.

Thanks :)

  • Moderators
Posted

You have to read the current data first with GUICtrlReadData() then set that data concatenated with the new data with GUICtrlSetData().

A listview would be much better. GL

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.

Posted

Hmm I dont think I know, what you mean. I have tried this:

$recv = TCPRecv($socket, 1024)

$data2 = GUICtrlReadData($recv)

GUICtrlSetData($EditText,$data2)

But it dosent recognize GUICtrlReadData(), should I use another lib ;) ?

I cant find GUICtrlReadData() in the function documentation. DO you mean GUICtrlRead() ?

Thanks a lot :)

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...