BeBot - An Anarchy Online and Age Of Conan chat automaton

Development => Module Requests => Topic started by: Slacklin on May 27, 2009, 09:32:58 pm

Title: IRC Private Message features
Post by: Slacklin on May 27, 2009, 09:32:58 pm
A while back a modified IRC plugin was created for Bebot 0.4.2 that allowed you to send private messages from ingame to IRC though private messages. This version is not compatible with 0.6.3 and it seems that the feature was not implemented. For those of you with more PHP knowledge than I perhaps this could be added to bebot core or the module updated for the latest SVN. See attached module for the plugin that contains the working code for 0.4.2.
Title: Re: IRC Private Message features
Post by: redmagician on June 10, 2009, 05:00:46 am
I've been attempting to add the old code to the current IRC.php but I'm confused on what the intention of the ao_msg function used to be.

As it is the module would send tells to anyone from irc.
I can see the person who originally coded that section attempted to limit the ability to send messages to only people on the bot's notify list but it was broken for some reason and the code was partly removed.

I'll upload an updated IRC.php that simulates the old behavior 'soon'.

-Edit-
Huh... seems I can't upload the file.
Title: Re: IRC Private Message features
Post by: redmagician on June 10, 2009, 07:13:19 am
Yep... I spent the time between my last post and this post trying to figure out why I can't upload files.
I wish I had come up with an answer instead of being frustrated and annoyed.

I uploaded it to some web space I have at uni.
http://red1.cs.panam.edu/~rgarciaz80/IRC.phps (http://red1.cs.panam.edu/~rgarciaz80/IRC.phps)

Tell me how it works out.
I briefly tested it out and it seems to work fine for me.
Title: Re: IRC Private Message features
Post by: Zweiblum on July 08, 2009, 05:25:04 pm
yep, seems to work fine.. thx :D
Title: Re: IRC Private Message features
Post by: Slacklin on July 09, 2009, 01:35:31 am
Sweet, it works great!
SimplePortal 2.3.7 © 2008-2024, SimplePortal