[00:22:11] snarfer has joined #noxbot
[00:22:45] <snarfer> Hmm
[00:22:49] <snarfer> php.net/ircg
[00:23:26] <CyaNox> heh yes ... an extension that hasent been touched in a long time
[00:23:48] <snarfer> :/
[00:24:33] <CyaNox> besides that noxbot's goal is to be as stand alone as possible ... and currently it does not require any extensions.
[00:24:50] <snarfer> Right
[00:25:06] <CyaNox> there is even a pear class for irc
[00:25:11] <snarfer> How does noxbot know when it's being messaged
[00:25:12] <snarfer> ?
[00:25:28] <CyaNox> because it gets data through its socket connection.
[00:25:40] <snarfer> Duh >.>
[00:25:52] <snarfer> (That was mostly stupidity talking there)
[00:26:01] <CyaNox> (I know)
[00:26:08] <snarfer> (Good)
[00:26:41] <CyaNox> anyway it receive the data, parses it and if that data gets through certain checks it just knows that it was messaged.
[00:27:12] <snarfer> Ah.
[00:27:18] <CyaNox> basically all messages are in the format PRIVMSG receiver :Text.
[00:27:21] <snarfer> So you just use fsockopen() ?
[00:27:32] <CyaNox> yep as simple as it can be.
[00:28:19] <snarfer> Hm.
[00:28:23] <CyaNox> there are infact different ways noxbot sees certain text as a command.
[00:28:32] <CyaNox> one is by addressing it:
[00:28:34] <CyaNox> JohnTitor: version
[00:28:34] <JohnTitor> NoxBot version 0.3.1 (r275) made by Mark Sanders (CyaNox) running with PHP 5.2.0 on Linux since Tue, 23 Jan 2007 22:00:45 +0100.
[00:28:46] <snarfer> I was about to ask that
[00:28:50] <CyaNox> the other is using a so called "command character"
[00:28:52] <CyaNox> !version
[00:28:52] <JohnTitor> NoxBot version 0.3.1 (r275) made by Mark Sanders (CyaNox) running with PHP 5.2.0 on Linux since Tue, 23 Jan 2007 22:00:45 +0100.
[00:29:03] <snarfer> Hm
[00:29:05] <CyaNox> and another is by talking to it directly like:
[00:29:06] <snarfer> Nifty
[00:29:10] <CyaNox> /msg JohnTitor version
[00:30:16] <CyaNox> the command character is configurable.
[00:30:32] <CyaNox> !settings set servers.1.commandchar ~
[00:31:31] <CyaNox> hhmmm if it does not entirely deny me any access then it should work ... :p
[00:31:44] <CyaNox> I think I messed up something else this time.
[00:31:52] <CyaNox> owh well its time to get some sleep
[00:32:13] <snarfer> Good night
[00:35:12] snarfer has quit:
[02:18:58] snarfer has joined #noxbot
[03:06:25] snarfer has quit: Connection timed out