Sign in to follow this  
Followers 0
Lenny

_TocLib/ICQ Problem

2 posts in this topic

#1 ·  Posted (edited)

Good evening!

I'm currently scripting an ICQ client, but I don't get the "Add User" function.

I use to use the _TocLib UDF, you can find here: http://www.autoitscript.com/forum/index.php?showtopic=42832

You can find following lines in the TOC2 readme:

http://terraim.cvs.sourceforge.net/*checko...rc/toc/TOC2.txt

toc2_new_buddies <config format*>

In TOC2.0, you must add buddies in "config format".  See example:

{g:test<lf*>b:buddytest:alias1<lf>b:buddytest2:alias2<lf>}

If you sent that with the toc2_new_buddies command, you would add the two buddies (buddytest and buddytest2)
with aliases alias1 and alias2 into the group "test". Note that if the group doesn't already exist, it will be created.

Alternatively, if the usernames didn't have aliases, they would be added as follows:
{g:test<lf*>b:buddytest<lf>b:buddytest2<lf>}

* <lf> stands for linefeed, '\n'.  Don't literally send "<LF>" :)

... so I took it and put it in my script like that:

$addbuddy = _TocSendFlap('toc2_new_buddies {g:General'&@CRLF&'b:415**6276'&@CRLF&'}')

but that doesn't work. I don't really know what to put as "buddytest".

Additionally, I don't know how to get the buddylist and I don't see that function in the readme (http://terraim.cvs.sourceforge.net/*checkout*/terraim/terraim/src/toc/TOC2.txt).

I would be soo happy about your help!

Thank you in advance,

Lenny

Edited by Lenny

Share this post


Link to post
Share on other sites



Nobody? :D

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  
Followers 0