Some moron that a lot of you unfortunately know, gordy12gg/gordy13gg/garry12gg/garry13gg, spends 100% of his online time inviting bots together, and each time a "smart" bot leaves the convo because the other members are blocked, he invites them back in.
AIM and Jabber don't have this problem, because they are one-on-one conversations. On MSN, somebody can invite you to a big chat room, and you don't even have much choice in the matter (at least on AIM, you have to accept invites to chats <_< ).
So I was wondering how you would just plain not answer a RNG. I'd rather have the bot be like "Somebody's inviting me into a multiuser room, I won't join the room" than have the bot be like "Okay, I joined the room - wow there's a lot of people here, I'm leaving"... know what I mean?
So how can you deny a RNG? (I know there's something with the Ring handler but I don't know exactly how to do it). _________________ Current Site (2008) http://www.cuvou.com/
You can't really deny the RNG, you just make your bot leave.. anyways, if you bot gets joined in a socket, it would be called IRO, so in msn.pm if you set that into a sub. (such as sub welcome) do:
QUOTE(..::BIGmouth( )::.. @ Jan 30 2005, 06:56 PM)
You can't really deny the RNG, you just make your bot leave.. anyways, if you bot gets joined in a socket, it would be called IRO, so in msn.pm if you set that into a sub. (such as sub welcome) do:
Oh, and do something like that when your botty get JOI.
Yeah. Or a shorter way of doing that:
Code:
sub welcome {<br /> my $self = shift;<br /> my $buds = $self->getMembers;<br /> my @users = keys %{$buds};<br /> if (scalar(@users) > 4) {<br /> $self->leave;<br /> }<br />}
I got it worked out with the Answer and Join handlers. I was just poking around to see if the Ring handler could determine anything about the socket being created... but it can't. It'd be nice to invite the bot and never see the bot join the conversation though. _________________ Current Site (2008) http://www.cuvou.com/
Joined: 25 May 2004 Posts: 551 Location: Amsterdam, Holland
Posted: Mon Jan 31, 2005 8:41 am Post subject:
There are so many features in the MSN Protocol which allmost no client uses. It would be great to see a window popup or something like that everytime someone invites you, asking if you want to accept, in the PIMP Messenger.