2015-01-10 08:57
dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.2.3
02:19
djbkd has quit [Remote host closed the connection]
02:31
djbkd has joined #cinch
04:09
djbkd has quit [Remote host closed the connection]
04:14
djbkd has joined #cinch
04:26
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:40
djbkd has quit [Remote host closed the connection]
05:10
djbkd has joined #cinch
05:15
djbkd has quit [Ping timeout: 240 seconds]
05:43
Azure has quit [Ping timeout: 245 seconds]
05:44
Azure has joined #cinch
08:13
djbkd has joined #cinch
08:17
djbkd has quit [Ping timeout: 244 seconds]
08:46
postmodern has joined #cinch
08:49
irsol has quit [Remote host closed the connection]
09:06
irsol has joined #cinch
09:12
irsol has quit [Ping timeout: 272 seconds]
09:13
irsol has joined #cinch
10:14
djbkd has joined #cinch
10:19
djbkd has quit [Ping timeout: 246 seconds]
11:26
blindsight has quit [Ping timeout: 244 seconds]
11:30
blindsight has joined #cinch
11:31
blindsight is now known as Guest27213
12:48
britneywright has joined #cinch
13:16
djbkd has joined #cinch
13:21
djbkd has quit [Ping timeout: 256 seconds]
13:33
postmodern has quit [Remote host closed the connection]
14:22
green-big-frog has joined #cinch
16:03
<
green-big-frog >
is something for letting the bot write tabs instead of linebreaks (done with \n)?
16:20
<
catepillar >
well, i don't think most IRC support a \t character
16:20
<
catepillar >
but you can always use 4 or 5 or 8 spaces instead of a \t
16:20
<
catepillar >
or use formatted strings
16:28
<
green-big-frog >
ok
16:28
<
green-big-frog >
ty
16:37
<
Gizmokid2005 >
as tab is reserved for tab-completion I would say you're not going to find a client that supports tabs otherwise.
16:37
<
green-big-frog >
ok
16:51
<
green-big-frog >
how do I check a hostname before executing a plugin?
16:52
<
green-big-frog >
host=hostname (not sure what it is called)
17:04
<
catepillar >
you can check it at the start of the plugin
17:04
<
catepillar >
*not plugin, start of a handler
17:04
<
green-big-frog >
how?
17:04
<
catepillar >
you get a message object
17:04
<
catepillar >
msg.user.host
17:05
<
catepillar >
on snoonet
17:06
<
catepillar >
11:05:20 @catepillar | >> User("catepillar").host
17:06
<
catepillar >
11:05:20 %CLEMENTINE | user/catepillar
17:06
<
catepillar >
clementine is the bot
17:06
<
green-big-frog >
ok
17:06
<
green-big-frog >
ty
17:09
<
green-big-frog >
I want it to block this action if the host of the transmitter isn't some host (f.e. Elite12225@gateway/shell/elitebnc/x-sruwsekqkugjkova)
17:15
Dunke has joined #cinch
17:16
irsol has quit [Ping timeout: 276 seconds]
17:20
irsol has joined #cinch
17:38
<
green-big-frog >
But this isn't working
18:03
<
Liothen >
because the hostname does not include anything to the left of the @
18:04
<
Liothen >
so $host = 'gateway/shell/elitebnc/x-sruwsekqkugjkova'
18:05
<
Liothen >
now you could probably do mask instead so you limit it to one user
18:05
<
Liothen >
msg.user.mask
18:06
<
Liothen >
i.e. nickname!username@hostname
18:15
<
green-big-frog >
Liothen: ty
18:17
djbkd has joined #cinch
18:22
<
green-big-frog >
Liothen: could you please look at that? I know I have a stupid bug in it
18:23
<
Liothen >
looking at your source "#{msg.user.host}" should be "#{m.user.host}"
18:23
<
Liothen >
the message instance was passed with the variable m
18:24
<
green-big-frog >
THANK YOU!!! I'M SO STUPID/SICK
18:36
djbkd has quit [Remote host closed the connection]
18:37
green-big-frog is now known as frog|OFF
18:49
irsol has quit [Quit: leaving]
18:50
irsol has joined #cinch
18:52
djbkd has joined #cinch
19:05
sarkyniin has joined #cinch
20:36
windowsrefund has left #cinch ["WeeChat 1.0.1"]
20:39
Dunke has left #cinch ["Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is"]
21:07
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:17
djbkd has quit [Remote host closed the connection]
21:38
djbkd has joined #cinch
21:49
sarkyniin has quit [Remote host closed the connection]
21:58
<
rikai >
Hm... I wonder why this plugin has randomly stopped working...
22:04
postmodern has joined #cinch
22:40
djbkd has quit [Remote host closed the connection]
22:43
<
Liothen >
does it connect to a database?
22:50
djbkd has joined #cinch
22:56
djbkd has quit [Remote host closed the connection]
23:04
britneywright has joined #cinch
23:05
djbkd has joined #cinch
23:11
djbkd has quit [Remote host closed the connection]
23:12
djbkd has joined #cinch
23:22
djbkd has quit [Remote host closed the connection]
23:22
djbkd has joined #cinch
23:27
frdmn has joined #cinch
23:33
_djbkd has joined #cinch
23:33
djbkd has quit [Read error: Connection reset by peer]
23:45
_djbkd has quit [Remote host closed the connection]
23:47
djbkd has joined #cinch