Anyone in here have any experience with IRCG??
I've been surfing around but can't find any good documentation on it, so if anyone has any hints on where to find it??
Thanx
Rincewind_the_wizzard
IRCG
Moderator: General Moderators
what's wrong with http://www.php.net/manual/en/ref.ircg.php ?
Even the the ircg site links to it as php api manual
Even the the ircg site links to it as php api manual
I have no running thttpd, otherwiseI would try it.
But if you take the examples of "darkelder at php dot net" at http://www.php.net/manual/en/ref.ircg.php and "sgriffith at ancients dot dhs dot org" at http://www.php.net/manual/en/function.i ... ssages.php you should have something to play with.
As far as I understood ircg will send messages after beeing installed whenever an event occurs on the irc-connection.
E.g. in the second example ircg is advised to send the message <script> receive_private_message('%f','%t','%j'); </script>\n whenever it retrieves a PRIVMSG. This is redirected to to client(-browser). If you've added something likein the <head></head>-section of the document, the function should be called whenever a PRIVMSG was entered.
But if you take the examples of "darkelder at php dot net" at http://www.php.net/manual/en/ref.ircg.php and "sgriffith at ancients dot dhs dot org" at http://www.php.net/manual/en/function.i ... ssages.php you should have something to play with.
As far as I understood ircg will send messages after beeing installed whenever an event occurs on the irc-connection.
E.g. in the second example ircg is advised to send the message <script> receive_private_message('%f','%t','%j'); </script>\n whenever it retrieves a PRIVMSG. This is redirected to to client(-browser). If you've added something like
Code: Select all
<script type="text/javascript">
function receive_private_message(sFrom,sTo , sMessage)
{
document.write(sFrom + ' told '+t+ ': '+sMessage);
return;
}
</script>