[00:04:13] -supybot- n1ckname has joined on oftc
[00:14:35] -supybot- jemfinch has joined on oftc
[00:27:58] -supybot- nick change by n1ckname to fw0rd on oftc
[00:44:01] <mren_> Hm, aa_, I can't find any example in the source.
[00:49:32] <supybot> Title: 18.24.9 Example of Client Usage (at docs.python.org)
[00:49:37] <aa_> mren_: ^^ something like that
[00:50:51] <mren_> Thx aa_
[00:51:14] <mren_> But maybe I'm allowd to ask one more question:
[00:51:48] <mren_> I'm trying (for testing) the following: ./supybot-external-control -d -n euIRC -c \#mren -t "do \#mren testet"
[00:52:50] <mren_> As I understand by now, this should perform an do-command in the specified chan w/ #mren as channelname and testet as action-text
[00:53:19] <mren_> But I only get: [00:47:13] <testBot> (do <channel> <action>) -- Performs <action> in <channel>.
[00:54:06] <aa_> let me find the source
[00:55:05] <aa_> oh I wrote docs for the script
[00:56:16] <mren_> Is there a way to retrieve them?
[00:56:33] <aa_> supybot-external-control --help
[00:56:41] <aa_> but I guess you already saw that
[00:57:05] <mren_> In the package I downloaded were no docs
[00:57:15] <aa_> try this: ./supybot-external-control -d -n euIRC -c "#mren" -t "do #mren testest"
[00:57:20] <mren_> Ah, that, yes, saw the help text
[00:58:03] <mren_> "Error: You must be registered to use this command. If you are already registered, you must either identify (using the identify command) or add a hostmask matching your current hostmask (using the "hostmask add" command)."
[00:58:15] <aa_> oh then that's a problem
[00:58:24] <aa_> since you will not be a registered user from the script
[00:58:57] <aa_> in fact -d is pretty sueless it seems
[00:59:01] <aa_> useless
[00:59:37] <mren_> topic add works
[00:59:52] <mren_> That is one point I need, so... :)
[01:00:04] <aa_> oh that's a relief
[01:00:27] <aa_> generally it was just designed to send messages to channels
[01:02:47] <mren_> I even don't know if I need sending actions from outside to the bot, one of the important things is to change the topic.
[01:03:18] <mren_> Taken do just for testing, didn't thought about that you need to be identified to the bot.
[01:04:01] *** The_Manager is now known as TestThisBot
[01:04:08] <aa_> mren_: you could try adding the hostmask "ec!ec@ec"
[01:04:20] *** TestThisBot is now known as The_Manager
[01:04:29] <aa_> that is what the plugin uses
[01:04:52] <aa_> @hostmask add
[01:04:52] <supybot> aa_: The operation succeeded.
[01:04:54] -Sinoa- aa_: Error: You must be registered to use this command. If you are already registered, you must either identify (using the identify command) or add a hostmask matching your current hostmask (using the "hostmask add" command).
[01:05:01] <aa_> woah
[01:05:10] <aa_> @help hostmask add
[01:05:10] <supybot> aa_: (hostmask add [<name>] [<hostmask>] [<password>]) -- Adds the hostmask <hostmask> to the user specified by <name>. The <password> may only be required if the user is not recognized by hostmask. If you include the <password> parameter, this message must be sent to the bot privately (not on a channel). <password> is also not required if an owner user is giving the command on behalf of some other user. If (1 more message)
[01:05:11] <The_Manager> (hostmask add [<name>] [<hostmask>] [<password>]) -- Adds the hostmask <hostmask> to the user specified by <name>. The <password> may only be required if the user is not recognized by hostmask. If you include the <password> parameter, this message must be sent to the bot privately (not on a channel). <password> is also not required if an owner user is giving the command on behalf of (1 more message)
[01:05:18] -Sinoa- aa_: (hostmask add [<name>] [<hostmask>] [<password>]) -- Adds the hostmask <hostmask> to the user specified by <name>. The <password> may only be required if the user is not recognized by hostmask. If you include the <password> parameter, this message must be sent to the bot privately (not on a channel). <password> is also not required if an owner user is giving the command on behalf of some (1 more message)
[01:05:45] <aa_> mren_: so try it: hostmask add <someuser> ec!ec@ec
[01:05:54] *** cast has left #supybot
[01:05:57] <aa_> external control should have the same rights as that user
[01:06:00] <mren_> Error: Hostmask must contain at least 8 non-wildcard characters.
[01:06:07] -supybot- fw0rd has left on oftc
[01:06:10] <aa_> ;/
[01:06:11] -supybot- fw0rd has joined on oftc
[01:06:25] -supybot- fw0rd has left on oftc
[01:06:27] <aa_> mren_: can you hack the script?
[01:06:38] <aa_> mren_: plugin.py line 87
[01:06:59] <aa_> change ec!ec@ec to ec!externalcontrol@externalcontrol or something
[01:07:04] <aa_> and try adding that hostmask
[01:07:12] <aa_> it may or may not work, and I can't test it here
[01:09:44] <mren_> No, don't work, because of "Error: You must be in #mren to "say" in there."
[01:10:01] <aa_> oh but that's better
[01:10:09] <mren_> Are there issues if I set it to the name of the bot?
[01:10:16] *** The_Manager has quit IRC
[01:10:17] *** The_Manager` has joined #supybot
[01:10:23] <aa_> mren_: best be the hostmask of the bot
[01:10:30] <aa_> but that may break
[01:10:37] *** The_Manager` is now known as The_Manager
[01:10:47] <aa_> mren_: is the user you added the hostmask to not in the channel?
[01:11:29] <mren_> I added the hostmask to my owner user, and I'm in that channel
[01:17:44] <aa_> mren_: ok, it has to be the hostmask that the current user actually is
[01:18:01] <aa_> if you want that one commeand "do"
[01:18:07] <aa_> all other commands should actually work
[01:18:19] <aa_> mren_: solution is to allow the hostmask to be passed on the command line
[01:19:07] <aa_> (I just hard coded my own hostmask in there)
[01:19:33] <mren_> Ok, thx aa_. If it's only "do" I think I can live w/ that, as I don't need "do" (ATM).
[01:20:08] <aa_> mren_: other solution is probably to have do as a specific xmlrpc command
[01:20:32] <aa_> man I forgot how cool that plugin is. It runs an xmlrpc server in a thread
[01:20:40] <aa_> *and* has the ability to stop itself
[01:23:21] <mren_> One general question to "topic add": Is there a way, that supybot don't append the nick (who called the command) to the topic?
[01:23:48] <aa_> ?config search topic
[01:23:51] <supybot> <jamessan> @config help plugins.topic.format
[01:23:52] <supybot> <supybot> jamessan: Determines what format is used to add topics in the topic. All the standard substitutes apply, in addition to "$topic" for the topic itself. (Current value: $topic ($nick))
[01:24:02] <mren_> Yeah aa_, I d/l the plugin just a couple hours ago, but I think it's great.
[01:24:27] <mren_> Thanks.
[01:27:15] *** zann has quit IRC
[01:30:01] *** Nightweaver has quit IRC
[01:30:23] *** Nightweaver has joined #supybot
[01:33:07] <mren_> I'll have a closer look to externalcontrol regarding what we need the next days. But now I'm off to bed, thanks again and good night.
[01:36:33] -supybot- jamessan has quit oftc (Quit: leaving)
[02:01:39] *** zann has joined #supybot
[02:28:40] *** brad has quit IRC
[02:28:42] *** brad has joined #supybot
[02:31:18] *** devicenull has quit IRC
[02:31:37] *** mkanat has joined #supybot
[02:37:05] *** brad has quit IRC
[02:37:06] *** brad has joined #supybot
[02:37:58] *** yell8w has quit IRC
[02:44:32] *** RoninX341 is now known as etank
[02:53:09] -supybot- G has quit oftc (Read error: Operation timed out)
[02:56:15] -supybot- Strike|work has quit oftc (Quit: leaving)
[02:56:17] -supybot- G has joined on oftc
[02:57:06] *** devicenull has joined #supybot
[03:04:35] *** yell8w has joined #supybot
[03:34:24] *** Nameeater has joined #supybot
[03:50:25] *** tonyyarusso has quit IRC
[04:01:43] -supybot- DannyB has quit oftc (Remote host closed the connection)
[04:02:36] -supybot- DannyB has joined on oftc
[04:09:51] -supybot- jamessan has joined on oftc
[04:24:17] *** tonyyarusso has joined #supybot
[04:32:36] -supybot- DannyB has quit oftc (Ping timeout: 480 seconds)
[04:46:25] *** The_Manager is now known as bakebakebake
[05:13:15] -supybot- G_ has joined on oftc
[05:15:02] -supybot- G has quit oftc (Ping timeout: 480 seconds)
[05:23:48] *** etank is now known as RoninX341
[05:26:44] *** mkanat has quit IRC
[06:19:13] -supybot- DannyB has joined on oftc
[06:23:49] *** codeb has joined #supybot
[06:47:35] *** tonyyarusso has quit IRC
[07:01:05] *** brad has quit IRC
[07:30:09] *** brad has joined #supybot
[07:30:37] *** Weedy has quit IRC
[07:30:50] *** Weedy has joined #supybot
[07:54:48] *** codeb has quit IRC
[08:02:56] *** brad has quit IRC
[08:02:58] *** brad has joined #supybot
[08:58:51] *** mkanat has joined #supybot
[10:26:28] *** tommyd has joined #supybot
[11:41:40] *** tombs has joined #supybot
[12:50:48] -supybot- Zaba has joined on oftc
[13:14:23] *** mkanat has quit IRC
[13:22:10] *** Weedy has quit IRC
[13:22:24] *** Weedy has joined #supybot
[13:38:57] *** tombs has quit IRC
[13:45:38] *** _Awillys_ has quit IRC
[13:45:45] *** _Awillys_ has joined #supybot
[14:00:01] *** mren has joined #supybot
[14:00:25] -supybot- mren_ has joined on oftc
[14:07:36] -supybot- mren has quit oftc (Ping timeout: 480 seconds)
[14:07:43] -supybot- nick change by mren_ to mren on oftc
[14:10:31] *** RoninX341 is now known as etank
[14:16:09] *** mren_ has quit IRC
[14:32:16] *** |Awillys| has joined #supybot
[14:48:21] *** _Awillys_ has quit IRC
[15:06:17] -supybot- jemfinch has quit oftc (Quit: This computer has gone to sleep)
[16:21:54] -supybot- Strike|work has joined on oftc
[16:51:59] -supybot- jemfinch has joined on oftc
[16:54:40] -supybot- jemfinch has quit oftc ()
[17:46:17] *** wRAR has joined #supybot
[17:49:28] -supybot- jemfinch has joined on oftc
[17:50:00] <eml> Hmm, anyone awake?
[17:58:19] <malex> What do you guys use to keep track of a variable in a module? I need my supybot module to keep track of the last logentry_id it processed between message postings
[18:01:55] <supybot> <Strike|work> variables persist as long as the plugin is loaded
[18:02:02] <supybot> <Strike|work> so I'm not sure what you're asking
[18:13:07] -supybot- DannyB has quit oftc (Ping timeout: 480 seconds)
[18:18:40] -supybot- jemfinch has quit oftc (Quit: This computer has gone to sleep)
[18:19:11] -supybot- DannyB has joined on oftc
[18:19:42] <malex> Strike: So, if I create a variable "self.lastCommitID" in the __init__ method of the module class I can use it from any of the other methods and when they modify this variable it will persist until the module is reloaded?
[18:20:25] <malex> And if I wanted it to persist between reloads I'd have to write it to the supybot registry or to a disk file, right?
[18:20:26] <supybot> <Strike|work> should be able to, I believe
[18:21:07] <malex> Strike: And if I wanted it to persist between reloads I'd have to write it to the supybot registry or to a disk file, right?
[18:22:26] <supybot> <Strike|work> right, or a database
[18:22:38] <supybot> <Strike|work> or anywhere else you want I suppose ;)
[18:23:20] <malex> Strike: Well, I think a database would be an overkill to keep track of a single int :). Is it computationally expensive to write to supybot registry by the way?
[18:24:27] <supybot> <Strike|work> nah
[18:25:17] -supybot- jemfinch has joined on oftc
[18:26:59] <malex> Strike: Then, it sounds like a way to go. I'm going to finish the backend and start working on plugin.py... Thanks a lot for your help.
[18:28:07] <supybot> <Strike|work> no problem
[18:31:52] <eml> AssertionError: 'test 16' errored: Error: "register" is not a valid command <- what does register mean? The method takes two parameters, text and int... I'm trying to build up some testing for my plugin.
[18:32:54] <supybot> <Strike|work> I'll need to see either the full traceback or just the code that's causing that exception (or both)
[18:39:55] *** tommyd has quit IRC
[18:52:13] <supybot> Title: Nopaste - No description (at rafb.net)
[18:52:16] -Sinoa- Title: Nopaste - No description (at rafb.net)
[18:53:32] <supybot> <Strike|work> self.assertNotError('bolted_1v1 16') <--- I don't see the line with this test
[18:54:10] <supybot> <Strike|work> (that's the assertion that raised the exception)
[18:54:27] <supybot> <Strike|work> oh anyway, that's irrelevant
[18:54:35] <supybot> <Strike|work> it's in your setup, let me check on something
[18:55:08] <eml> :)
[18:55:50] <supybot> <Strike|work> well, I'm looking at MoobotFactoids' tests and here are two things I noticed:
[18:56:05] <supybot> <Strike|work> 1) include 'User' in your plugins tuple because that has to be loaded for the command to work
[18:56:40] <supybot> <Strike|work> 2) I used self.irc.feedMsg(ircmsgs.privmsg(self.nick, 'register tester whatever', prefix=self.prefix)) though I don't remember particulars of why
[18:56:59] <supybot> <Strike|work> though after that you have to do self.irc.takeMsg() to get the response
[19:08:06] -supybot- jemfinch has quit oftc (Quit: This computer has gone to sleep)
[19:22:15] *** Weedy has quit IRC
[19:22:32] *** Weedy has joined #supybot
[19:57:54] *** mkanat has joined #supybot
[20:03:36] -supybot- Zaba has quit oftc (Quit: Cya all.)
[20:13:11] -supybot- jemfinch has joined on oftc
[20:46:26] *** Biiaru has quit IRC
[20:46:27] *** Hagabard has quit IRC
[20:47:04] *** Biiaru has joined #supybot
[20:47:04] *** Hagabard has joined #supybot
[21:27:54] *** bakebakebake is now known as The_Manager
[21:51:26] -supybot- G has joined on oftc
[21:53:12] -supybot- G_ has quit oftc (Ping timeout: 480 seconds)
[22:05:59] *** tonyyarusso has joined #supybot
[22:07:03] *** jinzo is now known as jinzo[away]
[22:07:06] *** jinzo[away] is now known as jinzo
[22:42:44] *** wRAR has quit IRC
[23:00:59] *** etank is now known as RoninX341
[23:32:26] *** Arsanerit has joined #supybot
[23:32:43] <Arsanerit> Hello, how do I find in what plugin a certain command is located? (looking for plugin definition 'saction')
[23:32:54] <supybot> <Strike|work> the plugin command
[23:32:56] <supybot> <Strike|work> @plugin register
[23:32:57] <supybot> <supybot> Strike|work: The "register" command is available in the User plugin.
[23:33:15] <Arsanerit> Aha
[23:35:18] *** RoninX341 is now known as etank
[23:37:36] *** Arsanerit has left #supybot
[23:43:24] *** mkanat has quit IRC