hi all,

i'm writing a little tool that is connecting on a mIRC channel...

now my trouble is... how i convert the strings the server send me as standard protocol into a mIRC-style format ? I try to explain

server send me:


:irc1.tin.it 366 asm_bot #test_chan:End of NAMES list.
:mario!~mario0@r-ts016-4a35.tin.it JOIN :#test_chan
:mario!~mario0@r-ts016-4a35.tin.it PRIVMSG #test_chan:hi all!!


i would display in edit box the mIRC style:


mario (mario0@r-ts016-4a35.tin.it) has joined. ?39 people?
<mario> hi all!



I'm thinking to do this with my own string search functions... but they are not very optimized...

Anyone know if there are already some fast conversion functions written ?

THX, Bit7
Posted on 2002-08-16 16:43:39 by Bit7

i'm writing a little tool that is connecting on a mIRC channel...

I assume you mean IRC channel, not mIRC channel? Please separate the client from the protocol ;)
Posted on 2002-08-16 16:49:34 by f0dder
f0dder,

oops, sossry, yes, an IRC channel :)


B7
Posted on 2002-08-17 03:12:01 by Bit7
Bit7,

I believe that the code Venca posted for an asm ircbot can be of use to you. Use the search to find it.

Enjoy your work, P1
Posted on 2002-08-18 11:32:34 by Pone
thaaaanks :)
Posted on 2002-08-19 13:40:02 by Bit7