[04:18:49] snarfer has joined #noxbot
[18:54:57] snarfer has parted:
[18:58:11] snarfer has joined #noxbot
[19:22:21] <snarfer> Hey
[19:22:31] <snarfer> Can noxbot output multiple lines
[19:22:33] <snarfer> i.e
[19:22:55] <snarfer> After one $dh>reply() has been issued, can another one be called again?
[19:43:35] <CyaNox> snarfer: yes
[19:44:30] <snarfer> Excellent.
[19:44:46] <snarfer> Gah! My Coffee plugin isn't working
[19:45:55] <snarfer> !pastebin
[19:45:59] <snarfer> o.O
[19:46:40] <snarfer> http://pastebin.ca/415488
[19:50:12] <CyaNox> snarfer: what error or unexpected behavior do you get?
[19:50:48] <CyaNox> owh and don't use sleep
[19:50:54] <CyaNox> it locks up the bot
[19:50:58] <CyaNox> better to use a timer
[19:51:57] <CyaNox> http://noxbot.org/apidocs/
[19:52:13] <CyaNox> look at the class timer.
[19:53:11] <snarfer> $timer = new timer() ?
[19:53:24] <CyaNox> no its all static invocation
[19:53:32] <CyaNox> one moment .. have to switch terminal
[19:54:46] <CyaNox> the timer class makes a special callback that is triggered after a certain time.
[19:55:12] <snarfer> http://noxbot.org/index.php/Howto_Make_Plugins#Lesson_3
[19:55:23] <snarfer> That looks like it uses a timer
[19:55:31] <CyaNox> Current interface has no way to link extra parameters so you will need to track the datahelper yourself
[19:56:13] <CyaNox> yes it does
[19:57:59] <snarfer> That example is really inspecific to the timer class
[19:58:28] <CyaNox> it indeed is ... do you want me to write a small example?
[19:58:37] <snarfer> And the coffee command is part of a larger class with a bunch of other command
[19:58:40] <snarfer> Yes, that would be helpful
[19:58:53] <CyaNox> ok I'll use the coffee command as example.
[19:59:30] <snarfer> Works for me
[20:04:31] <CyaNox> oeh I foresee a tiny problem
[20:04:45] <CyaNox> owh well first make a semi working version
[20:06:59] <snarfer> I just want to know how to get the timer working
[20:08:05] <CyaNox> snarfer: http://pastebin.ca/415520
[20:09:23] <snarfer> Hm
[20:09:27] <snarfer> That's a class in it's own
[20:09:38] <snarfer> And
[20:10:03] <snarfer> Well
[20:19:36] <snarfer> [2007-03-29T20:19:14+02:00] ERROR: Timer "coffee_callback" already exists.
[20:43:07] <snarfer> Just so you know
[20:43:22] <snarfer> The bot can't command itself
[20:43:26] <snarfer> For instance
[20:43:43] <snarfer> When you /msg it, and use the !say #channel !command
[20:43:53] <snarfer> The bot won't respond to the command
[21:15:18] snarfer has quit:
[21:34:01] snarfer has joined #noxbot
[21:40:00] snarfer has quit:
[22:25:13] <CyaNox> http://pastebin.ca/415707