collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: IRC Private Message features  (Read 2190 times)

0 Members and 1 Guest are viewing this topic.

Offline Slacklin

  • BeBot User
  • **
  • Posts: 52
  • Karma: +0/-0
  • My spoon is too big!
    • United Org Site
IRC Private Message features
« 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.

Offline redmagician

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: IRC Private Message features
« Reply #1 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.
« Last Edit: June 10, 2009, 05:43:33 am by redmagician »

Offline redmagician

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: IRC Private Message features
« Reply #2 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

Tell me how it works out.
I briefly tested it out and it seems to work fine for me.

Offline Zweiblum

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: IRC Private Message features
« Reply #3 on: July 08, 2009, 05:25:04 pm »
yep, seems to work fine.. thx :D

Offline Slacklin

  • BeBot User
  • **
  • Posts: 52
  • Karma: +0/-0
  • My spoon is too big!
    • United Org Site
Re: IRC Private Message features
« Reply #4 on: July 09, 2009, 01:35:31 am »
Sweet, it works great!

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 672
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal