"reply" entry in $line parameter

Back to PHP-IRC Feature Requests

Page: 1  
From User Message Body
Agrv
Post #50
Member
Date: 12:49 pm, Feb 10 2006
Posts: 8


I think it might be useful to add a "reply" entry in the $line array parameter, containing the same value as the "to" if the "to" is a channel, else containing the same value as the "fromNick" if the "to" is the bot's nick.

So if we want to answer to the channel/pv that the message originated, we just have to use the "reply" entry, instead of checking if the "to" contains a chan or a nick.

To discuss.

Manick
Post #52
user avatar
Admin
Date: 3:09 pm, Feb 10 2006
Posts: 223


Hmm. Interesting idea. Let me think about this one for a while.

--Manick
PHP-IRC Developer
jcrawford
Post #341
Member
Date: 11:12 pm, Sep 29 2006
Posts: 11


this is interesting but honestly i dont think it is really needed since all functionality is already there, however it would make the coding easier :)

   

Back to PHP-IRC Feature Requests