dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.2.3
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
Dunke has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
djbkd has quit [Ping timeout: 240 seconds]
Azure has quit [Ping timeout: 245 seconds]
Azure has joined #cinch
djbkd has joined #cinch
djbkd has quit [Ping timeout: 244 seconds]
postmodern has joined #cinch
irsol has quit [Remote host closed the connection]
irsol has joined #cinch
irsol has quit [Ping timeout: 272 seconds]
irsol has joined #cinch
djbkd has joined #cinch
djbkd has quit [Ping timeout: 246 seconds]
blindsight has quit [Ping timeout: 244 seconds]
blindsight has joined #cinch
blindsight is now known as Guest27213
britneywright has joined #cinch
djbkd has joined #cinch
djbkd has quit [Ping timeout: 256 seconds]
postmodern has quit [Remote host closed the connection]
green-big-frog has joined #cinch
<green-big-frog> is something for letting the bot write tabs instead of linebreaks (done with \n)?
<catepillar> well, i don't think most IRC support a \t character
<catepillar> but you can always use 4 or 5 or 8 spaces instead of a \t
<catepillar> or use formatted strings
<green-big-frog> ok
<green-big-frog> ty
<Gizmokid2005> as tab is reserved for tab-completion I would say you're not going to find a client that supports tabs otherwise.
<green-big-frog> ok
<green-big-frog> how do I check a hostname before executing a plugin?
<green-big-frog> host=hostname (not sure what it is called)
<catepillar> you can check it at the start of the plugin
<catepillar> *not plugin, start of a handler
<green-big-frog> how?
<catepillar> you get a message object
<catepillar> msg.user.host
<catepillar> on snoonet
<catepillar> 11:05:20 @catepillar | >> User("catepillar").host
<catepillar> 11:05:20 %CLEMENTINE | user/catepillar
<catepillar> clementine is the bot
<green-big-frog> ok
<green-big-frog> ty
<green-big-frog> Somehow I'm to stupid to implemt it myself... Could you please edit it? http://hastebin.com/ukesagasut.rb
<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)
Dunke has joined #cinch
irsol has quit [Ping timeout: 276 seconds]
irsol has joined #cinch
<green-big-frog> i figuered out I have to include this: http://hastebin.com/ujuzidozos.rb
<green-big-frog> But this isn't working
<Liothen> because the hostname does not include anything to the left of the @
<Liothen> so $host = 'gateway/shell/elitebnc/x-sruwsekqkugjkova'
<Liothen> now you could probably do mask instead so you limit it to one user
<Liothen> msg.user.mask
<Liothen> i.e. nickname!username@hostname
<green-big-frog> Liothen: ty
djbkd has joined #cinch
<green-big-frog> my code I'm testing: http://hastebin.com/uqujohavix.rb
<green-big-frog> the log: http://hastebin.com/fisinoyixo.vbs
<green-big-frog> Liothen: could you please look at that? I know I have a stupid bug in it
<Liothen> looking at your source "#{msg.user.host}" should be "#{m.user.host}"
<Liothen> the message instance was passed with the variable m
<green-big-frog> THANK YOU!!! I'M SO STUPID/SICK
djbkd has quit [Remote host closed the connection]
green-big-frog is now known as frog|OFF
irsol has quit [Quit: leaving]
irsol has joined #cinch
djbkd has joined #cinch
sarkyniin has joined #cinch
windowsrefund has left #cinch ["WeeChat 1.0.1"]
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"]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
sarkyniin has quit [Remote host closed the connection]
<rikai> Hm... I wonder why this plugin has randomly stopped working...
postmodern has joined #cinch
djbkd has quit [Remote host closed the connection]
<Liothen> does it connect to a database?
djbkd has joined #cinch
djbkd has quit [Remote host closed the connection]
britneywright has joined #cinch
djbkd has joined #cinch
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
frdmn has joined #cinch
_djbkd has joined #cinch
djbkd has quit [Read error: Connection reset by peer]
_djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch