New Features

5 views
Skip to first unread message

Yago Jesus

unread,
Feb 5, 2008, 7:39:55 AM2/5/08
to perl-net-...@googlegroups.com
Dear Colleagues,

I have submited my Bot.pm File to SVN.

Two new functions added,

ChangeStatus() To set status and personal message

GetmyRoster() To get Roster

---

Im now thinking how to get status of roster users, I have tried some functions from XMPP::Presence but no luck. I think that have a GetStatus() function its be very useful  to send messages only to online-users, not busy / away etc etc

Also, now Im playing with 
FileTransferOffer() to send files between bot 2 users

Cheers

todd.e....@jpmorgan.com

unread,
Feb 5, 2008, 5:43:35 PM2/5/08
to perl-net-...@googlegroups.com

Thanks Yago,

 

I was holding off on the next release, waiting on a gtalk bot example perl script. Would you have something rough you could throw my way? I’m happy to clean it up if need be.

 

Todd

 



Generally, this communication is for informational purposes only and it is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. In the event you are receiving the offering materials attached below related to your interest in hedge funds or private equity, this communication may be intended as an offer or solicitation for the purchase or sale of such fund(s). All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries and affiliates. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Please refer to http://www.jpmorgan.com/pages/disclosures for disclosures relating to UK legal entities.

Yago Jesus

unread,
Feb 6, 2008, 11:33:31 AM2/6/08
to perl-net-...@googlegroups.com
Hi,

This is a litle eample, a RSSbot.

Hope it likes

RSSbot.pl

todd.e....@jpmorgan.com

unread,
Feb 6, 2008, 5:47:38 PM2/6/08
to perl-net-...@googlegroups.com

Thanks Yago,

I’ve updated the package with your script. I had to do a little translating from espanol to ingles. *grin*

2.0.7 has been released to CPAN. Should be there in a couple of hours.

We’re still outstanding to get some tests around the new code you introduced.

Yago Jesus

unread,
Feb 6, 2008, 8:19:51 PM2/6/08
to perl-net-...@googlegroups.com
ops. Im sorry for the inconvenience

2008/2/6, todd.e....@jpmorgan.com <todd.e....@jpmorgan.com>:

Thanks Yago,

I've updated the package with your script. I had to do a little translating from espanol to ingles. *grin*

Yago Jesus

unread,
Feb 6, 2008, 8:42:48 PM2/6/08
to perl-net-...@googlegroups.com
Just a quote:

GetRoster
    $bot->GetRoster();

Returns a list of the people logged into the server. I suspect we really want to know who is in a paticular forum
right? In which case we need another sub for this.


This function gets people that have added the bot, not generic people conected in server. Its useful, for example, to get the people that the bot will send an alert message. I think we need another function to get status (away, available ...) for example if you want only alert online users but not away users.

I suspect that you are thinking in a bot oriented to forums (like IRC-bots) and I in pure instant messagin bot (like MSN)

Another
suggestion is about subscribe / unsubscribe requests, I think is better to leave the user get its own callbacks, for example, when someone subscribe the bot I want to send a welcome message or send a message to the bot's owner or insert in a MySQL the JID.

2008/2/6, todd.e....@jpmorgan.com <todd.e....@jpmorgan.com>:

Thanks Yago,

I've updated the package with your script. I had to do a little translating from espanol to ingles. *grin*

Reply all
Reply to author
Forward
0 new messages