User Control Panel
Advertisements

HELP US, HELP YOU!

MSN to IRC bot

 
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN Protocol
View unanswered posts
Author Message
cepheus
Newbie
Newbie


Joined: 01 Sep 2005
Posts: 3
Location: UK
Reputation: 8.3Reputation: 8.3Reputation: 8.3Reputation: 8.3Reputation: 8.3Reputation: 8.3Reputation: 8.3Reputation: 8.3

PostPosted: Thu Sep 01, 2005 12:52 pm    Post subject: MSN to IRC bot Reply with quote

Not sure if this is really the correct forum so please move if needed.

Now onto my problem.

I have built on the MSN2IRC bot and have it talking both directions (but out of sync), Ill explain further.

I start my IRC / MSN bot
It enters IRC
It goes online in MSN
It sends me a message telling me its online in MSN
I sent it a MSN message, this message gets displayed in IRC
I reply via IRC to the msn message, NO message in MSN
I send another message in MSN, I then get the IRC message.

How can I get the msn bot / protocol to reply straight away to a irc OR MSN message?

I do have the while loop.

while( $run )
{
$irc->do_one_loop();
$msn->do_one_loop();
}

and within the irc ans msn handlers I have a list of irc and msn commands. Any advice would useful. Maybe theres a MSN handler Im missing that dont know about. Thanks in advance for any help offered.
Back to top
mattaustin
Sentinel
Sentinel


Joined: 19 Jul 2004
Posts: 556
Location: Los Angeles, CA
Reputation: 50.7
votes: 1

PostPosted: Thu Sep 01, 2005 2:34 pm    Post subject: Reply with quote

I have posted full code to an msn2irc bot on this forum, u may have to search a little.
Back to top
cepheus
Newbie
Newbie


Joined: 01 Sep 2005
Posts: 3
Location: UK
Reputation: 8.3Reputation: 8.3Reputation: 8.3Reputation: 8.3Reputation: 8.3Reputation: 8.3Reputation: 8.3Reputation: 8.3

PostPosted: Thu Sep 01, 2005 4:40 pm    Post subject: code Reply with quote

Matt Ive done a search on both bot-depot forums and have not found your msn2irc code. Would you please post it again if thats possible, thanks. Sorry for being a pain but the google search for this forum sucks. Thanks again.
Back to top
darkmonkey
The Merovingian
The Merovingian


Joined: 18 Apr 2004
Posts: 2557
Location: London, England
Reputation: 39.3Reputation: 39.3Reputation: 39.3Reputation: 39.3
votes: 7

PostPosted: Thu Sep 01, 2005 8:18 pm    Post subject: Reply with quote

Use the inbuilt search features?

http://www.bot-depot.com/forums/index.php?showtopic=5514&hl=msn2irc

_________________
~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Back to top
cepheus
Newbie
Newbie


Joined: 01 Sep 2005
Posts: 3
Location: UK
Reputation: 8.3Reputation: 8.3Reputation: 8.3Reputation: 8.3Reputation: 8.3Reputation: 8.3Reputation: 8.3Reputation: 8.3

PostPosted: Fri Sep 02, 2005 8:29 am    Post subject: two forums Reply with quote

Ok so matt really wanted me to search the other 'invision board' type forum rather than this the phpbb forum that I posted on. Why have two forums??

Darkmonkey thank you ever so much for your help.

Ill like to point that, that the code is old and sendmsg has been replaced by sendmessage as msn2 is out.

I can get the bot to connect to irc and msn but thats all about it does. No relaying of messages from irc nor msn, the only commands I can see are: join,nick and socks. Does this bot still work, the one I have wrote based on the echobot does a lot more. Thanks in advance for and further help.
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Fri Sep 02, 2005 3:09 pm    Post subject: Reply with quote

Most IRC bot programmers only have the bot react to private messages, so saying stuff publicly in the channel probably won't be relayed to MSN, try sending a private message to the bot.
_________________
Current Site (2008) http://www.cuvou.com/
Back to top
darkmonkey
The Merovingian
The Merovingian


Joined: 18 Apr 2004
Posts: 2557
Location: London, England
Reputation: 39.3Reputation: 39.3Reputation: 39.3Reputation: 39.3
votes: 7

PostPosted: Sat Sep 03, 2005 11:12 am    Post subject: Reply with quote

No, your bot does. MSN2IRC, as well as other bots, respond to channels. It's just as easy to do one as it is to do the other.
_________________
~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Sat Sep 03, 2005 4:04 pm    Post subject: Reply with quote

darkmonkey wrote:
No, your bot does. MSN2IRC, as well as other bots, respond to channels. It's just as easy to do one as it is to do the other.


The one somebody at WiredBots made only would respond to PMs too, and a couple of the other bots I've found on Google only respond to PMs.

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
darkmonkey
The Merovingian
The Merovingian


Joined: 18 Apr 2004
Posts: 2557
Location: London, England
Reputation: 39.3Reputation: 39.3Reputation: 39.3Reputation: 39.3
votes: 7

PostPosted: Sat Sep 03, 2005 8:08 pm    Post subject: Reply with quote

Nono, I'm not saying that it's only your bot that does that, i'm just saying that it's just as easy to make it respond to channels (change the message handler) as it is to respond to PMs.
_________________
~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Back to top
alienz
Almost An Agent
Almost An Agent


Joined: 22 Mar 2004
Posts: 1436
Location: Mars
Reputation: 55.7

PostPosted: Mon Sep 05, 2005 9:18 pm    Post subject: Reply with quote

The method in Net IRC is capable of getting and responding to both channel and private messages.
_________________
Check out Botworld! A dev resource for things bot.
Downloads, articles, news, fourm and more.
http://botworld.marzopolis.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN Protocol All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group